Ubuntu Server 24.04.1 with added desktop - cannot get VNC working....
Sam Varshavchik
mrsam at courier-mta.com
Sat Feb 1 03:30:59 UTC 2025
Bo Berglund writes:
> [ snippety ]
I do not systemd to run vnc server on Ubuntu 24.04. I start tigervnc's
vncserver by sshing in after each reboot and running "vncserver". It's
boring, but it works. I use XFCE desktop.
Here's my ~/.vnc/xstartup:
#!/bin/bash
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
export XAUTHORITY="$HOME/.vnc/.Xauthority";
xhost +local:
xset b off
cd $HOME
startxfce4
That's it. Can't get any more simpler than that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20250131/ce6da5f9/attachment.sig>
More information about the ubuntu-users
mailing list