<div dir="ltr">Thanks Brian, Stephen, Bob,<div>By incorporating Brian's changes to the vncserver.service file:</div><div>[Unit]<br>Description=VNC server<br><br>[Service]<br>#Type=forking<br>User=viking<br>Group=viking<br>ExecStart=/opt/TurboVNC/bin/vncserver -fg<br>Environment=DISPLAY=:1<br>#Restart=on-failure<br><br>[Install]<br>WantedBy=multi-user.target<br></div><div><br></div><div><br></div><div>VNC does start. Unfortunately, I get what look like a Gnome3 display from thor:</div><div><img src="cid:ii_ln6d934w0" alt="image.png" width="537" height="419"><br></div><div><br></div><div>A look at the status:</div><div>root@thor:/etc/systemd/system# systemctl status vncserver<br>● vncserver.service - VNC server<br>     Loaded: loaded (/etc/systemd/system/vncserver.service; enabled; vendor preset: enabled)<br>     Active: active (running) since Sat 2023-09-30 12:20:18 MDT; 4s ago<br>   Main PID: 11243 (perl)<br>      Tasks: 351 (limit: 618829)<br>     Memory: 475.0M<br>        CPU: 9.998s<br>     CGroup: /system.slice/vncserver.service<br>             ├─11243 perl /opt/TurboVNC/bin/vncserver -fg<br>             ├─11251 /opt/TurboVNC/bin/Xvnc :1 -desktop "TurboVNC: thor:1 (viking)" -auth /home/viking/.Xauthority -geometry 1240x900 -depth 24 -rfbwait 120000 -rfbauth /home/viking/.vnc/passwd -x509cert /home/viking/.v><br>             ├─11255 sh -c "/opt/TurboVNC/bin/xstartup.turbovnc >> '/home/viking/.vnc/thor:1.log' 2>&1"<br>             ├─11256 /usr/libexec/gnome-session-binary --session=ubuntu<br>             ├─11260 /usr/bin/dbus-launch --sh-syntax --exit-with-session<br>             ├─11261 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session<br>             ├─11363 /usr/bin/ssh-agent /usr/bin/im-launch env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu<br>             ├─11381 /usr/libexec/at-spi-bus-launcher<br>             ├─11386 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/home/viking/.cache/at-spi/bus_1<br>             ├─11527 /usr/bin/gnome-keyring-daemon --start --components=ssh<br>             ├─11538 /usr/bin/gnome-shell<br>             ├─11611 /usr/libexec/gvfsd<br>             ├─11616 /usr/libexec/gvfsd-fuse /home/viking/.cache/gvfs -f<br>             ├─11634 /usr/libexec/xdg-permission-store<br>             ├─11638 /usr/libexec/gnome-shell-calendar-server<br>             ├─11646 /usr/libexec/evolution-source-registry<br>             ├─11654 /usr/libexec/goa-daemon<br>             ├─11658 /usr/libexec/evolution-calendar-factory<br>             ├─11667 /usr/libexec/goa-identity-service<br>             ├─11678 /usr/libexec/dconf-service<br>             ├─11686 /usr/libexec/evolution-addressbook-factory<br>             ├─11695 /usr/libexec/gvfs-udisks2-volume-monitor<br>             ├─11709 /usr/libexec/gvfs-afc-volume-monitor<br>             ├─11715 /usr/libexec/gvfs-mtp-volume-monitor<br>             ├─11720 /usr/libexec/gvfs-gphoto2-volume-monitor<br>             ├─11725 /usr/libexec/gvfs-goa-volume-monitor<br>             ├─11732 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.Shell.Notifications<br>             ├─11734 /usr/libexec/at-spi2-registryd --use-gnome-session<br>             ├─11757 ibus-daemon --panel disable --xim<br>             ├─11760 /usr/libexec/gsd-wacom<br>             ├─11761 /usr/libexec/gsd-media-keys<br>             ├─11764 /usr/libexec/gsd-rfkill<br>             ├─11771 /usr/libexec/ibus-memconf<br>             ├─11773 /usr/libexec/ibus-extension-gtk3<br>             ├─11777 /usr/libexec/ibus-x11 --kill-daemon<br>             ├─11779 /usr/libexec/ibus-portal<br>             ├─11791 /usr/libexec/gsd-a11y-settings<br>             ├─11794 /usr/libexec/gsd-xsettings<br>             ├─11796 /usr/libexec/gsd-power<br>             ├─11801 /usr/libexec/gsd-screensaver-proxy<br>             ├─11805 /usr/libexec/gsd-color<br>             ├─11808 /usr/libexec/gsd-print-notifications<br>             ├─11811 /usr/libexec/gsd-sharing<br>             ├─11813 /usr/libexec/gsd-datetime<br>             ├─11823 /usr/libexec/gsd-smartcard<br>             ├─11826 /usr/libexec/gsd-housekeeping<br>             ├─11829 /usr/libexec/gsd-sound<br>             ├─11833 /usr/libexec/gsd-usb-protection<br>             ├─11838 /usr/libexec/gsd-keyboard<br>             ├─11841 /usr/libexec/gsd-wwan<br>             ├─11889 /usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver<br>             ├─11911 /usr/bin/python3 /usr/bin/blueman-applet<br>             ├─11913 /usr/libexec/tracker-miner-fs-3<br>             ├─11919 /usr/libexec/evolution-data-server/evolution-alarm-notify<br>             ├─11921 /usr/libexec/gsd-disk-utility-notify<br>             ├─11927 /usr/lib/x86_64-linux-gnu/indicator-messages/indicator-messages-service<br>             ├─11934 /usr/bin/gnome-software --gapplication-service<br>             ├─11955 /usr/libexec/gsd-printer<br>             ├─11959 /usr/libexec/ibus-engine-simple<br>             ├─12030 /usr/libexec/tracker-extract-3 ""<br>             └─12042 /usr/lib/bluetooth/obexd<br><br>Sep 30 12:20:21 thor gnome-software[11934]: not handling error no-security for action refresh: Failed to obtain authentication.<br>Sep 30 12:20:21 thor blueman.desktop[11911]: blueman-applet 12.20.21 WARNING  PluginManager:147 __load_plugin: Not loading PPPSupport because its conflict has higher priority<br>Sep 30 12:20:21 thor dbus-daemon[11261]: [session uid=1000 pid=11259] Activating service name='org.bluez.obex' requested by ':1.74' (uid=1000 pid=11911 comm="/usr/bin/python3 /usr/bin/blueman-applet " label="unconfined")<br>Sep 30 12:20:21 thor obexd[12042]: OBEX daemon 5.64<br>Sep 30 12:20:21 thor dbus-daemon[11261]: [session uid=1000 pid=11259] Successfully activated service 'org.bluez.obex'<br>Sep 30 12:20:21 thor dbus-daemon[11261]: [session uid=1000 pid=11259] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'<br>Sep 30 12:20:21 thor gnome-software[11934]: Only 0 apps for recent list, hiding<br>Sep 30 12:20:21 thor gnome-shell[11538]: GNOME Shell started at Sat Sep 30 2023 12:20:20 GMT-0600 (MDT)<br>Sep 30 12:20:21 thor gnome-shell[11538]: Registering session with GDM<br>Sep 30 12:20:21 thor gnome-shell[11538]: Error registering session with GDM: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.DisplayManager was not provided by any .service files<br></div><div>#################################################################</div><div><br></div><div>It looks like a few warnings but if I start the vnc server from a terminal window on thor:</div><div>viking@thor:~$ vncserver<br><br>Desktop 'TurboVNC: thor:1 (viking)' started on display thor:1<br><br>Starting applications specified in /opt/TurboVNC/bin/xstartup.turbovnc<br>Log file is /home/viking/.vnc/thor:1.log<br></div><div><br></div><div>and I open up the vnc window on a remote machine I get:</div><div>viking@Sibyl:~$ vncviewer thor:1<br></div><div><img src="cid:ii_ln6dge031" alt="image.png" width="537" height="408"><br></div><div>Which is an xfce desktop which is the one I want.</div><div>Thanks,</div><div>Phil</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 29, 2023 at 9:35 AM Brian <<a href="mailto:brian@nclug.ml.lazyturtle.org">brian@nclug.ml.lazyturtle.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-7763312449859874462"><u></u><div><div>Try making vncserver start in the foreground so that systemd can keep track of it:<br></div><div><br></div><div>- ExecStart=/opt/TurboVNC/bin/vncserver</div><div>+ ExecStart=/opt/TurboVNC/bin/vncserver -fg<br></div><div><br></div><div>I haven't tried it, but I think it's in the right direction.</div><div><br></div><div>Brian<br></div></div></div></blockquote></div>