~~NOTOC~~ {{ :xfce:xfce4-session.png?nolink|}} ====== xfce4-session - Frequently Asked Questions ====== * **[[#Some of my applications are always started when I login|Some of my applications are always started when I login]]** * **[[#I'm unable to shutdown or restart my computer when running Xfce|I'm unable to shutdown or restart my computer when running Xfce]]** * **[[#I don't see the logout dialog when I press the quit button|I don't see the logout dialog when I press the quit button]]** ---- ==== Some of my applications are always started when I login ==== There are two possible reasons why the application is started: It is saved in the last session or it is listed in the auto started applications. Follow 1 of the two steps below to get rid of the applications. * Go to the Application Autostart tab ([[:xfce:xfce4-session:4.18:preferences#application_autostart]]) in the Session and Startup configuration applet and remove the application(s). You can also manually delete those files in ''~/Desktop/Autostart'' and ''~/.config/autostart''. * Most of the time closing all the applications and save your session when you logout is sufficient. If this doesn't work, remove the content of the ''~/.cache/sessions/'' directory when you're **not** logged in. And if you don't want xfce remember every session you should turn off (uncheck) "Automatically save session on logout" in Settings Manager -> Sessions and Startup (tab General) ---- ==== I'm unable to shutdown or restart my computer when running Xfce. ==== There are two way to fix this: sudo and hal/dbus. Default starting from version 4.4 is hal. == Using sudo == You have to allow the user(s) to execute ''/libexec/xfsm-shutdown-helper'' with sudo. ''/libexec/'' may be changed on your distribution, i.e. ''/usr/lib/xfce4/session/''. Install sudo and run ''visudo'' (root) and add the following line (replace prefix with the correct path): %users ALL = NOPASSWD:/libexec/xfsm-shutdown-helper Add the user to the ''users'' group (root): gpasswd -a users Add the user to the ''power'' group: gpasswd -a power When you logout and login again, the shutdown and restart buttons should be sensitive. For more information you can referrer to the xfce4-session and sudo documentation. == Using hal and dbus == Make sure that the hal and dbus daemons are started on boot, and that you are running a recent version of dbus (at least 1.1). Refer to your distribution for exact steps. In the steps below the groupname "**power**" is used. This is __DEPENDING ON YOUR DISTRIBUTION__. Your /etc/dbus-1/system.d/hal.conf should contain a section similar to this: ... Add the user to the ''power'' group (root): gpasswd -a power When you logout and login again, the shutdown and restart buttons should be sensitive. ---- ==== I don't see the logout dialog when I press the quit button ==== Enable the checkbox "Prompt on logout" in the session manager settings. [[|Back To Top]] ---- [[:xfce:xfce4-session:4.18:start:|Return to xfce4-session 4.18 Main Documentation Page]]