Unix Technical Forum

Multi-user X sessions

This is a discussion on Multi-user X sessions within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I am just getting going setting up a Gentoo system. I have done many installs of Redhat and Fedora ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 09:08 AM
Tom
 
Posts: n/a
Default Multi-user X sessions

I am just getting going setting up a Gentoo system. I have done many
installs of Redhat and Fedora without X, so this is my first time
setting up and using a gui. What I'd like to accomplish is get a
system going for 3-4 users, everyone with their own x-session when
they log in, much like multi-users on an XP box.

I've seen where something along these lines could be done with:

startx -- :1 (or 2, or whatever...)

....but this box will be for my kids, and the youngest can't spell
"startx" yet. Any way I can make it happen automagically?

Thanks,


Tom
--
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 09:08 AM
Ben Measures
 
Posts: n/a
Default Re: Multi-user X sessions

Tom wrote:
>
> I am just getting going setting up a Gentoo system. I have done many
> installs of Redhat and Fedora without X, so this is my first time
> setting up and using a gui. What I'd like to accomplish is get a
> system going for 3-4 users, everyone with their own x-session when
> they log in, much like multi-users on an XP box.
>
> I've seen where something along these lines could be done with:
>
> startx -- :1 (or 2, or whatever...)
>
> ...but this box will be for my kids, and the youngest can't spell
> "startx" yet. Any way I can make it happen automagically?


Currently I've setup gdm to display 2 graphical login screens with:
0=Standard
1=Standard
in the [servers] section. This can be easily extended to 4 or 5 login
screens (accessible with Alt-F7 to Alt-F11).

Ideally though, I'd like Vt7 to always display a graphical login screen,
spawning new screens for new logins. However, since I haven't found out
how to do so yet (or even if it's possible) any pointers anybody can
give would be much appreciated.

Hth,
--
Ben M.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 09:08 AM
Chris Tunnell
 
Posts: n/a
Default Re: Multi-user X sessions

So you want every user to have their own x-session? Meaning, if your
child wants to use the computer they must hit ctrl-f8? This is possible.

If you want the exact same thing as XP, it might require a few tricks.
You could start up an x-session for each user and just have buttons
(maybe with the userīs name underneath) that run the equivalent command
of ctrl-fX. This wouldnīt be that hard, but would require a few tricks
and have almost no security measures to protect users from one another
since they would all be able to switch who they are easily (unless you
wanted to lock screens when away or something like that).

Would this work? If so, I can give you a few pointers.


Tom wrote:
> I am just getting going setting up a Gentoo system. I have done many
> installs of Redhat and Fedora without X, so this is my first time
> setting up and using a gui. What I'd like to accomplish is get a
> system going for 3-4 users, everyone with their own x-session when
> they log in, much like multi-users on an XP box.
>
> I've seen where something along these lines could be done with:
>
> startx -- :1 (or 2, or whatever...)
>
> ...but this box will be for my kids, and the youngest can't spell
> "startx" yet. Any way I can make it happen automagically?
>
> Thanks,
>
>
> Tom

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 09:08 AM
Tom
 
Posts: n/a
Default Re: Multi-user X sessions

On Stardate Mon, 31 Jan 2005 14:06:38 -0600, Chris Tunnell
<insert_last_name@mail.utexas.edu> wrote:

>So you want every user to have their own x-session? Meaning, if your
>child wants to use the computer they must hit ctrl-f8? This is possible.
>
>If you want the exact same thing as XP, it might require a few tricks.
>You could start up an x-session for each user and just have buttons
>(maybe with the userīs name underneath) that run the equivalent command
>of ctrl-fX. This wouldnīt be that hard, but would require a few tricks
>and have almost no security measures to protect users from one another
>since they would all be able to switch who they are easily (unless you
>wanted to lock screens when away or something like that).
>
>Would this work? If so, I can give you a few pointers.


While the latter sounds great, it's a bit much for what I need. I
guess I was a bit sparse on the details. I didn't mean a login screen
just like XP's, but I'd like them to login from their own alt-f*
screen with a username and passwd and have it start an xsession for
them, regardless of whether the last person using the box had logged
off his xsession.



Tom
--
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 09:08 AM
Lee Harr
 
Posts: n/a
Default Re: Multi-user X sessions

On 2005-01-31, Tom <telsesser@mindspring.com> wrote:
> On Stardate Mon, 31 Jan 2005 14:06:38 -0600, Chris Tunnell
><insert_last_name@mail.utexas.edu> wrote:
>
>>So you want every user to have their own x-session? Meaning, if your
>>child wants to use the computer they must hit ctrl-f8? This is possible.
>>
>>If you want the exact same thing as XP, it might require a few tricks.
>>You could start up an x-session for each user and just have buttons
>>(maybe with the userīs name underneath) that run the equivalent command
>>of ctrl-fX. This wouldnīt be that hard, but would require a few tricks
>>and have almost no security measures to protect users from one another
>>since they would all be able to switch who they are easily (unless you
>>wanted to lock screens when away or something like that).
>>
>>Would this work? If so, I can give you a few pointers.

>
> While the latter sounds great, it's a bit much for what I need. I
> guess I was a bit sparse on the details. I didn't mean a login screen
> just like XP's, but I'd like them to login from their own alt-f*
> screen with a username and passwd and have it start an xsession for
> them, regardless of whether the last person using the box had logged
> off his xsession.
>
>



You could add something like startx -- :12 to their ~/.login

give each person a unique number so they don't clash.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 09:09 AM
jim
 
Posts: n/a
Default Re: Multi-user X sessions

Tom wrote:

> On Stardate Mon, 31 Jan 2005 14:06:38 -0600, Chris Tunnell
> <insert_last_name@mail.utexas.edu> wrote:
>
>>So you want every user to have their own x-session? Meaning, if your
>>child wants to use the computer they must hit ctrl-f8? This is possible.
>>
>>If you want the exact same thing as XP, it might require a few tricks.
>>You could start up an x-session for each user and just have buttons
>>(maybe with the userīs name underneath) that run the equivalent command
>>of ctrl-fX. This wouldnīt be that hard, but would require a few tricks
>>and have almost no security measures to protect users from one another
>>since they would all be able to switch who they are easily (unless you
>>wanted to lock screens when away or something like that).
>>
>>Would this work? If so, I can give you a few pointers.

>
> While the latter sounds great, it's a bit much for what I need. I
> guess I was a bit sparse on the details. I didn't mean a login screen
> just like XP's, but I'd like them to login from their own alt-f*
> screen with a username and passwd and have it start an xsession for
> them, regardless of whether the last person using the box had logged
> off his xsession.
>
>
>
> Tom
> --

Two ideas.
1) Instead of the child typing in statx blah blah, use a script
2) Use qingy. Kids like it. (I am after all, just a big kid)
You can get details at the web site (google qingy)
It uses a frame buffer for graphics, so it is low overhead.
You can have a different graphic background for each vitual terminal
Logging in another user when someone already has an x session going is as
simple as Alt+F(pick a number from one to say five) and type the user name
and password and hit enter.

