Linux - GeneralThis 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
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.
Does anyone know how to log onto gnome twice, at the sime time,with user and also with root? I want to be able to be able to have root already logged in on a separate tty so I can switch over quickly whenever I need to adjust something as root. Thanks
Typing 'su' in a Terminal window will give you root access. Also, the distributions I've seen all have the option to enter the root password when you try to change settings with the graphical tools. Which distro do you use?
If you are looking for two separate X sessions, there is a little snippet of code you can do, but of course you must realize that X is pretty much a resource hog. If u hv only 256M ram, both sessions will be dog slow.
If X is running on F7, go to a different terminal, log in there (can be different user) and type:
startx -- :1 vt8
That will open display 1 on the F8 terminal
If vns server is running, then display :1 is already used, so you can use
startx -- :2 vt8 or whatever
One solution, better than su or having root login as well which would be a bad idea on any network.. setup sudo, never need to login directly as root again.
That will keep the other user's programs running and keep them logged in. It acts much like the Switch Users from XP, but it actually keeps their programs running (like XMMS), instead of putting them on pause. Then when you log out of the second user, it brings you to X Screen Lock or whatever the program is, pop in the password, and pick up where you left off.
Originally posted by PhenuxRizing Thanks for all of the responses. The separate x session is what I was looking for.
You should really try not to login into X as root. If you do, you should at least make it not listen on port 6000, default X port that it listens on. If you don't do this, your password for root can be exposed.
I highly suggest setting up sudo still, safer, gets the job done and you don't need to ever login as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.