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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-19-2002, 11:55 PM
|
#1
|
Member
Registered: May 2002
Location: Providence, RI
Distribution: Ubuntu
Posts: 78
Rep:
|
can't enter X automaticly when start linux?!
 I have used rh7.3 for a long time without any problem, but somehow when I start my linux box today, it doesn't enter X window automaticly, then I checked inittab in /etc, my default run level is still 5, what is going wrong in my linux box? thanx
|
|
|
08-20-2002, 12:13 AM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
does it work with startx?
what's the last line in /etc/inittab look like
look for errors in /var/log/messages
and in /var/log/XFree86.0.log
|
|
|
08-20-2002, 12:37 AM
|
#3
|
Member
Registered: May 2002
Location: Providence, RI
Distribution: Ubuntu
Posts: 78
Original Poster
Rep:
|
yea,it works properly with startx.
the last line in /etc/inittab is "x:5:respawn:/etc/X11/prefdm -nodaemon"
in /var/log/messages I found a line said something like this "fail to try to start display server several times in a short time;disable display:0"what does this mean?
/var/log/XFree86.0.log is a little bit comlicated, I don't know what to look for, can u tell me?
Thank you very much.
|
|
|
08-20-2002, 06:45 AM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
normally there will be a line or so starting with (EE)
and that line will tell you the problem.
like this
(EE) Screen(s) found, but none have a usable configuration.
and toward the bottom an explination
Fatal server error:
no screens found
|
|
|
08-20-2002, 09:12 AM
|
#5
|
Member
Registered: May 2002
Location: Providence, RI
Distribution: Ubuntu
Posts: 78
Original Poster
Rep:
|
but there's no such line in my log file,no (EE) inside.and it seems to work properly with startx,the main problem is it just doesn't start automaticly when I start linux.
|
|
|
08-20-2002, 03:15 PM
|
#6
|
Member
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120
Rep:
|
Well, a quick and dirty way to do it would be to add a login manager (kdm for kde,gdm for gnome) to your /etc/rc.local file (at the end).
So on boot up, you would be plopped right to a graphical login manager, and then your desktop (after logging in of course).
|
|
|
08-20-2002, 06:23 PM
|
#7
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
try /sbin/runlevel after boot to see what runlevel your actually in
|
|
|
08-20-2002, 09:04 PM
|
#8
|
Member
Registered: May 2002
Location: Providence, RI
Distribution: Ubuntu
Posts: 78
Original Poster
Rep:
|
I forgot to tell you something that I changed my computer name in "Network Configuration" at the last time I was in linux before this problem appeared.Did this cause the problem?
|
|
|
08-20-2002, 09:06 PM
|
#9
|
Member
Registered: May 2002
Location: Providence, RI
Distribution: Ubuntu
Posts: 78
Original Poster
Rep:
|
and I have checked my runlevel by using /sbin/runlevel, it is 5.
|
|
|
08-20-2002, 09:10 PM
|
#10
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
it will cause problems, update your /etc/hosts file
|
|
|
08-21-2002, 12:45 AM
|
#11
|
Member
Registered: May 2002
Location: Providence, RI
Distribution: Ubuntu
Posts: 78
Original Poster
Rep:
|
thank you,David!! My comp is back to normal now! could you explain how it caused this problem?
|
|
|
08-21-2002, 01:16 AM
|
#12
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
X needs to know what computer it's running on is the simple answer
Lets say you are in X in an xterm
if you do something like this
hostname mynewname
you will still be able to use the terminal you are in but if you try to open a new one you will see that it's whacked, and it's because it's looking for the machine it's supposed to be running on. Now in the open xterm change the hostname back and you will be able to open a new xterm.
Last edited by DavidPhillips; 08-21-2002 at 01:33 AM.
|
|
|
08-21-2002, 02:24 AM
|
#13
|
Member
Registered: Feb 2001
Location: Badlapur, INDIA
Distribution: debian, Slackware & Small Distros
Posts: 83
Rep:
|
If you want to start X as you boot into Linux try doing it with command "xdm". Just follow the messages and it's very easy to setup the things.
Hope it will solve your problem.
Thanks.
|
|
|
08-21-2002, 04:05 AM
|
#14
|
Member
Registered: May 2002
Location: Providence, RI
Distribution: Ubuntu
Posts: 78
Original Poster
Rep:
|
Thank You All! My Problem Has Been Solved
|
|
|
All times are GMT -5. The time now is 02:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|