ubuntu18 install vnc server and start xfce
核心两块: xfc4 and vnc4server
code talk
1
| sudo apt install xfce4* vnc4server
|
setup xstart
1 2 3 4 5 6 7 8
| $ cat ~/.vnc/xstartup #!/bin/sh
xrdb $HOME/.Xresources unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS startxfce4 &
|
add run exex to xstartup
1
| chmod +x ~/.vcn/xstartup
|
Start vcn4server
Error on Ubuntu20.04
No windows title, xfwm bugs on
1 2 3 4
| ubuntu20.04 error, https://askubuntu.com/questions/1242168/ubuntu-20-04-vnc-no-window-decorations-to-allow-resize-of-apps https://launchpad.net/ubuntu/groovy/amd64/xfwm4/4.14.5-1 http://launchpadlibrarian.net/494460182/xfwm4_4.14.5-1_amd64.deb
|
Enjoy it