Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 28 Aug 2014, 01:24
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Unable To Lock XScreensaver in XFCE 4.10
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
jimwg

Joined: 18 Aug 2013
Posts: 121

PostPosted: Mon 28 Oct 2013, 07:04    Post subject:  Unable To Lock XScreensaver in XFCE 4.10  

Greetings!

I'm unable to make Xscreensaver lock in XFCE 4.10 in Precise Retro 5.1.1 32bit, despite toggling the lock check. Xscreensaver otherwise works. When I use the panel buttons to drop xscreensaver's function panel another box also drops down stating:

xscreensaver-demo is running as user "root" on host "puppypc8702".
But the xscreensaver managing display ":0.0"
is running as user "nobody" on host "puppypc8702".

Since they are different users, they won't be reading/writing
the same ~/.xscreensaver file, so xscreensaver-demo isn't
going to work right.

You should either re-run xscreensaver-demo as "nobody", or re-run
xscreensaver as "root".

I don't know whether this impacts my locking problem. I was told to use xflock4 with xscreensaver but that locks me out totally because my password doesn't work with it and besides it isn't a timed lock-out like xscreensaver is. As an aside, when I boot-up it's in basic JWM mode with the XFCE session box appearing to pick and launch me into full XFCE mode, though I can switch between them via the Swapicons app hot-corner, in case this might have a bearing on my issue.

Thanks for any input!

Jim in NYC
Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3195
Location: Chickasha Oklahoma

PostPosted: Wed 06 Nov 2013, 01:44    Post subject:  

Very Happy Hello, Try launching it with this script:

#!/ bin/sh
cd /
chmod 777 root
su nobody -c xscreensaver-demo
#exit
cd /
chmod 755 root

_________________
Close the Windows, and open your eyes, to a whole new world
http://puppylinuxstuff.meownplanet.net/puppyluvr/
Puppy Linux Users Group on Facebook

Puppy since 2.15CE...

Last edited by puppyluvr on Wed 06 Aug 2014, 20:05; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
jimwg

Joined: 18 Aug 2013
Posts: 121

PostPosted: Fri 08 Nov 2013, 17:10    Post subject:  

puppyluvr wrote:
Very Happy Hello, Try launching it with this script:

#!/ bin/ sh
cd /
chmod 777 root
su nobody -c xscreensaver-demo
#exit
cd /
chmod 755 root


Going to give it a whirl tonight! Thanks!

Jim in NYC
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Wed 06 Aug 2014, 20:01    Post subject:  

The script has 2 little mistakes (blank spaces), just in the beginning. Instead of ...
Code:
#!/ bin/ sh

it's ...
Code:
#!/bin/sh


If you don't correct it you can't run the program. You get this message:
Quote:
Failed to execute child process "/root/viendo.sh" (Permission denied)


When you correct the script and run it (before you have to give it the execution permission) you get this message:
Quote:
Warning: Directory does not exist: "/usr/share/wallpapers"

You can solve it creating it or changing the folder or directory there.

Sometimes you get this:
Quote:
The XScreenSaver daemon doesn't seem to be running on display ":0". Launch it now?

I think that you have to click on "Yes" then.

This way the XScreenSaver application seems to work well, except for the options "Lock Screen After", "Text Manipulation" and "Image Manipulation" (instead of our images or photos default ones are used by the modes that use them). The "Display Power Management" seems to work OK.
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Wed 06 Aug 2014, 20:03    Post subject:  

My last message is for Slacko Puppy version 5.7 on a Live USB.
Back to top
View user's profile Send private message 
puppyluvr


Joined: 06 Jan 2008
Posts: 3195
Location: Chickasha Oklahoma

PostPosted: Wed 06 Aug 2014, 20:06    Post subject:  

Very Happy Hello,
A typo corrected 18 months late!!

_________________
Close the Windows, and open your eyes, to a whole new world
http://puppylinuxstuff.meownplanet.net/puppyluvr/
Puppy Linux Users Group on Facebook

Puppy since 2.15CE...
Back to top
View user's profile Send private message Visit poster's website 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Wed 06 Aug 2014, 20:24    Post subject:  

Only the half, 9!! Smile I first saw this thread this week ... Smile

OK, and I tested it, and gave more info ...
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Wed 06 Aug 2014, 20:26    Post subject:  

In this year's Slacko if you run XScreensaver without the above script you also get the root/nobody error message.
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Thu 07 Aug 2014, 09:08    Post subject:  

@puppyluvr: thanks for editing the script. There is still a blank space in "#!/ bin/sh". If you could remove it so it's OK, please.
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Thu 07 Aug 2014, 09:34    Post subject:  

In Slacko 5.7 by default we have a very simple screen saver (blank the screen): puxX (GUI for xset). It's in Menu - Desktop - pupX set properties of X - Screensaver.

And we also have by default the ones of xlock (password protected). If you run it with no parameters a random screensaver (animation mode) appears. To choose one we can run:
Code:
xlock -mode goop

or
Code:
xlock -mode matrix

or
...

N.B.: we only have some of the modes of http://linux.die.net/man/1/xlock, seen in http://xlock.free.fr/screen.php3. These ones: http://puppylinuxfaq.org/bundled-software/68-xlock-password-screen-saver.html (I thiink instead of "You set a hot key" it should say "You set a password").
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Thu 07 Aug 2014, 09:39    Post subject:  

xlock locks the local X display (screen) until a password is entered.
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Thu 07 Aug 2014, 09:47    Post subject:  

The DPMS parameters (dpmsstandby, dpmssuspend and dpmsoff) don't work, so xlock is not valid to turn the screen off or make it "sleep" or "rest".
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Thu 07 Aug 2014, 09:57    Post subject:  

If we run xlock from the desktop (lock) or menu (->System) icons by default it uses the goop mode. We can change it right clicking on the desktop icon - Configure screen locking.
Back to top
View user's profile Send private message 
zandarian

Joined: 14 Oct 2009
Posts: 111

PostPosted: Thu 07 Aug 2014, 12:32    Post subject:  

Just in case: I use the default window manager (only one by default) of Slacko: JWM. I haven't used XFCE with Puppy Linux.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0686s ][ Queries: 12 (0.0045s) ][ GZIP on ]