I have installed vnc server via the following command, following from this online guide
sudo apt-get install xfce4 xfce4-goodies tightvncserver
It seems that vnc server installation expects the file ~/.Xresources, which does not exist on my Ubuntu 16.04. The vnc log file says (observe the last log line):
> 17/08/17 21:24:15 Xvnc version TightVNC-1.3.10 17/08/17 21:24:15
> Copyright (C) 2000-2009 TightVNC Group 17/08/17 21:24:15 Copyright (C)
> 1999 AT&T Laboratories Cambridge 17/08/17 21:24:15 All Rights
> Reserved. 17/08/17 21:24:15 See http://www.tightvnc.com/ for
> information on TightVNC 17/08/17 21:24:15 Desktop name 'X' (matan:1)
> 17/08/17 21:24:15 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t,
> 3.8t 17/08/17 21:24:15 Listening for VNC connections on TCP port 5901 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/user/.Xresources'
The installation does leave a vnc process running (Xtightvnc), but I am unable to connect from a remote client. Is the above a real error/problem? or should I interpret that my vnc server is installed and running correctly?
My vnc clients (a local RealVNC client, and an iPad VNC app) fail to connect so I am unsettled on what my actual status is. They complain about authentication, but may probably fail for other reasons, I'd not trust their error messaging too much, given the vnc server log under .vnc
doesn't show any signs of connection attempts!
Perhaps you'd also recommend a good procedure for confirming the server is properly working, for 16.04? maybe a vnc client that should work against the above vnc server out of the box?
People have suggested plainly using vino instead. Here is my vino configuration, and I've fiddled different ones too; my VNC clients over the same LAN fail to connect, and I'm unsure how to determine if vino is really operable on my Ubuntu desktop. Going down the path of enabling vino logging seems way too hacky to my taste.
vino
(orx11vnc
); if you're trying to run a separate remote X session, usextightvnc
. AFAIK the message about.Xresources
is just informational. – steeldriver Aug 17 '17 at 18:59