Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
what do you mean by a terminal? Ctrl-alt-backspace should not restart anything other than the xserver and with it all the stuff needing the x window system (so terminal windows will go). The text consoles should remain.
you can also go to a text terminal, and then do
init 3
as root. This will get you to text mode and then you can get back with
init 5
humm - well, I would have thought that a text console was the same as a terminal instance.
Its like BASH shell type thing - so whats the difference between the three? it looks like its a gnome-terminal command being run by this GUI icon.
I was running processes from the three different terminals - I was just hoping not to interrupt them (100% text based) while I reset xserver. Doesn't seem like it should have been impossible. I mean, even without xserver you can run completely independant terminals right - i mean if its a multi-user OS, then this would be a basic function.
terminal windows are just that - they are windows inside an X session that give you the command line. There is no way you can keep them running when restarting X because the windows will have to be closed and that closes the processes depending on them. Besides, restarting the X server will log everyone out who is logged in using X and that will terminate the processes too.
If I really need to have the things running even when X crashes, I use ctrl-alt-F1 to get to a real text terminal and run things there. They are completely independent of X.
ah ok - thnx. So you are saying the fundamental functionality of a level 3 terminal is handled completely different than a level 5 terminal.
But then - you are saying that anytime you reset the xserver you will be logged out - so in essence the answer to my original question is no - unless i am logged in under level 3 already.
Oh no. You can log in separately under runlevel 5 too. When you press ctrl-alt-f1 thru f6 you'll get several login screens. Those really do behave like completely separate sessions. With X, basically you have a user logged in who then runs X. Any process started from within that X session is terminated when that user logs out.
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383
Rep:
ctrl+alt+f(1-6) Is essencially init 3.(They are separate sessions, I believe.) Init 5 just startsx on boot so you don't have to type: startx . I believe this is used(by many distros) for windows users intimidated by command line, to help the move from windows to Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.