?
Solved

Color Problems in X

Posted on 1997-11-15
2
Medium Priority
?
338 Views
Last Modified: 2008-03-17
When I first installed X-Windows my colors worked fine. After I installed a window manager called AfterStep my colors started acting weird. Many of my programs are in black & white. And I get the following errors from xterm when I run X programs from it.

XView warning: Unable to allocate control colors for colormap segment (Color package)

Any ideaz?

Buddha
0
Comment
Question by:buddha50
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
Belar earned 400 total points
ID: 1634042
This is caused by X running in 8 bits (256) color mode. A fast fix is to try to start X in 16 bits (65536) or 24 bits(lots) to do so you type:

startx -- -bpp 16

To fix in a more permanent way you'll have to edit the /etc/XF86Config in the screen section and add DefaultColorDepth 16 or 24


Section "Screen"
    Driver      "accel"
    Device      "WhateverCardYouHave"
    Monitor     "WhateverYourMonitorIsCalled"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Hope this help!

0
 
LVL 1

Expert Comment

by:Belar
ID: 1634043
I forgot to mention why you had black and white. It is because X wasn't able to assign more colors.
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question