Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128871 - vncserver from tightvnc doesn't work with modular x
Summary: vncserver from tightvnc doesn't work with modular x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Disenchanted (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-05 01:02 UTC by Maxxer
Modified: 2006-07-08 11:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make vncserver work (vnc-modular-xorg.patch,824 bytes, patch)
2006-04-05 01:04 UTC, Maxxer
Details | Diff
Definitive patch (vnc-modular-xorg.patch,595 bytes, patch)
2006-04-09 10:07 UTC, Maxxer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxxer 2006-04-05 01:02:34 UTC
Running vncserver from net-misc/tightvnc-1.3_alpha7 using x11-base/xorg-x11-7.0-r1 outputs the following error:

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

Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
05/04/06 10:00:15 Xvnc version TightVNC-1.3dev7
05/04/06 10:00:15 Copyright (C) 2000-2003 Constantin Kaplinsky
05/04/06 10:00:15 Copyright (C) 1999 AT&T Laboratories Cambridge
05/04/06 10:00:15 All Rights Reserved.
05/04/06 10:00:15 See http://www.tightvnc.com/ for information on TightVNC
05/04/06 10:00:15 Desktop name 'X' (ginger:2)
05/04/06 10:00:15 Protocol versions supported: 3.7t, 3.7, 3.3
05/04/06 10:00:15 Listening for VNC connections on TCP port 5902
05/04/06 10:00:15 Listening for HTTP connections on TCP port 5802
05/04/06 10:00:15   URL http://ginger:5802
Font directory '/usr/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/lib/X11/fonts/75dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
05/04/06 10:00:16 Xvnc version TightVNC-1.3dev7
05/04/06 10:00:16 Copyright (C) 2000-2003 Constantin Kaplinsky
05/04/06 10:00:16 Copyright (C) 1999 AT&T Laboratories Cambridge
05/04/06 10:00:16 All Rights Reserved.
05/04/06 10:00:16 See http://www.tightvnc.com/ for information on TightVNC
05/04/06 10:00:16 Desktop name 'X' (ginger:2)
05/04/06 10:00:16 Protocol versions supported: 3.7t, 3.7, 3.3
05/04/06 10:00:16 Listening for VNC connections on TCP port 5902
05/04/06 10:00:16 Listening for HTTP connections on TCP port 5802
05/04/06 10:00:16   URL http://ginger:5802
Font directory '/usr/X11R6/lib/X11/fonts/misc/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Speedo/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/Type1/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/75dpi/' not found - ignoring
Font directory '/usr/X11R6/lib/X11/fonts/100dpi/' not found - ignoring

Fatal server error:
could not open default font 'fixed'
Comment 1 Maxxer 2006-04-05 01:04:17 UTC
Created attachment 83948 [details, diff]
Patch to make vncserver work

The attached patch makes vncserver work.

I'd bet it's not the best way to solve this...
Comment 2 Disenchanted (RETIRED) gentoo-dev 2006-04-08 16:52:09 UTC
i'll apply it, can you rediff it w/o the commented lines, that would be swell

thanks maxxer
Comment 3 Maxxer 2006-04-09 10:07:10 UTC
Created attachment 84298 [details, diff]
Definitive patch

here it is!
patch without commented lines
Comment 4 Disenchanted (RETIRED) gentoo-dev 2006-04-23 18:46:25 UTC
thanks, this patch is applied now
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-05 09:48:47 UTC
*** Bug 132358 has been marked as a duplicate of this bug. ***
Comment 6 Chris Mayo 2006-05-05 10:26:46 UTC
N.B.132358 lists an additional fix for /usr/bin/vncserver for the Colours database:

$colorPath = "/usr/share/X11/rgb";