Results 1 to 6 of 6

Thread: Alt+F2 command to open "close session+change user" dialog?

  1. #1

    Default Alt+F2 command to open "close session+change user" dialog?

    Hello:

    I would like to know which command should I enter in the execute dialog (opened with Alt+F2) so the dialog to close session and change the user opens.

    Thank you

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Alt+F2 command to open "close session+change user" dialog?

    I found this on the net and it did work for me, this is for KDE users only:

    For KDE 3.x, I use the command:

    $ dcop --all-sessions --user username ksmserver default logout 0 0 0

    For KDE 4.x, make sure the environment variable DBUS_SESSION_BUS_ADDRESS is set for the appropriate session.
    You can usually find this in /usr/home/username/.dbus/session-bus/. Then use the command:

    $ qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 0 0
    See if this was what you were looking for.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: Alt+F2 command to open "close session+change user" dialog?

    Hi & thanks:

    Sorry, I forgot to say that the openSUSE I use has GNOME. Just in case I've tried those 2 options whit no success, as expected.

    Any other ideas?

    Thanks?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    16,414
    Blog Entries
    14

    Default Re: Alt+F2 command to open "close session+change user" dialog?

    Hi
    You need to use the command;
    Code:
    gnome-session-save --logout-dialog
    Use the following (in a terminal session) to see other command options;
    Code:
    gnome-session-save --help
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Alt+F2 command to open "close session+change user" dialog?

    Hi & thanks:

    Sorry, I forgot to say that the openSUSE I use has GNOME. Just in case I've tried those 2 options whit no success, as expected.

    Any other ideas?

    Thanks?
    It looks like malcolmlewis has got you covered there j6w2 as you did not specify the desktop you were using in your first message.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6

    Thumbs up Re: Alt+F2 command to open "close session+change user" dialog?

    It works !!

    You're great, guys!!

    Thanks to you I've found the equivalent to open the shutdown dialog:
    Code:
    gnome-session-save --shutdown-dialog
    This is the last dialog we see when using the computer. It gives the possibility to switch or turn the PC off, reboot the machine, suspend it or hibernate it.

    Thanks a lot!

Posting Permissions

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