vncserver looks in the wrong place for rgb.txt

Bug #64877 reported by Martin Morrison
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vnc (Ubuntu)
Confirmed
High
Unassigned
Nominated for Dapper by Andrew Pollock

Bug Description

Binary package hint: vncserver

I recently installed Ubuntu 6.06 LTS Server. I then installed many packages including ubuntu-desktop (and hence related Xorg server) and vncserver.

The vncserver process attempts to open /usr/X11R6/lib/X11/rgb.txt. However, the only installed version of that file on my system is at /usr/lib/X11/rgb.txt.

(this prevents several apps from working, including making xterm unusable with any colour-related config)

The VNC server should be packaged to look in the right place.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

There is a duplicate /etc/X11/rgb.txt and /usr/lib/X11/rgb.txt. But specifying one of these in .vncrc does not help:
Couldn't open RGB_DB '/etc/X11/rgb.txt'
Seems like the format is wrong.

Maybe /etc/vnc.conf should set $XFConfigPath = "/etc/X11/xorg.conf" as well?

ps. I only get the b/w-patterned X11 background and no clients started in the vnc server.

Changed in vnc:
status: Unconfirmed → Confirmed
Revision history for this message
Martin Morrison (isoschiz) wrote :

I should have specified when I first opened the bug that to fix it I simply copied /usr/lib/X11/rgb.txt to /usr/X11R6/lib/X11/rgb.txt. (Actually, I symlinked it)

So the file there is in the correct format for Xvnc.

I didn't try any .vncrc tricks to get it working.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

By "duplicate" I really meant they are identical. And from the error message it seems it try to open it without luck. I don't understand how it could work for you :)

I think a lot of these problems have been fixed in newer debian packages. They should be backported to dapper. Anyway, I resolved most of my troubles by installing vnc4server instead of vncserver.

Simon Law (sfllaw)
Changed in vnc:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.