Ubuntu 18.04 VNC doesnt work - grey box screen
Glish is nice and all.. but it's also not.
I've run the guides to use VNCserver and viewer.. older distro's no problem, 12 was brilliant, but I'm the midst of joining the modern world.. when I try it on 18.04 I just log into a grey box.
I tried some tricks with lxde and file editing, and it only worked once, then it was black screen.. purged all that.
(I wound up running two separate desktops.. ubuntu for glish, and whatever lxde was for vnc.. 18 is ram hungry enough.)
Is there a way I can remote log into glish consoles ubuntu itself, or some way to get VNC to actually accept the gnome desktop? Performance and resolution with Glish is less then par for me, when third party can do so much better.
I'm giving up on this one 'less I can get some help.
Thanks folks.
(I miss the old forums.. way more active lol)
https://askubuntu.com/questions/475023/how-to-make-vnc-server-work-with-ubuntu-desktop-without-xfce
Finally found this after hours, and it .. SORTA works, but you get no actual desk top background to interact with for those handy dandy drang 'n drops.. it's just windows with no desktop…
1 Reply
It looks like the ~/.vnc/xstartup
file listed in the AskUbuntu link has a slightly different setup than the one we recommend:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -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 &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
I'd recommend checking your configurations against our VNC guide here, as well as making sure your dependencies are running appropriately.