LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-16-2002, 05:17 PM   #1
glip
LQ Newbie
 
Registered: Sep 2002
Distribution: Red Hat
Posts: 7

Rep: Reputation: 0
problem with X Windows


I'm running a RedHat 7.2/Windows XP dual-boot on a Compaq Presario laptop. When I connect my laptop to my wife's cable modem (SB4100) and boot into Linux (using DHCP for network configuration), X Windows doesn't start up automatically, as it normally does when I connect my laptop to my cable modem at home (same model, but mine uses ethernet cable, while her uses USB). Instead, I get the command prompt with some weird number instead of 'localhost'. If I then log in as root, I can run 'startx', but I get this warning:

"Could not look up internet address for C1764965-A. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding C1764965-A to the file /etc/hosts."

Could anyone shed some light on this problem for me? Thanks in advance.
 
Old 10-16-2002, 08:37 PM   #2
Saeven
LQ Newbie
 
Registered: Nov 2001
Location: Canada
Distribution: Slackware 8.1
Posts: 26

Rep: Reputation: 15
Hrm.

I don't know if I interpreted your questions correctly. Let me offer what I think might help and maybe it will.

I use slackware, so please forgive any differences in advance.

The wierd number in the prompt.

If you run 'netconfig' it will set your prompt to reflect the domain you enter in the first screen. This wierd number might be something that was entered at that point?

Netconfig allows you to configure dhcp for your adapters. It will modify any config files subsequently.

etc/hosts generally contains known hosts, you can man hosts if you have the patience to read man pages.

this is what my hosts looks like:

127.0.0.1 localhost
127.0.0.1 saevenstar

this means that I can resolve the loopback address by typing either localhost or saevenstar.

It's good general practice to alias your ethernet cards, netconfig will add the /sbin/modprobe/<insert card driver name here> in your /etc/rc.d/rc.netdevice files for you. After that's done, you can alias it in your /etc/modules.conf by adding

alias eth0 <card driver name>

You need to manually do that in the slack version I'm sporting, again - no experience with RH on my end.

If you want it to boot to gui automatically, set your runlevel to 4 in your /etc/inittab

id:4:initdefault

you can man inittab too, it has a man page.

Hope this helps.

By no means a guru,
S.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
x windows problem nived Linux - Software 5 04-11-2005 06:10 AM
Switching window focus (like alt+tab in windows) and Ctrl+Alt+F1 X windows problem... DiZASTiX Linux - Software 3 01-20-2005 04:56 PM
Problem with X Windows grub Linux - Hardware 9 04-03-2003 10:51 PM
Problem With X Windows Mag|c *BSD 2 03-31-2003 09:26 AM
X windows problem res404 Linux - General 6 02-15-2003 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration