No way to start Xfce in locked state?
I don't know if this is a problem of the screensaver or if this needs changes in other central components:
I found no way to start a new Xfce session in locked state (not after hibernate or sleep, but after a reboot). As far as I know, KDE and Gnome can do this.
The only way I found to lock the desktop at session startup was autostarting a shell script which repeats "xfce4-screensaver-command -l" without delay within an "until" loop until it succeeds.
However, even with that full speed loop started as soon as possible, the desktop is visible and accessible for slightly less then a second before locking blocks the view and access. Very bad and insecure. Moreover, repeating "xfce4-screensaver-command -l" at full speed consumes considerable CPU during startup.
Rationale for this requirement: I use autologin in the display manager to completely load and start all of my desktop as soon and as fast as possible, and want to enter the password and unlock the system quickly after everything has already been initialized. One reason is that the X server (more exactly: my graphics card driver) takes about 15 seconds to initialize the display connected via the docking station.
If I log in via the display manager, I have to wait twice: 15 seconds before and 15 seconds after entering the password. When configuring the display manager for autologin and entering the password at the lock screen, I have to wait 15 seconds only once and have my desktop ready to work immediately after entering the password.