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)

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:


# Uncomment the following two lines for normal desktop:
# 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.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct