LinuxQuestions.org
Visit Jeremy's Blog.
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 09-12-2004, 04:04 AM   #1
PhenuxRizing
Member
 
Registered: Feb 2004
Distribution: Fedora
Posts: 59

Rep: Reputation: 15
Question how to log into gnome twice at same time?


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
 
Old 09-12-2004, 04:45 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi

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?

Regards
Martin
 
Old 09-12-2004, 08:25 AM   #3
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
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

TF
 
Old 09-12-2004, 08:54 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.

Regards.
 
Old 09-12-2004, 12:15 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Appliactions>System Tools> New Login

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.
 
Old 09-12-2004, 05:04 PM   #6
PhenuxRizing
Member
 
Registered: Feb 2004
Distribution: Fedora
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for all of the responses. The separate x session is what I was looking for.
 
Old 09-12-2004, 05:29 PM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to log into gnome on 9.2, after update to gnome 2.11 afaiq Suse/Novell 1 06-28-2005 08:29 PM
Can't log in the second time Gyope Slackware - Installation 9 06-21-2005 07:18 AM
Log reboot time? x5452 Linux - Software 2 03-30-2004 09:00 PM
how to get the time in the log ? cccc Programming 0 02-25-2004 06:58 PM
Can log files be time stamped? (such as FTP login and transfer log files) bripage Linux - Networking 6 08-08-2002 11:55 PM


All times are GMT -5. The time now is 04:16 AM.

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