Solved

Color Problems in X

Posted on 1997-11-15
2
332 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 100 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

737 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