Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-08-29 22:02:19

johnywhy
Member
Registered: 2011-10-09
Posts: 283

Warnings on Logout Without Prompt

Running pure arch with xfce. I cleared the session cache directory.

If i uncheck "Prompt on logout" in xfce settings, then when i click the logout button on whisker menu, i drop right to command line. The user isn't logged out.

Is that expected behavior?

I also see various warnings. Are these of concern?

gpg-agent returned no PID in the variables...

xfsm_manager_load_session: something wrong with /home/johny/.cache/sessions/xfce4-session-myegg:0, Does it exist? Permissions...

Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.

Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.

Failed to send GetTerminationStatus message to zygote(11) Server terminated successfully.

https://imgur.com/WACCVg4


arch xfce x86_64

Offline

#2 2019-09-16 11:06:49

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Warnings on Logout Without Prompt

johnywhy wrote:

If i uncheck "Prompt on logout" in xfce settings, then when i click the logout button on whisker menu, i drop right to command line. The user isn't logged out.

Is that expected behavior?

This depends on how you start Xfce. If you use a display manager, then the display manager may (and most do) log you out. If you log in manually first on the terminal, then exiting Xfce will just return you to the terminal.

I also see various warnings. Are these of concern?

gpg-agent returned no PID in the variables...

This is a warning message that can be ignored.

xfsm_manager_load_session: something wrong with /home/johny/.cache/sessions/xfce4-session-myegg:0, Does it exist? Permissions...

A warning message as well - it can't find any saved sessions.

Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.

Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.

These are not right. You appear to have incorrect xdg settings. What is the content of your ~/.config/user-dirs.dirs file?

Failed to send GetTerminationStatus message to zygote(11) Server terminated successfully.

Not sure what zygote is...


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-09-16 16:14:38

johnywhy
Member
Registered: 2011-10-09
Posts: 283

Re: Warnings on Logout Without Prompt

Missing prompt solved.

The command

xfce4-session-logout

displays the prompt dialog-box, as expected.

I was using a Whisker menu item which contains:

xfce4-session-logout --logout --fast

which correctly doesn't show the prompt-dialog.

xfce4-session-logout --help
...
-l, --logout             Log out without displaying the logout dialog

None of these actually logout the user, they just exit the desktop. `exit` is still required to actually logout the user.

So both seem misnamed commands. `logout` should be `exit`, and `exit`should be `logout` big_smile

Last edited by johnywhy (2019-09-16 16:17:32)


arch xfce x86_64

Offline

#4 2019-09-16 21:25:15

johnywhy
Member
Registered: 2011-10-09
Posts: 283

Re: Warnings on Logout Without Prompt

ToZ wrote:

You appear to have incorrect xdg settings. What is the content of your ~/.config/user-dirs.dirs file?

cat  ~/.config/user-dirs.dirs
cat: /home/johny/.config/user-dirs.dirs: No such file or directory

.config]$ ls -a
.                chromium        goa-1.0        mimeapps.list  session
..               dconf           google-chrome  mpv            smplayer
QtProject.conf   dragonplayerrc  gtk-2.0        nautilus       smtube
Thunar           enchant         gtk-3.0        opera          volumeicon
autostart        evolution       leafpad        procps         xfce4
bakamplayer.ini  geary           midori         ristretto      xnoise

Last edited by johnywhy (2019-09-16 21:26:11)


arch xfce x86_64

Offline

#5 2019-09-16 21:42:35

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Warnings on Logout Without Prompt

Installing xdg-user-dirs should get rid of that message for you.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB