problem with vnc
i'm trying to get vnc working on my pc. i got everything installed just fine, but when i try to execute vncserver i get this error:
Code:
jnev@jnevubuntu:~$ vncserver any help would rock. thanks |
i *think* this is down to you running the xorg-x11 server with vnc there expecting to find fonts in the older xfree86 server location. i'm afraid i don't know of a "nice" way to get around this, other than using a possibly newer version, but essentially if you open up the vncserver script, and search for "font" you'll find a line that lists the font path. newer fonts are now placed in /usr/share/fonts i believe, so you can place that path there. you may also be able to speficy the -fp option on the vncserver command line, but i've not looked through the vncserver script enough to know if that option would get passed through or not.
|
Hi
Just a minor correction to the last post: The fonts path used by Xorg is /usr/share/X11/fonts You could also get around this problem by creating a symlink from /usr/X11R6/lib/X11/fonts to /usr/share/X11/fonts Ian |
I remember seeing the solution to this in the FAQ.
The 'fixed' font is needed for the server to start - if it can't find it, you need to specify the correct font path for your machine in the 'vncserver' script. If you're not sure what the path should be, type 'xset q' from within a normal X session. One of the things reported is the font path used by your current X server, which is generally the right thing to use for Xvnc. On some platforms you may need to use a colon as a separator in the font path instead of a comma. The VNC server can also get upset if you have directories on your font path which don't actually exist on your system. Make sure you remove those. Also note that older versions of the Xvnc server, by default, act as if they had a resolution of 100dpi. Some RedHat installations, for example, only install 75dpi fonts, so you may need to install the missing font RPMs from your distribution or use the -dpi option to Xvnc, or update to the latest version. |
All times are GMT -5. The time now is 05:21 AM. |