Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-10-21 21:27:20

sambul14
Member
Registered: 2012-10-20
Posts: 7

No login screen at wakeup

I installed XFCE in ArcLinux, and have some login issues:

- no login screen on wakeup from Standby, despite Lock Screen is selected in Power Manager
- no Power Manager icon

Is there anything I should add? Will installing xscreensaver fix these issues?

Offline

#2 2012-10-22 13:48:45

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: No login screen at wakeup

sambul14 wrote:

I installed XFCE in ArcLinux, and have some login issues:

- no login screen on wakeup from Standby, despite Lock Screen is selected in Power Manager

If it uses xflock you may have to edit /usr/bin/xflock4 for it to use the screen locker you have.

sambul14 wrote:

- no Power Manager icon

For what, battery? Open the power manager settings and choose when to show the icon.

Offline

#3 2012-10-22 16:26:06

sambul14
Member
Registered: 2012-10-20
Posts: 7

Re: No login screen at wakeup

I mean Power Manager Icon on the lower panel that allows to click and select Standby, Reboot or Shutdown.

I didn't install any screen locker, expecting it be part of the system. What screen locker would you suggest? Did you mean, XFCE uses xflock to show login screen, or ArchLinux? How would I find that out?

Offline

#4 2012-10-23 21:16:23

sambul14
Member
Registered: 2012-10-20
Posts: 7

Re: No login screen at wakeup

I have xflock4 installed. How to modify its file to use with xscreensaver?

    "gnome-screensaver-command --lock"
do
    $lock_cmd >/dev/null 2>&1 && exit
done

# else run another access locking utility, if installed
for lock_cmd in \
  "xlock -mode blank" \
  "slock"
  do
    set -- $lock_cmd
    if command -v -- $1 >/dev/null 2>&1; then
        $lock_cmd >/dev/null 2>&1 &
<------># turn off display backlight:
<------>xset dpms force off
        exit
    fi
done

# else access locking failed
exit 1 

The screensaver is started from a .xinitrc line. Should I start xflock4 also by a line in .xinitrc?

Last edited by sambul14 (2012-10-23 21:17:11)

Offline

#5 2012-10-23 21:38:43

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: No login screen at wakeup

Open 'man xscreensaver' or 'xscreensaver --help', look at the command-line option to lock the screen and replace 'slock' in the file for the xscreensaver command.
Or add a \ at the slock line and put the xscreensaver command on the next line.

Offline

#6 2012-10-30 16:35:36

sambul14
Member
Registered: 2012-10-20
Posts: 7

Re: No login screen at wakeup

I now installed LXDM Display Manager in ArchLinux, which shows the Login Screen, and auto starts XFCE after login in. I believe that XFCE auto starts xscreensaver now, despite .xinitrc file is no longer used to start XFCE and xscreensaver.

So, the problem now is, how to disable xscreensaver after login in as root? Xscreensaver-demo starts as nobody user, when logged in as root, so its useless for changing any settings or select a theme. I was looking for any XFCE conf files that auto start xscreensaver to disable it, but can't find which file it is, certainly not .xinitrc. Anyone can help?

Offline

#7 2012-11-02 15:23:58

secipolla
Member
Registered: 2012-01-15
Posts: 393

Re: No login screen at wakeup

Pardon me but why are you logging in as root?
To disable xscreensaver try looking in Settings>Session and Startup

As for the panel icon you asked for, right-click the panel>Panel>Add New items... and add 'Action Buttons'. Then customize it the way you want.

Offline

Board footer

Powered by FluxBB