At 01:53 PM 7/31/2003 -0400, Anshuman Singh Rawat wrote:
Hi,
I have a graphical login screen and I need to disable it as there is some problem with my X. How does one disable it?

It depends on how you (your Linux distro, that is) enable(s) it in the first place. That varies a bit by distro. The two most common ways are:


1. Setting in /etc/inittab a default runlevel that causes xdm (or maybe gdm) to start. To disable it this way, change from a runlevel that starts xdm (or gdm) to one that does not. Most commonly, that involves changing the line in /etc/inittab that reads

        # The default runlevel.
        id:5:initdefault:

to read

        # The default runlevel.
        id:2:initdefault:

2. Running an init script that starts xdm (or gdm). To disable it this way, find the symlink to that script in the default runlevel and remove it. For example, my Debian systems use the script /etc/init.d/xdm to start X and a default runlevel 2. So I remove (or rename) the symlink /etc/r2.d/S99xdm .

BTW, even with a "graphical login screen" running, you probably have consoles hidden away. So if the X stuff does not completely trash your display, pressing CTRL-ALT-F1 (through -F6, usually) will probably give you a text console where you can log in.

If you need more specific help, in a followup tell us what Linux distro and version you are using, which graphical login system you use (xdm or gdm), and whatever you know about how your system now starts X.




- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to