Ubuntu – Couldn’t start Xtightvnc trying default font path – VNCServer

tightvncservervncxfce

I installed VNC, using

sudo apt-get install xfce4 xfce4-goodies tightvncserver

But I can't start it, when I enter

vncserver

I'm getting error message as

Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.

15/07/15 18:59:34 Xvnc version TightVNC-1.3.9
15/07/15 18:59:34 Copyright (C) 2000-2007 TightVNC Group
15/07/15 18:59:34 Copyright (C) 1999 AT&T Laboratories Cambridge
15/07/15 18:59:34 All Rights Reserved.
15/07/15 18:59:34 See http://www.tightvnc.com/ for information on TightVNC
15/07/15 18:59:34 Desktop name 'X' (vultr.guest:1)
15/07/15 18:59:34 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
15/07/15 18:59:34 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/misc/' not found - ignoring
Font directory '/usr/share/fonts/X11/Type1/' not found - ignoring
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'

I have solved one issue by adding hostname in hosts file. But still having other errors, please help.

Best Answer

Atlast after tried many solutions and fixes I fixed this issue. I almost give up, but fixed now.

Problem 1: Couldn't start Xtightvnc process.

Solution: check your hostname, and /etc/hosts make sure both are same. To edit those files, use the commands.

nano /etc/hostname
nano /etc/hosts
hostname

Problem 2:

Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.

Solution: The x11 fonts are missing, I don't know why the dependency packages are not installed. Try to find folder

ls /usr/share/fonts/X11/

if it is not found, then try to install xfonts base

apt-get install  xfonts-base
Related Question