Prasanth Posted December 29, 2002 Share Posted December 29, 2002 I just wanted to know how to shutdown x in redhat. the CTRL+ALT+BACKSPACE key combo will restart x and it will take you to the login screen :hmmm: Thanks in advance :) Link to comment Share on other sites More sharing options...
techquilla Posted December 29, 2002 Share Posted December 29, 2002 that's the question i asked a weeks or month ago but didn't get a working answer..... :( Link to comment Share on other sites More sharing options...
Glowstick Posted December 29, 2002 Share Posted December 29, 2002 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 More sharing options...
Prasanth Posted December 29, 2002 Author Share Posted December 29, 2002 I know that, I just don't want to type startx everytime. Link to comment Share on other sites More sharing options...
sd_ba2271 Posted December 29, 2002 Share Posted December 29, 2002 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 More sharing options...
sd_ba2271 Posted December 29, 2002 Share Posted December 29, 2002 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 More sharing options...
Prasanth Posted December 29, 2002 Author Share Posted December 29, 2002 But I am looking for a way to shutdown X without changing the runlevel. I'm not just looking for shortcut keys. Are there any commands that can do this? :) Link to comment Share on other sites More sharing options...
zivan56 Posted December 29, 2002 Share Posted December 29, 2002 Have you tried killing the proccess via a console ? You can also do CTRL+ALT+F2 ... F4 etc and it should bring you to a text console with no X. Link to comment Share on other sites More sharing options...
mezz Posted December 29, 2002 Share Posted December 29, 2002 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 More sharing options...
Prasanth Posted December 30, 2002 Author Share Posted December 30, 2002 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 More sharing options...
mezz Posted December 30, 2002 Share Posted December 30, 2002 (edited) 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 December 30, 2002 by mezz Link to comment Share on other sites More sharing options...
Prasanth Posted December 30, 2002 Author Share Posted December 30, 2002 No gdm is not running. Is gdm the default login thing in redhat? When installing RH I unchecked some packages and now I have a ugly login with a clock :p BTW I'm running KDE :) Link to comment Share on other sites More sharing options...
mezz Posted December 30, 2002 Share Posted December 30, 2002 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 More sharing options...
Prasanth Posted December 30, 2002 Author Share Posted December 30, 2002 Its kdm. But when you kill it, it exit the session and takes back to the login screen. :cry: Link to comment Share on other sites More sharing options...
mezz Posted December 31, 2002 Share Posted December 31, 2002 err.. I will have to touch Redhat 8 again tonight, then write it down how to do those. Link to comment Share on other sites More sharing options...
Prasanth Posted December 31, 2002 Author Share Posted December 31, 2002 If you can kill gdm successfully tell me how to make gdm the default login. kdm is ugly :cry: Link to comment Share on other sites More sharing options...
Recommended Posts