Solved

xterm: Text not visible!

Posted on 2000-03-08
5
644 Views
Last Modified: 2013-12-15
I have installed Red Hat Linux 6.1 on my PC at work and my PC at home.

At work the text in Gnome Terminal is invisible: I just see a grey background  with the current position of the cursor a black rectangle and the command prompt and any text I type invisible.  

When running xterm I see a white background and the command prompt and cursor position one long black rectangle.

At home everything is normal.

If in order to answer this question, you need any particulars on my hardware, I'll be happy to supply them.
0
Comment
Question by:arieverburgh
[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
5 Comments
 
LVL 3

Expert Comment

by:freesource
ID: 2599573
This sounds like a problem related to the way the Xresources are set-up for the two applications.

For xterm you could edit $HOME/.Xresources ($HOME =' ~/) and add a line to change the text color.

Like this:

XTerm*foreground: gold

Run this from the command line after you make the changes, and then run a new xterm:

xrdb -merge $HOME/.Xresources

You can find all the resources in "man xterm" and the same for the gnome terminal.  Maybe your display doesn't support all colors, in that case, just find one which works.

Tell me how it goes.
0
 
LVL 3

Expert Comment

by:freesource
ID: 2599584
And, yes, if this is a situation where you are not properly displaying certain colors, you might as well tell me which video card you are using, which X server, and the depth you are running at.
0
 
LVL 2

Expert Comment

by:Reinier
ID: 2600147
Are you by any chance using a graphics card with the SiS 6326 chipset, like the diamond speedstars? Go read the http://www.xfree86.org/XFree86/FAQ about them.
0
 
LVL 1

Accepted Solution

by:
raks04 earned 100 total points
ID: 2611462
your prob is with the graphics card.
so pal visit the SUSE linux website for the required drivers.But lets just say you dont have the patience for all this then your best option would be to run X-windows like this:
startx -- -bpp 24
this starts X at 24 bit depth and you will be able to see the characters in the xterm
0
 

Author Comment

by:arieverburgh
ID: 2619752
Yes, I have a SiS 6326 chipset in my graphics card, and have the required driver suggested on the SUSE website.

Both Reinier and raks04 provided good answers (although I haven't tested raks04's advice, as I have the required driver).  I visited the website suggested by Reinier and followed the FAQ's suggestion to add option "nolinear" to my xf86config file, and ,voila, it worked.  Amazing!
0

Featured Post

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

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,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

630 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