You are not logged in.

#1 2013-01-17 20:34:00

paris3200
Member
Registered: 2012-12-08
Posts: 22

[SOLVED] Multiple X Sessions

I've looked through the forum, wiki and google and haven't been able to find an answer.  The problem is I don't know specifically what questions to ask. 

Currently I'm using Slim as my login manager and awesome as my window manager.  What I want to be able to do is for my wife to start a parallel session and login using slim.  Currently she is doing ctrl+alt+F6, logging in and then running startx.  She is having trouble remembering these steps and is getting very frustrated.  Is there a way for her to start another x session using slim or another login manager?

Last edited by paris3200 (2013-01-17 21:41:37)

Offline

#2 2013-01-17 20:47:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Multiple X Sessions

Just put this in her .profile:

# startx on TTY6                                                                                                
  if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty6 ]]; then
   exec startx -- vt6 &>/dev/null 
   logout
fi

She just needs to Ctrl-Alt-F6 and enter her username and password (which she would have to do in a login manager anyway)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-01-17 20:52:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,606
Website

Re: [SOLVED] Multiple X Sessions

You want a 'fast user switching' solution on awesome/slim?  Do I understand correctly?  Lxdm offers this which is how the wife and I can use the same box on occasion.  See this wiki page:  https://wiki.archlinux.org/index.php/LX … hing_Users


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2013-01-17 21:07:08

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: [SOLVED] Multiple X Sessions

Among the login managers Qingy claims to be able to do it:
http://qingy.sourceforge.net/

Qingy runs in place of getty, so when you switch vts you see another instance of the login manager.
Also easily themeable, which is why I like it.

Offline

#5 2013-01-17 21:41:10

paris3200
Member
Registered: 2012-12-08
Posts: 22

Re: [SOLVED] Multiple X Sessions

I edited her bash profile.  Thanks for all the information.  If she still has problems I may consider switching to Lxdm or Qingy.

Offline

Board footer

Powered by FluxBB