PDA

View Full Version : Trouble after updating...



chipyoung
01-26-2006, 12:06 AM
After a long session in Knoppix (installed on hard drive). I shut down then came back to the box to start. Everything was going fine until the beginning script stopped at a logon prompt before the GUI came up. I am new at Linnux but I am trying to learn as much as possible. I have not had any problems for a couple of weeks. I was doing an apt-get upgrade in this session, though I've done them before with no problems. Just before the logon prompt the text was;

Starting K Display Manager: KDM
Not starting X display manager (XDM); It is not the default display manager

Debian GNU/Linux Testing ?unstable Newbox tty1

"Newbox being the name of the computer"

Can anyone please help? Are there some commands or actions I can do at the shell prompt to restore the GUI?

Thank you in advance,
Chip

parj
01-27-2006, 04:23 PM
Hi,
try to login as root then at the promt type: startx
take note of any error or check your log: /var/log/xfree86.0.log or /var/log/kdm.log
usually there is a messed up symlink somewhere.
if you get an error X is not executable or xinit:no such file or directory use midnight commander
type mc
navigate to /etc/x11
locate the symbol @X and check its symlink - it should point to /usr/bin/X11/X
in most cases it is set to /usr/bin/x11/xfree86
if /usr/bin/x11/x does not work, try /usr/bin/x11/xorg

note: you must be login as root to change this

chipyoung
01-27-2006, 04:23 PM
It was my x-server. I was able to do an apt-get install. It rebuilt X and allowed me to reboot to the GUI.