| View previous topic :: View next topic |
| Author |
Message |
DavidMcCrossan LXF regular
Joined: Fri Aug 19, 2005 10:46 am Posts: 241
|
Posted: Fri Feb 24, 2012 4:45 pm Post subject: Runlevel 3 |
|
|
My friend is just getting to grips with linux and has loaded a distro onto his laptop, as a clean install.
He is faced with a blank screen and wishes to edit xconfig. I remember from the distant past it was possible to hold down (I think) Alt+F something which caused the distro to go to runlevel 3, and a command line.
Can anyone please let me know the sequence to get to this?
Many thanx
David |
|
| Back to top |
|
 |
MartyBartfast LXF regular

Joined: Mon Aug 22, 2005 8:25 am Posts: 780 Location: Hants, UK
|
Posted: Fri Feb 24, 2012 7:42 pm Post subject: |
|
|
<alt><ctrl>F2 (or F3/4/5 etc) will open up a console terminal, one of those will be the X display on mine it's F1, sometimes it can be F10. Basically hit them in sequence until you get the login prompt and you can log into one of the tty consoles.
Edit: to be clear, this doesn't alter the run level, but it brings up a character console which looks like run level 3, which is what I thought you were looking for. _________________ I have been touched by his noodly appendage.
Last edited by MartyBartfast on Fri Feb 24, 2012 8:50 pm; edited 1 time in total |
|
| Back to top |
|
 |
lok1950 LXF regular

Joined: Tue May 31, 2005 6:31 am Posts: 958 Location: Ottawa
|
Posted: Fri Feb 24, 2012 8:29 pm Post subject: |
|
|
And the command to get back to run level 5 (desktop) is
while the one to kill the X sever is .
Enjoy the Choice  |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Fri Feb 24, 2012 11:10 pm Post subject: |
|
|
Those are distro dependent. Not all distros use the runlevels in the same way, some don't even have a different runlevel for a no-X boot.
Ctrl-Alt-Backspace will kill X, or you can switch to a console and run
| Code: | | /etc/init.d/*dm stop |
which is fairly universal. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
lok1950 LXF regular

Joined: Tue May 31, 2005 6:31 am Posts: 958 Location: Ottawa
|
Posted: Sat Feb 25, 2012 12:27 am Post subject: |
|
|
And lots of current distros use policy-kit to make so that when you do use Ctrl-Alt-Backspace all that happens is that you log out and restart the X server at the the GDM log-in screen.I know that's what happens with fedora 16 and has since f10.
Enjoy the Choice  |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 7995 Location: Warrington, UK
|
Posted: Sat Feb 25, 2012 8:48 am Post subject: |
|
|
That's done without PolicyKit too, which is why it is best to stop the DM. _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
DavidMcCrossan LXF regular
Joined: Fri Aug 19, 2005 10:46 am Posts: 241
|
Posted: Sun Feb 26, 2012 5:46 pm Post subject: Runlevel 3 |
|
|
Thanx guys for all your help.
My friend is a newbie convert from Windoze, and is a pc repairman out here.
He will easily cope with this.
Best
David |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|