LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-22-2002, 05:06 AM   #1
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Lost graphical login,...


I'm a Mandrake 8.2 user. After a crash of the X-windows server, I lost my graphical login.
I can still run KDE from a command-line login, but the graphical login won't load on boot.

I tried setting it to launch to graphical login in Mandrake's Control Center. I tried setting it in the KDM settings pannel,... nothing worked.

I checked out the /etc/inittab file and the id:5:initdefault setting is right.

I can't launch kdm from a root login, nor can I launch xdm from a root login. However, I can launch gfm from a root login...

startkde will produce errors regarding missing screens,...

startX works and I can get into KDE that way...

Sometimes the X server won't start because of an error regarding the x font server,...

Does anyone have any ideas???
 
Old 06-22-2002, 05:46 AM   #2
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
Something of that sort happened to me with Redhat. Hardreboot, came back on and it would only let me login with the text prompt. Quite annoying for me...I ended up just reinstalling Linux over again. I think something did get damaged because of the reboot, so perhaps the only solution is to reinstall...

zLiNuXz
 
Old 06-22-2002, 06:03 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Although I don't like the idea of "reinstalling" your OS, it sounds too much like a Windows tech support answer, it may be the easiest fix.
But since there are some awesome Linux Guru's on here, maybe if you post the actual error messages, they can help you fix it instead of reinstalling.

Have you tried just reinstalling XFree86 from your distro's CD?
 
Old 06-22-2002, 06:09 AM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Original Poster
Rep: Reputation: 157Reputation: 157
I'm using reiserfs so, I seriously doubt it was the reboot that did it. I think it more likely that the source of the crash was the same thing that corrupted the data. I'm sure there is a way to fix it without doing a full reinstall, I'm just wonderin what it is.
 
Old 06-22-2002, 06:12 AM   #5
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
like MasterC said, post the error message you get from X when it refuses to come on.
The thing that I remember is that, there is no error message for the gui login not coming on...it was just weird like that when it happened to me. It just stopped coming up. No error no message.
 
Old 06-22-2002, 06:23 AM   #6
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Try to do xf86config and configure your xserver with that. I had the same thing happening because of a misconfiguration.
Is your graphics card recognised automaticly or do you have to set it up yourself.
 
Old 06-22-2002, 07:07 AM   #7
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Original Poster
Rep: Reputation: 157Reputation: 157
I got the following error messages in the [Ctrl]+[Alt]+[F12] screen (minus my local host information):

Quote:
Cannot open control file /usr/share/config/kdm/Xaccess, No XDMCP request will be granted.

Cannot access servers file /usr/share/config/kdm/Xservers

can't lock pid file /var/run/xdm.pid, another xdm is running.
I don't know if this wil help.

My graphics set-up is not auto-recognized by Linux/Mandrake, I have to manually install my drivers and edit the XF86Config-4 file...
I have tried running mandrake's XFdrake, but it didn't reset the graphcial login...
 
Old 06-22-2002, 07:30 AM   #8
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
I had something around that line when i fiddled around with my xconfig for graphics. Kdm wouldn't work xdm wouldn't work. Heck - the original xf86config file wouldn't work either. Had to reconfigure with xf86config then it was ok again.
 
Old 06-23-2002, 12:41 AM   #9
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Original Poster
Rep: Reputation: 157Reputation: 157
I tried using xf86config, and it was no help. The kdm/xdm login is still f'd...

I notice that when I am accessing the X-windows system, I'm not in the default terminal 7, but in terminal 9. Does anyone know how to unlock a terminal that has been locked by the OS in a crash.
 
Old 06-23-2002, 02:46 AM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
quote:
--------------------------------------------------------------------------------

Cannot open control file /usr/share/config/kdm/Xaccess, No XDMCP request will be granted.

Cannot access servers file /usr/share/config/kdm/Xservers

can't lock pid file /var/run/xdm.pid, another xdm is running.


--------------------------------------------------------------------------------

Check to see if another xdm is running. If it is, then kill it and delete the /var/run/xdm.pid file. Try startx again.

If there isn't an xdm running, delete the /var/run/xdm.pid file and try startx.
 
Old 06-23-2002, 04:23 AM   #11
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Original Poster
Rep: Reputation: 157Reputation: 157
Thanks, I'll try that.

I think that is on the right track, since when I linked to the other files, it ran but with lots of problems (no access to actual X sessions, nor the settings appearing to be keeping with the changes I had made in the login manager...)
 
Old 06-23-2002, 05:28 AM   #12
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Original Poster
Rep: Reputation: 157Reputation: 157
Well,

That advice didn't work, but it got me closer. I tried killing kdm, and it kept re-spawning. So I changed the name of the executable. That has now caused X-windows to spawn gdm on boot-up (I prefer kdm/xdm, but this will do as a temporary fix).

Apparently, when the window login managers spawn, they are forced to respawn unless they launch. Now, what I have is a situation where gdm launches after kdm fails to load. Before, kdm was launching, and in the process could not find the necessary files in the /usr/share/config/kdm directory (Xservers and Xaccess). Copying them from the /etc/X11/kdm directory or linking them from there was no good as I got a login screen but it failed to launch the session upon login and then respawned,...

I need to find out 2 things;

1) Why did my OS delete or otherwise shred the contents of /usr/share/config/kdm ???

2) How do I restore the necessary files to that subdirectory???
 
  


Reply



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
Graphical login lost IceWM mail icon Digir Linux - Software 0 09-07-2005 01:38 AM
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 06:09 PM
using KDE or gnome to login (graphical login) mep]-[isto Linux - Newbie 5 11-20-2003 12:13 PM
Need help changing graphical login to regular login jnezezon Linux - Newbie 2 11-13-2003 09:36 PM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 09:43 PM

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

All times are GMT -5. The time now is 10:07 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