Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
xfce:xfce4-session:advanced [2012/05/02 13:15] – [SSH and GPG Agents] nickxfce:xfce4-session:advanced [2021/02/08 05:20] kevinbowen
Line 1: Line 1:
-====== Advanced ======+~~NOTOC~~ 
 +{{ :xfce:xfce.session.png?no link|}} 
 +====== xfce4-session - Advanced Topics ======
  
 ===== Auto login from console ===== ===== Auto login from console =====
Line 13: Line 15:
 ===== SSH and GPG Agents ===== ===== SSH and GPG Agents =====
  
-By default xfce4-session tries to start the gpg- or ssh-agent. To disable this run the following command:+By default xfce4-session tries to start the gpg- or ssh-agent. To disable this run the following commands:
  
   xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false   xfconf-query -c xfce4-session -p /startup/ssh-agent/enabled -n -t bool -s false
 +  xfconf-query -c xfce4-session -p /startup/gpg-agent/enabled -n -t bool -s false
  
 To force the ''ssh-agent'' instead of the ''gpg-agent'' use the following command: To force the ''ssh-agent'' instead of the ''gpg-agent'' use the following command:
Line 28: Line 31:
  
   - If you login on the console (without starting X) run ''ck-list-sessions''. Make sure ''active = TRUE'' and ''is-local = TRUE''. If not, check if the consolekit library is loaded by PAM.   - If you login on the console (without starting X) run ''ck-list-sessions''. Make sure ''active = TRUE'' and ''is-local = TRUE''. If not, check if the consolekit library is loaded by PAM.
-  - In 4.10, start Xfce with ''startxfce4 --with-ck-launch''. This will start xfce4-session with //ck-launch-session//. In 4.10, Xfce4-sesion will take care of the dbus-session launch.+  - In 4.10, start Xfce with ''startxfce4 <nowiki>--with-ck-launch</nowiki>''. This will start xfce4-session with //ck-launch-session//. In 4.10, Xfce4-sesion will take care of the dbus-session launch.
   - When Xfce is started and you run ''ck-list-sessions'', a second session is created that should give you all required permissions to mount devices and execute power actions (depending per-distribution, you might need to add yourself to various user groups).   - When Xfce is started and you run ''ck-list-sessions'', a second session is created that should give you all required permissions to mount devices and execute power actions (depending per-distribution, you might need to add yourself to various user groups).
 ===== Files and Environment Variables ===== ===== Files and Environment Variables =====
Line 56: Line 59:
 The session manager offers support for the Kiosk Mode, that helps to prevent users from making changes to their session settings. To use it you have to edit or create the file ''${sysconfdir}/xdg/xfce4/kiosk/kioskrc''. The session manager offers support for the Kiosk Mode, that helps to prevent users from making changes to their session settings. To use it you have to edit or create the file ''${sysconfdir}/xdg/xfce4/kiosk/kioskrc''.
  
-The way to explain the format of this file is by using an example. The xfce4-session section of your kioskrc might look like this:+The way to explain the format of this file is by using an example. The xfce4-session section of your ''kioskrc'' file might look like this:
  
   [xfce4-session]   [xfce4-session]
Line 66: Line 69:
   CustomizeSecurity=NONE   CustomizeSecurity=NONE
  
-This allows all users to change their splash, chooser and logout settings, but allows only users in the group wheel to customize the compatibility settings and shutdown the system. No one will be allowed to adjust the security settings.+This allows all users to change their splash, chooser and logout settings, but allows only users in the group ''wheel'' to customize the compatibility settings and shutdown the system. No one will be allowed to adjust the security settings.
  
 The session manager supports the following KIOSK capabilities: The session manager supports the following KIOSK capabilities: