LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 09-20-2003, 10:30 AM   #1
thenewbster
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
How to log in (root) without GUI


I want to install NVIDIA drivers "butt" I am required to log in as root and no X servers are allowed to run.

I understand the root login but I need to know how to log into command prompt only (without GUI desktop).

Any help would be greatly appreciated.
 
Old 09-20-2003, 10:48 AM   #2
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
Hi,

I'm not sure if this is the easiest way, but it will definately work. Edit the /etc/inittab so that this part looks like this:

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:

Specifically, all you need to do is change the middle number in that last line from X11 to Multiuser. Then reboot and it will start in the command prompt.

From there, to get into X you can type 'startx' and if you want it to always log you into GUI, just edit the /etc/inittab file so that the initdefault is X11.
 
Old 09-20-2003, 12:16 PM   #3
ac_dispatcher
Member
 
Registered: Aug 2003
Location: Ohio, USA
Distribution: Kubuntu
Posts: 60

Rep: Reputation: 15
Im not at my home computer but and not sure if it works with MDK but:

open a konsole type:

su
(enter password)
init 3

This should shut down to console. I may be wrong though. There is a similar or same command from the LILO prompt.
 
Old 09-20-2003, 04:22 PM   #4
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
I think the command ac_dispatcher is referring to is:

telinit 3

This is a great idea, that I didn't think of. I would recommend trying it first.
 
Old 09-20-2003, 04:44 PM   #5
baud
Member
 
Registered: Aug 2003
Location: Versailles
Distribution: Mandrakecooker 10.1
Posts: 67

Rep: Reputation: 15
and telinit 5 to come back...
search this forum to solve the problem with console mode after installing nvidia drivers (look for vga=788, which is a line to erase from /etc/lilo.conf to avoid blinking screens).
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie > root can log in to a gui, users suddenly can't Influx Slackware 18 10-09-2005 11:09 AM
Can't log on as ROOT and go to GUI checho4 Mandriva 5 08-17-2005 06:58 PM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 05:18 PM
Can't log into GUI with root Oeli Linux - Newbie 5 11-28-2003 10:10 AM
Log on as Root, or switch to Root, in MDK 9.1 - KDE 3.1.0 snorky Mandriva 3 09-01-2003 01:07 PM


All times are GMT -5. The time now is 08:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration