I am running Ubuntu 18.04 and just installed a VNCserver on Gnome.
To do it, as it was the first time I tried it, I read an online guide.
The result is I have the VNC server installed and I can connect to it, but when I do it from my Android tablet it only appears a grey screen.
This is the content of my config file:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/XsessionAnd this are the errors of the Xtightvnc log:
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring
xrdb: No such file or directory
xrdb: can't open file '/home/ubuntu/.Xresources'I achieved to fix the problems with the fonts, I only have to struggle with the xrdb, and I have no idea on how to fix it.
And just to clarify, when I installed the packets I install all of this, and maybe more:
$ sudo apt-get install \ gnome-panel \ gnome-settings-daemon \ metacity nautilus \ gnome-terminal \ x11-xserver-utilsThanks in advance
11 Answer
It can happen if there is no monitor on a server. Make sure that your monitor is plugged in.
If not try these:
- ssh/putty into monitorless server
- enter "vnc4server :1"
- enter "export DISPLAY=:1"
- enter "x-session-manager &"
- exit terminal session and you should now be able to vnc into the server with "vncviewer server_name :1"
p.s. taken from ubuntu forums. ()
3