steps to do:
- sudo apt install xfce4 xfce4-goodies
- sudo apt install tightvncserver
- under the user environment start the vnc server: vncserver
---- after starting vncserver kill it: vncserver -kill :1
- now change the xstartup file:
---- cd ~./vnc
---- cp -p xstartup xstartup.save
---- create a new xstartup file with the following content:

#!/bin/sh
# Start up the standard system desktop
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/usr/bin/startxfce4
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
x-window-manager &

>> now start the vnc server again

*done*

---

see also:
https://www.howtoforge.de/anleitung/so-installierst-du-vnc-server-ubuntu-2204/

computer2know :: thank you for your visit :: have a nice day :: © 2024