Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
xfce:xfce4-session:advanced [2012/01/13 17:25] – [Files and Environment Variables] nick | xfce:xfce4-session:advanced [2021/02/08 05:20] – kevinbowen | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Advanced ====== | + | ~~NOTOC~~ |
+ | {{ : | ||
+ | ====== | ||
+ | ===== Auto login from console ===== | ||
+ | |||
+ | Instead of using a desktop manager, you can also auto login from the console. If you use bash, you can put the following in your '' | ||
+ | |||
+ | if [ " | ||
+ | startxfce4 | ||
+ | fi | ||
+ | |||
+ | This will start Xfce if you login from the first console. For properly registering the ConsoleKit session, you probably want to add ''< | ||
+ | |||
+ | ===== SSH and GPG Agents ===== | ||
+ | |||
+ | 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 / | ||
+ | xfconf-query -c xfce4-session -p / | ||
+ | |||
+ | To force the '' | ||
+ | |||
+ | xfconf-query -c xfce4-session -p / | ||
+ | |||
+ | In case you want to use gnome-keyring enable the {gui> | ||
+ | |||
+ | ===== ConsoleKit ===== | ||
+ | |||
+ | The Xfce Desktop requires an active ConsoleKit session to function properly. ConsoleKit is used for system actions like shutdown, suspend and (un)mounting devices (through Polkit for authorization). In case you use a desktop manager, the DM will take care of that. For console starts this is a bit different. | ||
+ | |||
+ | - If you login on the console (without starting X) run '' | ||
+ | - In 4.10, start Xfce with '' | ||
+ | - When Xfce is started and you run '' | ||
===== Files and Environment Variables ===== | ===== Files and Environment Variables ===== | ||
Line 27: | 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 '' | 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 '' | ||
- | 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 '' |
[xfce4-session] | [xfce4-session] | ||
Line 37: | 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 '' |
The session manager supports the following KIOSK capabilities: | The session manager supports the following KIOSK capabilities: |