- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VNC, X "invalid color name" problem on hpux 11.31
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 10:42 AM
тАО10-14-2009 10:42 AM
I have just installed VNC 4.1.2 on Itanium Blade w hpux 11.31 and am having color problems.
Under VNC with twm, all the windows title bars are black, rather than the nice red that I'm used to.
The programs run, it's just the borders. E.g., swinstall comes up with its own window background in blue, as usual, but the twm window title bar is black.
When I set a twm startup file to specify colors,
e.g.,
Color
{
MenuBackground "gray50"
MenuForeground "white"
BorderColor "red" { "XTerm" "yellow" }
TitleForeground "green"
TitleBackground "blue"
}
it gets errors:
... twm: invalid color name "black"
... twm: invalid color name "white"
... twm: invalid color name "gray50"
... twm: invalid color name "white"
... twm: invalid color name "red"
... twm: invalid color name "green"
... twm: invalid color name "blue"
... twm: invalid color name "yellow"
... twm: invalid color name "yellow"
... twm: invalid color name "yellow"
In fact, all X programs that I've tried get error,
e.g.
charley ## xterm -bd black &
... Warning: Color name "black" is not defined
or
charley ## xclock -hands yellow
... Warning: Color name "yellow" is not defined
So, it seems to be an X thing, rather than just twm.
The color file exists:
charley ## ll /etc/X11/rgb.txt
-r--r--r-- 1 bin bin 21578 Mar 11 1996 /etc/X11/rgb.txt
and has the right definitions.
I'm obviously not an X expert ;>), so any ideas are welcome.
bv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-14-2009 06:05 PM
тАО10-14-2009 06:05 PM
SolutionWell, lets see if you've got the default colordatabase to begin with:
/usr/lib/X11/rgb.txt
Does it look like this?
RED GREEN BLUE
aquamarine 112 219 147
black
blue
blue violet
brown
cadet blue
corol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 02:42 AM
тАО10-15-2009 02:42 AM
Re: VNC, X "invalid color name" problem on hpux 11.31
Apparently, normally,
"/usr/lib/X11/rgb.txt"
should be a smlink to
"/etc/X11/rgb.txt"
.
Even though the actual file
"/etc/X11/rgb.txt"
exists on the 11.31 sysem, the symlinks in /usr/lib/X11/ were not there.
On a working 11.23 system, I had earlier done a find for rgb.txt on /usr. But had I only looked for "-type f" and did not include symlinks, so I did not notice that
"/usr/lib/X11/rgb.txt" should exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 02:58 AM
тАО10-15-2009 02:58 AM
Re: VNC, X "invalid color name" problem on hpux 11.31
So I fixed the problem with:
(for F in rgb.dir rgb.pag rgb.txt
do ln -s /etc/X11/$F /usr/lib/X11/$F
done
)
This brings up another issue.
NONE of the symlinks, like X0devices, exist in /usr/lib/X11, except
... config -> /usr/contrib/imake/config
.
It's as if the X system is not initialized or something.
By whom and when are these symlinks set up?
Do you know how to "repair" or initialize it.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2009 07:49 AM
тАО10-15-2009 07:49 AM
Re: VNC, X "invalid color name" problem on hpux 11.31
You should report this to HP as a bug to fix