--
jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 09:09 AM
Tom
 
Posts: n/a
Default Re: Multi-user X sessions

On Stardate Tue, 01 Feb 2005 02:49:16 GMT, jim <javastead@fastmail.us>
wrote:

>Two ideas.
>1) Instead of the child typing in statx blah blah, use a script
>2) Use qingy. Kids like it. (I am after all, just a big kid)
>You can get details at the web site (google qingy)
>It uses a frame buffer for graphics, so it is low overhead.
>You can have a different graphic background for each vitual terminal
>Logging in another user when someone already has an x session going is as
>simple as Alt+F(pick a number from one to say five) and type the user name
>and password and hit enter.


Excellent idea, and coupled with Lee's tip I have exactly what I need
know. Thanks for the help.




Tom
--
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 09:10 AM
David
 
Posts: n/a
Default Re: Multi-user X sessions

why not just start the system in runlevel 5 (gui login) rather than in
text mode?

Tom wrote:
> On Stardate Tue, 01 Feb 2005 02:49:16 GMT, jim <javastead@fastmail.us>
> wrote:
>
>
>>Two ideas.
>>1) Instead of the child typing in statx blah blah, use a script
>>2) Use qingy. Kids like it. (I am after all, just a big kid)
>>You can get details at the web site (google qingy)
>>It uses a frame buffer for graphics, so it is low overhead.
>>You can have a different graphic background for each vitual terminal
>>Logging in another user when someone already has an x session going is as
>>simple as Alt+F(pick a number from one to say five) and type the user name
>>and password and hit enter.

>
>
> Excellent idea, and coupled with Lee's tip I have exactly what I need
> know. Thanks for the help.
>
>
>
>
> Tom

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com