vncserver looks in the wrong place for rgb.txt

Bug #64877 reported by Martin Morrison on 2006-10-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vnc (Ubuntu)
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.

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
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.

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) on 2007-01-16
Changed in vnc:
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers