I try to run vncserver on Raspberry Pi but this error is shown:
Couldn’t start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn’t start Xtightvnc process.
Can anyone help me?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityI try to run vncserver on Raspberry Pi but this error is shown:
Couldn’t start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn’t start Xtightvnc process.
Can anyone help me?
I just had a similar error when trying to install the tightvncserver. The comment here about the host name helped to fix my problem.
I had changed the default pi host name in raspi-config, but it would appear that the standard install for tightvncserver sticks with the default hostname of "pi". I changed my pi hostname back to pi in the raspi-config tool and the vncserver now works without the above reported errors.
This is the error I had.
~ $ tightvncserver
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the tightvncserver script.
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
Couldn't start Xtightvnc process.
Hope this helps.
Couldn’t start Xtightvnc process.
nano /etc/hostname
nano /etc/hosts
hostname
Please set correct fontPath in the vncserver script
ls /usr/share/fonts/X11/
If you can't find them there either then simply install xfonts-base
apt-get install xfonts-base