LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-20-2009, 04:15 PM   #1
debsys07
Member
 
Registered: Mar 2007
Posts: 46

Rep: Reputation: 16
Want non-GUI Login Screen on Console


Just loaded Lenny, mostly with defaults. I'd like to go back to a command-line login for the console attached to the machine. Of course, I'd like to be able to 'startx' whenever I do want the GUI up.

Thanks,
Ron
 
Old 10-20-2009, 04:38 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Try setting a different runlevel. Take a look here for an explaination: http://en.wikipedia.org/wiki/Runlevel
 
Old 10-20-2009, 06:53 PM   #3
debsys07
Member
 
Registered: Mar 2007
Posts: 46

Original Poster
Rep: Reputation: 16
I don't really want to change the runlevel, just do without the GUI by default on startup.

Thanks,
Ron
 
Old 10-20-2009, 07:11 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quite simple actually : Edit /etc/X11/default-display-manager
to show this word only : false

https://lists.ubuntu.com/archives/ub...ly/087620.html
Code:
Ubuntu uses the Debian model, and the default runlevel is 2, unless
otherwise configured - so init 3 won't help, I'm afraid, unless you
enjoy reconfiguring runlevels .

If you have the file /etc/X11/default-display-manager you can edit it or
do

echo "false" | sudo tee /etc/X11/default-display-manager

This will disable gdm/kdm/xdm , or whatever you have in that file

You can put it back with a text editor, or do for example

echo "/usr/sbin/gdm" | sudo tee /etc/X11/default-display-manager

Of course, for a temporary disabling of X you can just do

sudo /etc/init.d/gdm stop then use the "restart" option or the
"start" option of that init.d script to restart it.
 
  


Reply



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
Not getting GUI login screen rcsnydley Linux - Newbie 5 12-31-2008 08:46 AM
Lost console login prompt--neither GUI or command line prompts display JMCraig Red Hat 7 11-14-2008 12:15 PM
GUI screen not starting up to login vr76413 Linux - Laptop and Netbook 1 12-27-2005 12:01 PM
No GUI login screen n175uj Programming 1 06-29-2005 07:15 AM
can't get gui login screen woja Linux - Software 5 11-28-2003 10:27 AM

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

All times are GMT -5. The time now is 03:44 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