3
rated 0 times
[
3]
[
0]
/ answers: 1 / hits: 75354
/ 2 Years ago, wed, december 15, 2021, 2:44:59
I have 12.04 LTS installed and I am trying to get VNC to work. I want to be able to connect to existing sessions, and have it start on boot. I followed this guide and have left a comment to try and fix my problems but no dice. I have also tried all solutions I have found on google, including the one here, but I could not get it to work (I am missing something easy I am sure).
When I connect to the VNC session I get a grey screen with three checkboxes:
- Accept clipboard from viewers
- Send clipboard to viewers
- Send primary selection to viewers
Here is my xstartup:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
gnome-session -session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
I have also edited my to include:
/usr/bin/vncserver -geometry 1024x768
It does not start on boot, but when I run the command it starts, but I get the grey screen.
More From » boot