LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-02-2006, 07:16 AM   #1
OldakQuill
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
Graphical login fails to appear


I've been using unstable Debian for about 18 months with relatively few problems.

Today I've apt-get upgraded and played around with xhost host (xhost +local:[account]) attempting to get a Java applet working.

Upon restarting my computer the graphical login fails to appear (the screen goes to black as if it is about to launch and a white horizontal line quickly flashes on the screen, then returns to command line) and the following was displayed:

Starting K Display Manager: kdm.
Running local boot scripts (/etc/rc.local).
Not starting X display manager (xdm); it is not the default display manager.

If I try to run xhost now, by the way, it responds: 'xhost: unable to open display ""'. Any ideas?

Edit: when I attempt to "dpkg-reconfigure xserver-xfree86" (either as root or su) nothing happens, it returns to the command line.
Edit2: My wireless adaptor also seems to have stopped working. This is really not my day.

Last edited by OldakQuill; 10-02-2006 at 07:55 AM.
 
Old 10-02-2006, 01:07 PM   #2
toreric
Member
 
Registered: Dec 2005
Location: Tväråmark, Sweden
Distribution: Debian/Kubuntu
Posts: 105

Rep: Reputation: 27
I really don't know but it may still be some permission problem, some x settings may have been disabled as root for security reasons, for example, google for it...
 
Old 10-02-2006, 01:44 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Have you tried aptitude (apt-get) remove --purge kdm ... aptitude install kdm?

Could also be an xorg issue, but dpkg-reconfigure xorg-xserver doesn't work any more. You'll have to edit /etc/X11/xorg.conf manually. With a little luck, you may have a back-up of your old xorg.conf file created when it was last edited.

I think there may also be a (non-Debian) Xorg utility named Xorg -configure or something like that.

******
If your upgrade included a new kernel, that would certainly have wiped out your wireless. Should be easy to fix, tho.

Last edited by rickh; 10-02-2006 at 01:46 PM.
 
Old 10-02-2006, 07:03 PM   #4
tethead
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
i'm having a similar issue with xfce on debian etch... about to post a new thread with details of that.
 
Old 10-02-2006, 11:34 PM   #5
OldakQuill
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the replies so far. As yet, the problem is still unresolved. I have discovered that others have been having the problem, it is to do with a new xserver-xorg-core.

rickh: The computer isn't connecting to a network at the moment (no wireless) so I don't want to purge at the moment (it would have to redownload it, right?). I'm not great at command line, how do I go about replacing the conf file with a backup?

Edit: When I run startx I get the following error:
"Fatal server error:
failed to initialize core devices
(**) RADEON(0): RADEONLeaveVT
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x8207ca8)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0): MC_FB_LOCATION : 0x1fff0000
(**) RADEON(0): MC_AGP_LOCATION : 0x27ff2000
(**) RADEON(0): Map Changed ! Applying ...
(**) RADEON(0): Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Ok, leaving now...
XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

Last edited by OldakQuill; 10-02-2006 at 11:41 PM.
 
Old 10-03-2006, 09:54 AM   #6
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
If you can't fix this any other way, try this:

aptitude install apt-file
apt-file update

Then find the files you have modified recently and find out which packages they belong to:

find / -mtime -2| -exec apt-file --package-only search {} \;

Now you'll have a list of packages that you _might_ want to reinstall. In the above example "find" will find files that are modified 0-2 days ago. See "man find" for more info.

In order to reinstall these without running into dependency problems do a

dpkg --purge --force-all packagename

and then reinstall the package with aptitude. If it still does not work, remove all remotely relevant files and directories from your home dir.

Hope this helps.
 
Old 10-03-2006, 11:21 AM   #7
toreric
Member
 
Registered: Dec 2005
Location: Tväråmark, Sweden
Distribution: Debian/Kubuntu
Posts: 105

Rep: Reputation: 27
I just remember one thing: when xorg is updated you may have to reinstall the video driver, else all is blackout; that's the case with my nvidia anyhow
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Key repeat on graphical login screen is too fast, Its almost impossible to login. FC5 spacecoyote Fedora 8 05-13-2010 08:53 AM
Computer freeze after graphical login and comand line login TheBrick Linux - Software 3 04-20-2006 10:53 AM
graphical login fails in 9.1 chuck_notorious Slackware 2 10-31-2004 02:38 AM
RedHat graphical login prompt fails LQtoto Linux - General 1 02-12-2004 05:42 AM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 09:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:38 PM.

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