Hi Bob question on getting TurboVNC running

Aaron D. Johnson adj at fnord.greeley.co.us
Wed Feb 19 17:17:13 UTC 2025


Phil Marsh writes:

> Indeed /usr/share/xsessions/xubuntu.desktop does exist but
> /usr/share/xsessions/gnome.desktop
> /usr/share/xsessions/ubuntu.desktop
> do NOT exist
> I'm wondering why vncserver is trying to use the nonexistent desktops to
> start when in SSH or Telnet terminals?

What does the documentation say?  And what is different in the process
environment when connected by a remote terminal compared to your
(logged in locally?) session where it does work as you expect?

I might be a little off base here, but am reasonably sure you said you
are getting different results on two different servers.  If that is
the case, for the server where it does work as expected, try running

    dpkg -S /usr/share/xsessions/*desktop

This will list out installed packages that contain files in that
directory.  (Pretty sure you did say you're running Ubuntu.  dpkg is
the package manager there.  But they also have snaps.  And probably
other things that install files, too.)

On the machine where it does not work as expected, are the packages
listed installed at all?

Is there a TurboVNC option to specify what session you want it to
launch?

- Aaron


More information about the NCLUG mailing list