Results 1 to 5 of 5

Thread: Multiple sessions, how???

  1. #1
    Join Date
    Mar 2008
    Location
    Las Vegas
    Beans
    1,148

    Multiple sessions, how???

    Hey All,
    So sometimes I screw up while 'optimizing' and would like to have access to another session. I've read the post here and actually on one occasion was presented with the login screen on another virtual terminal. I can't remember how I did it though and can't read my notes!
    I've tried going to another terminal and from my text login:
    Code:
    sudo /usr/bin/startx /etc/init.d/gdm start -- :x
    I've tried various numbers for x and have tried with and without a trailing &.

    Any help on doing this, i.e. step 1, 2, 3, etc. will be greatly appreciated!

    TIA,
    Barrie
    Debian Stable
    FluxBox
    Mark Your Thread Solved

  2. #2
    Join Date
    Mar 2008
    Location
    Las Vegas
    Beans
    1,148

    Re: Multiple sessions, how???

    Just tried: (from tty1, logged in as root)
    Code:
    sudo /usr/bin/startx /usr/bin/gnome-session -- :1 &
    and it logged me in as root with a GUI session. How do I get the login screen to choose sessions???

    Anyone?

    TIA
    Debian Stable
    FluxBox
    Mark Your Thread Solved

  3. #3
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: Multiple sessions, how???

    Stop that, no biscuit. Don't start X as root.
    Code:
    xinit /usr/bin/gnome-session -- :1
    This creates a new pts. You can switch back to the other one with ctrl-alt-f7 and back to the new one with ctrl-alt-f8.

  4. #4
    Join Date
    Mar 2008
    Location
    Las Vegas
    Beans
    1,148

    Re: Multiple sessions, how???

    Quote Originally Posted by falconindy View Post
    Stop that, no biscuit. Don't start X as root.
    Code:
    xinit /usr/bin/gnome-session -- :1
    This creates a new pts. You can switch back to the other one with ctrl-alt-f7 and back to the new one with ctrl-alt-f8.
    Thank you! Worked as advertised!!!

    Barrie
    Debian Stable
    FluxBox
    Mark Your Thread Solved

  5. #5
    Join Date
    Apr 2009
    Beans
    228

    Re: Multiple sessions, how???

    Sorry to re-open, but:

    I'm sure this was once possible, but when I try it now, this is the output:

    Code:
    snoopy@snoopy:~$ sudo xinit /usr/bin/gnome-session --:1
    
    Fatal server error:
    Server is already active for display 0
            If this server is no longer running, remove /tmp/.X0-lock
            and start again.
    
    
    Please consult the The X.Org Foundation support 
             at http://wiki.x.org
     for help. 
    
     ddxSigGiveUp: Closing log
    snoopy@snoopy:~$
    What am I missing? Need to stop X before this? If so, my original session (on Ctrl+Alt+F7) will be gone, right?

    Also, where can I find this log so I can trim it?

    BTW, when I run this without sudo, I get a permissions error (not authorized).

    Thanks in advance
    Last edited by r_avital; November 18th, 2011 at 02:08 AM.
    http://folding.extremeoverclocking.c...avital&t=45104
    "I fear the day technology will surpass our human interaction. The world will have a generation of idiots."
    ― Albert Einstein

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •