Logout instead of reboot

Discussion in 'Modding and Customization' started by staudtm, Dec 18, 2008.

  1. staudtm

    staudtm

    Joined:
    Dec 17, 2008
    Messages:
    2
    Likes Received:
    0
    Hi,

    I have disabled the autologin as described somewhere in this forum. After that I added some new accounts. But now I am missing a way to "logout" instead of rebooting the whole system to switch to another userid.
    Any ideas?

    Markus
     
    staudtm, Dec 18, 2008
    #1
  2. staudtm

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    I dont load gdm, so can't test it here. You can try (at your own risk) doing: ALT+CTRL+Backspace

    That *might* get you back to a login screen.

    Cheers.
     
    rbil, Dec 18, 2008
    #2
  3. staudtm

    staudtm

    Joined:
    Dec 17, 2008
    Messages:
    2
    Likes Received:
    0
    @rbil
    That *might* work, I will try it when I am back home. But actually I won't like to change the original desktop too much. Isn't there a way to add a button "LOGOUT" to the existing buttons?
    Markus
     
    staudtm, Dec 19, 2008
    #3
  4. staudtm

    Guest Guest

    in xp use windows key + l (L)
     
    Guest, Dec 20, 2008
    #4
  5. staudtm

    ianv

    Joined:
    Dec 30, 2008
    Messages:
    1
    Likes Received:
    0
    Howdy,
    Open up a terminal (<alt+F2> (enter "terminal") and find the xfce4-session process id (far left column)
    $ ps --user <your-user-name> | grep session
    and kill it at the command line (assuming that my process id is 5811) like this
    $ kill 5811

    everything will go black for a second and you will be back at the gdm login screen
    make sure you have saved & closed everything first
    This is a bit brutal but it works - ctrl/alt/backspace usually zaps the X session but doesn't work in this case

    I am looking for a nice switch & will post if I work it out
    Cheers
     
    ianv, Dec 31, 2008
    #5
  6. staudtm

    wollac

    Joined:
    Jan 4, 2009
    Messages:
    29
    Likes Received:
    0
    hi you said that you disable the auto login, which i have been trying to do for ages without sucsess. Could you tell me how, or even better how to switch the auto login to a differnt account as i am trying to make it so i can login in as the root.
     
    wollac, Jan 4, 2009
    #6
  7. staudtm

    Timothy

    Joined:
    Jan 4, 2009
    Messages:
    1
    Likes Received:
    0
    Timothy, Jan 4, 2009
    #7
  8. staudtm

    SirWilliam

    Joined:
    Oct 19, 2008
    Messages:
    22
    Likes Received:
    0
    but logging in as root will not satisfy your wishes i guess...

    there is no desktop availabile for root...

    all you can do is run programs via alt-F2...which leaves you with the terminal :) so instead you should log in as user and use
    Code:
    su -
    or
    Code:
    sudo su
    or
    Code:
    sudo bash
    or....
     
    SirWilliam, Jan 7, 2009
    #8
  9. staudtm

    hornet

    Joined:
    Jan 16, 2009
    Messages:
    4
    Likes Received:
    0
    In case someone needs it I'll post this little script to logout automatic.

    Code:
    #!/bin/sh
    
    ####
    #Chris logout script
    ####  
    
    #Avslutt session
    killall xfce4-session
    Just add a launcher with this script attached and you can logout easy. ;)
     
    hornet, Jan 16, 2009
    #9
  10. staudtm

    SirWilliam

    Joined:
    Oct 19, 2008
    Messages:
    22
    Likes Received:
    0
    but did you get it in the shutdown-menu?
     
    SirWilliam, Jan 22, 2009
    #10
  11. staudtm

    hornet

    Joined:
    Jan 16, 2009
    Messages:
    4
    Likes Received:
    0
    No I just made launchers for the options i wanted and removed the menu.
     
    hornet, Jan 25, 2009
    #11
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.