LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-02-2004, 07:13 PM   #1
dauphinfay
Member
 
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301

Rep: Reputation: 30
stopping the gui


hello everyone. i have yet another noob question. i can't seem to find the answer (since i can't figure out how to term the question).

i am trying to install the nvidia vid drivers on a debian system and i can't seem to reboot into the terminal. i edited the inittab and that didn't do the trick (this is the only distro that i have had this trouble with). i know there is a quick key command to quit the x server but for the life of me i can't find it. can someone help?

TIA

Last edited by dauphinfay; 04-02-2004 at 07:15 PM.
 
Old 04-02-2004, 07:37 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
If changing inittab didn't work, I think you have a weird system.
You could try "init 3" as root
 
Old 04-02-2004, 07:51 PM   #3
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Logout of your session with whatever window manager. To go back to the graphical login.

press ctrl-alt-f1. Login as root and type pkill kdm, or gdm, or xdm whatever your using as your login manager. This will stop X.

To have an init setp for just a console login you need to remove the startup script from one of your init directories. I have init2 for console login, so I went too /etc/rc2.d

The files your looking for will have S99kdm, S99xdm, S99gdm etc.. Simply delete those files and when you use "init 2" or set the default to runlevel 2 the login manager won't start.
 
Old 04-02-2004, 11:49 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,806

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
The files your looking for will have S99kdm, S99xdm, S99gdm etc.. Simply delete those files and ...
Or just make them hidden in case you want to reinstate the graphical login. For example,

mv S99kdm .S99kdm

It beats having to track down the information needed to redo the symbolic link.

Cheers,
Rick
 
Old 04-03-2004, 06:10 AM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
you mean

ln -s S99kdm ../init.d/kdm

Its quite straight forward. Also you could always copy them from other directories.
 
Old 04-03-2004, 10:38 AM   #6
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,806

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
ln -s S99kdm ../init.d/kdm

Its quite straight forward.
OK. I'll grant you, that one's not so bad. :-) But when you get some 3rd-party software on the system that keeps their startup/shutdown script somewhere else, it can be a bit of a pain tracking them down. Then there's the poorly documented user-written stuff that people want started at boot time. I don't like keeping non-OS supplied scripts in /sbin/init.d or /etc/rc.d/init.d, got tired of hunting for script locations. and started just moving the links in the rcN directories "off to the side".
 
Old 04-03-2004, 01:38 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
In Debian all startup ( and shutdown scripts ) are stored in /etc/init.d Deleting the symlinks from /etc/rcX.d directories is no big deal.

Plus there are tools such as sysV-init Editor for dealing with these scripts.
 
Old 04-17-2004, 07:09 PM   #8
dauphinfay
Member
 
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301

Original Poster
Rep: Reputation: 30
i gave up and setup mandrake 10....since the g/f likes it so much after i set it up for her on her box. thanx for all the help tho guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 03:17 PM
stopping mencoder delos Linux - Software 4 06-25-2004 08:36 AM
Isn't Windows 95 or 98 a better GUI solution for old machines than an old Linux GUI lynchmob09 General 10 04-20-2004 01:24 AM
stopping x kobe Linux - General 9 08-11-2002 01:49 PM
stopping X theslyfox Linux - Newbie 1 05-26-2002 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration