nuB question: start browser as another user
hiya
hmmm you can start a terminal or browser session as root when logged in as a
user; what about another user?
my girlfriend often needs to check her email (browser) so would like to
start a web browser session as her ("erica"). am using mozilla for browsing,
SuSE is v8.
kind regards,
todd
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
todd ARON p 410 276 1176
wicked clever software m 703 868 9087
2204 e balto st f 425 977 9402
balto, md 21231
On Sunday 22 September 2002 01:35 pm, todd aron wrote:
hiya
hmmm you can start a terminal or browser session as root when logged in as a user; what about another user?
my girlfriend often needs to check her email (browser) so would like to start a web browser session as her ("erica"). am using mozilla for browsing, SuSE is v8.
kind regards, todd
Here's what I do (suse 7.2) 1) Press ctrl + alt + F2 (all at the same time) This takes you to tty2 2) at the login prompt type her login name 3) enter her password 4) type startx -- :8 this will start a new x session for her. using her previous window manager You can switch between her session and your own by typing ctrl + alt + F7 (the original x session) ctrl + alt + F8 (the new x session) hth -- dh I've been awake: 3 hours 32 minutes Suse Linux 7.2 professional kernel 2.4.17, xFree86 4.2.0, kde 2.2.2
You wrote:
4) type startx -- :8 this will start a new x session for her. using her previous window manager
My previous sesion used gnome, but the above starts kde. Do you know how can I change that? -- Cheers Carlos Robinson El 02.09.22 a las 14:03, dh escribió:
Date: Sun, 22 Sep 2002 14:03:54 -0700 From: dh
To: suse-linux-e@suse.com Subject: Re: [SLE] nuB question: start browser as another user On Sunday 22 September 2002 01:35 pm, todd aron wrote:
hiya
hmmm you can start a terminal or browser session as root when logged in as a user; what about another user?
my girlfriend often needs to check her email (browser) so would like to start a web browser session as her ("erica"). am using mozilla for browsing, SuSE is v8.
kind regards, todd
Here's what I do (suse 7.2) 1) Press ctrl + alt + F2 (all at the same time) This takes you to tty2 2) at the login prompt type her login name 3) enter her password 4) type startx -- :8 this will start a new x session for her. using her previous window manager You can switch between her session and your own by typing ctrl + alt + F7 (the original x session) ctrl + alt + F8 (the new x session)
hth
On Sunday 22 September 2002 06:03 pm, Carlos E. R. wrote:
You wrote:
4) type startx -- :8 this will start a new x session for her. using her previous window manager
My previous sesion used gnome, but the above starts kde. Do you know how can I change that?
I went through my archives and think I found your answer (Thanks to Ed Harrison for originally providing it to me ) WINDOWMANAGER=gnome startx -- :8 (note the space between startx and the -- (2 hyphens), and between the -- (2 hyphens) and :8 will start the x-session w/ gnome on console 8 (F8) ie WINDOWMANAGER=gnome startx(SPACE)--(SPACE):8 will start gnome for you on console 8 (F8) You can replace this w/ any windowmanager you use although I'm not sure how it is about the diferences between kde2 and 3 I've succesfully run 3 users on the same machine at the same time although I try to log them out in the same order they were logged in. See Ya -- dh I've been awake: 5 hours 12 minutes Suse Linux 7.2 professional kernel 2.4.17, xFree86 4.2.0, kde 2.2.2
On Sun, 22 Sep 2002, dh wrote:
On Sunday 22 September 2002 06:03 pm, Carlos E. R. wrote:
You wrote:
4) type startx -- :8 this will start a new x session for her. using her previous window manager
My previous sesion used gnome, but the above starts kde. Do you know how can I change that?
I went through my archives and think I found your answer (Thanks to Ed Harrison for originally providing it to me )
WINDOWMANAGER=gnome startx -- :8 (note the space between startx and the -- (2 hyphens), and between the -- (2 hyphens) and :8 will start the x-session w/ gnome on console 8 (F8)
Close, but not quite correct. This command will start a new X server on _display_ :8.0. It's only coincidental that the server is also started on _console_ 8. There's no need to specify display :8.0 for the second X session, since entering "WINDOWMANAGER=gnome startx" should work just fine. You will get a second session, using display :1.0 on virtual console 8. Jim Cunning
On Monday 23 September 2002 06.03, Jim Cunning wrote:
Close, but not quite correct. This command will start a new X server on _display_ :8.0. It's only coincidental that the server is also started on _console_ 8.
Not really coincidental. It will start on the next available tty. You can edit /etc/inittab and remove a few mingetty:s, then you can get the new X sessions on, for instance, tty2, tty3 and so forth, if you only feel you need one text console.
There's no need to specify display :8.0 for the second X session, since entering "WINDOWMANAGER=gnome startx" should work just fine. You will get a second session, using display :1.0 on virtual console 8.
I'm pretty sure you have to give a new display name. When I run it it just says "server already running on display :0". I think you have to give at least :1 or :0.1 or something. //Anders
On Mon, 23 Sep 2002, Anders Johansson wrote:
On Monday 23 September 2002 06.03, Jim Cunning wrote:
Close, but not quite correct. This command will start a new X server on _display_ :8.0. It's only coincidental that the server is also started on _console_ 8.
Not really coincidental. It will start on the next available tty. You can edit /etc/inittab and remove a few mingetty:s, then you can get the new X sessions on, for instance, tty2, tty3 and so forth, if you only feel you need one text console.
Poor choice of words on my part. What I meant was that there is no direct connection between the display started and the console it uses.
There's no need to specify display :8.0 for the second X session, since entering "WINDOWMANAGER=gnome startx" should work just fine. You will get a second session, using display :1.0 on virtual console 8.
I'm pretty sure you have to give a new display name. When I run it it just says "server already running on display :0". I think you have to give at least :1 or :0.1 or something.
Anders is right again, and I was too hasty in my assertion. The only one of the examples Anders provided that works is ":1" -- assuming you're running the default display :0 There is a way to start another X login screen from an already running X session. If you set DISPLAYMANAGER_REMOTE_ACCESS="yes" in /etc/sysconfig/displaymanager (assuming you're running 8.0), then you can enter the command Xwrapper -query localhost :1 & and get the KDM login greeting in a new X display. You could login as any user you wish. This would be advisable only if you're behind a firewall or on a trusted network, because I believe this would open up port 177 (xdmcp) used by KDM. There may be other ways to secure or limit X display manager login access (/etc/X11/xdm/Xaccess), but I don't know if KDM uses that. Jim
On Sunday 22 September 2002 09:03 pm, Jim Cunning wrote:
On Sun, 22 Sep 2002, dh wrote:
On Sunday 22 September 2002 06:03 pm, Carlos E. R. wrote:
You wrote:
4) type startx -- :8 this will start a new x session for her. using her previous window manager
My previous sesion used gnome, but the above starts kde. Do you know how can I change that?
I went through my archives and think I found your answer (Thanks to Ed Harrison for originally providing it to me )
WINDOWMANAGER=gnome startx -- :8 (note the space between startx and the -- (2 hyphens), and between the -- (2 hyphens) and :8 will start the x-session w/ gnome on console 8 (F8)
Close, but not quite correct. This command will start a new X server on _display_ :8.0. It's only coincidental that the server is also started on _console_ 8. There's no need to specify display :8.0 for the second X session, since entering "WINDOWMANAGER=gnome startx" should work just fine. You will get a second session, using display :1.0 on virtual console 8.
Jim Cunning
I think I understand what you're saying, (I'll have to read more closely when I'm more awake.) Thanks for the correction. -- dh I've been awake: 7 hours 50 minutes Suse Linux 7.2 professional kernel 2.4.17, xFree86 4.2.0, kde 2.2.2
participants (5)
-
Anders Johansson
-
Carlos E. R.
-
dh
-
Jim Cunning
-
todd aron