How to shutdown x in redhat?


Recommended Posts

I don't know Redhat, but you need to turn off the graphical login somewhere in its setup. The drawback is it will show you the text login everytime from then too. Blame the runlevels or whatever it is in Linux.

Link to comment
Share on other sites

When you installed redhat did you select to use a gui or a text interface? If a gui, then you will need to go into gnome's gdm configurator and change your boot/lgin settings and disable the autostarting of the x gui. Usually redhat and mandrake ask if you want x autostarted with each boot. Where the gdm conf. is in redhat 8..I couldn't tell you. Sometimes it's in a drawer/folder labeled system, configure gnome, etc. You'll have to look for it. After you disable the x gui, when you reboot it will bring you to a text login screen asking for a username password with a $ prompt. if you provide the correct username/pword you can then next you type startx...and you're on you way. Hope this helps somewhat.

Link to comment
Share on other sites

Oh, and if you disable the x gui, you'll have to type start x everytime, unless you opt to use the x gui. I think the only way to not have to type startx everytime will take some command line editing and alot of experience with linux. whats wrong with the x gui booting everytime and not giving you a text interface? this all works pretty much the same for kde and gnome.

Link to comment
Share on other sites

1) killall gdm to end the login screen by gdm.

2) hit ctrl+alt+backspace to exit X

BTW: I remember, someone posted about you can select the fail safe option in the login screen to take you in the command line.

Link to comment
Share on other sites

Have you tried killing the proccess via a console ?
how?

You can also do CTRL+ALT+F2 ... F4 etc and it should bring you to a text console with no X.

I want to kill x

1) killall gdm to end the login screen by gdm.

I get a error

gdm: no process killed

Link to comment
Share on other sites

Have you tried killing the proccess via a console ?

how?

Same as I suggest, but diff way to kill it.. Try to type ps aux | grep gdm and copy the PID. Then, you can type kill -KILL PID (Change PID to number)..

You can also do CTRL+ALT+F2 ... F4 etc and it should bring you to a text console with no X.

I want to kill x

The X isn't running, but gdm that do the login stuff.

1) killall gdm to end the login screen by gdm.

I get a error

gdm: no process killed

Doesn't RedHat uses gdm? Check in the top or ps aux | grep gdm to see if it's correct spell or whatever.. Maybe, it's GDM; not gdm..

Edited by mezz
Link to comment
Share on other sites

No gdm is not running. Is gdm the default login thing in redhat?

Yes, it's default use gdm. Because, I checked it this evening and the killall gdm works fine, but you don't have gdm runs.

When installing RH I unchecked some packages and now I have a ugly login with a clock

Try to check in the top or ps aux to see something.. Like xdm? kdm? or else? I have no idea what xdm/kdm look like. I just know what gdm looks like.

BTW I'm running KDE

Doesn't matter what WM you are using.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.