View previous topic :: View next topic |
Author |
Message |
slyyls Tux's lil' helper
Joined: 27 Aug 2004 Posts: 89 Location: Ottawa
|
Posted: Tue Aug 01, 2006 11:24 pm Post subject: TightVNC stoped working |
|
|
hello everyone,
I have been searching this problem for a while and cannot find a solution. When i run vncviewer -listen, i get the following error
Code: | vncviewer -listen: Listening on port 5500 (flash port 5400)
vncviewer -listen: Command line errors are not reported until a connection comes in.
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 8
Current serial number in output stream: 8
|
I have found many threads describing various fix such as emerging 2 other sets of fonts
emerge -av font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi
but that seems related only to Xnview, my problem is with tightvnc.
Does anyone have any idea how to debug this, it seems to be a font problem, but how do i prove it, and fix it.
Thanks,
slyyls |
|
Back to top |
|
|
slyyls Tux's lil' helper
Joined: 27 Aug 2004 Posts: 89 Location: Ottawa
|
Posted: Wed Aug 02, 2006 1:44 am Post subject: |
|
|
I fixed my problem.
My xorg.conf file for my desktop had a font section that was much bigger, and ended with "/*" instead of "/". I copied the entire font section and appended it after the font section in my laptop's xorg.conf. Tightvnc works now.
Maybe this can help someone else in the future.
sly |
|
Back to top |
|
|
emw n00b
Joined: 07 Aug 2006 Posts: 1
|
Posted: Mon Aug 07, 2006 3:05 pm Post subject: |
|
|
I had a similar problem. I my case the file /usr/share/fonts/TTF/fonts.scale was not up to date. The result was that X tried to find font files that were not there anymore. After running ttmkfdir in /usr/share/fonts/TTF and reloading the fontpath with
xset -fp /usr/share/fonts/TTF/
xset +fp /usr/share/fonts/TTF/
vncviewer works again.
Hope this can help anyone else with the same problem. To me this appeared after uppgrading to xorg 7.0. I have a feeling that some of the default fonts were moved from TT to Type1.
The fact that tightvnc didn't report which font it had difficulties with, made the whole debugging procedure much more difficult. |
|
Back to top |
|
|
|