LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting a rid of X (https://www.linuxquestions.org/questions/linux-software-2/getting-a-rid-of-x-31131/)

AnyoneEB 09-24-2002 04:22 PM

Getting a rid of X
 
I'm using Debian. I thought I'd try XWindows, but now I can't get out of it. How do I exit XWindows? When I restart it comes up with a graphic log-on screen.

neo77777 09-24-2002 04:40 PM

he-he, I thought you want to dump GUI for good ol' CLI, to exit just press ctrl-alt-backspace, to boot to runlevel other then X edit your /etc/inittab file, you will find the entry like
id:5:initdefault:
change it to
id:3:initdefault:
I still believe Debian uses SysV init scripts and runlevels.

AnyoneEB 09-24-2002 05:06 PM

Whenever I get to the CLI it jumps back into the graphical log-on, but I can see the text log-on for ~1 second.

I just hit it a bunch of times and it came up with an error that X was messed, I went into xconfig as it asked, then I exited and it was back to the GUI, then I did it again and didn't go into XConfig and now it thinks that X doesn't work so it won't load it. Bad solution, but it works.

neo77777 09-24-2002 05:09 PM

This is because of this line in /etc/inittab
x:5:respawn:/etc/X11/prefdm -nodaemon
now if you've changed the default init to 3 and reboot you'd be fine, if you don't want to reboot, issue as root
in Xterm /sbin/init 3
and login

dorward 09-24-2002 06:41 PM

Under debian just make sure you don't have a display manager running.

Code:

apt-get remove xdm
(and/or gdm and/or kdm)


All times are GMT -5. The time now is 10:08 AM.