Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TightVNC stoped working
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
slyyls
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2004
Posts: 89
Location: Ottawa

PostPosted: Tue Aug 01, 2006 11:24 pm    Post subject: TightVNC stoped working Reply with quote

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
View user's profile Send private message
slyyls
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2004
Posts: 89
Location: Ottawa

PostPosted: Wed Aug 02, 2006 1:44 am    Post subject: Reply with quote

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
View user's profile Send private message
emw
n00b
n00b


Joined: 07 Aug 2006
Posts: 1

PostPosted: Mon Aug 07, 2006 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum