LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-17-2006, 07:35 AM   #1
Extreme Tomato
LQ Newbie
 
Registered: Feb 2006
Distribution: Zenwalk 4
Posts: 9

Rep: Reputation: 0
Xscreensaver directories


Hello,
I have been trying to set up sonar such that it can ping the rest of my network when I'm idle, however, I can't setuid root because I can't find it! I've done some research using google and the rest of this site and it seems that it should reside in /usr/X11R6/lib/xscreensaver, however, on my system that directory just doesn't exist.

The man page for xscreensaver states that for it to execute a command the path must be in my $PATH environment variable, yet no screensavers are in any of the directories in my $PATH, and I cannot start any manually merely by typing their command. Xscreensaver, however, is fully functional, so it must be capable of executing commands somehow.

I'm running XFCE 4.3.90.2 (4.4b2) and Xscreensaver 5 on what is essentially slackware.

Although I realise this isn't a particularly important issue I'd like to learn where my xscreensaver directory has gone (I have tried whereis xscreensaver to no avail) and how xscreensaver is capable of starting commands that aren't in my $PATH at all (am I missing something obvious here?).

Thanks
 
Old 06-17-2006, 08:09 AM   #2
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
On my Debian box the screensavers are located in '/usr/lib/xscreensaver' and to execute any of them I use
Code:
 ./xmatrix
 
Old 06-17-2006, 12:56 PM   #3
Extreme Tomato
LQ Newbie
 
Registered: Feb 2006
Distribution: Zenwalk 4
Posts: 9

Original Poster
Rep: Reputation: 0
I'm afraid I don't have a /usr/lib/xscreensaver either.
 
Old 06-17-2006, 06:56 PM   #4
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Could you try
Code:
 which xscreensaver
and see where it points.
 
Old 06-18-2006, 07:25 PM   #5
Extreme Tomato
LQ Newbie
 
Registered: Feb 2006
Distribution: Zenwalk 4
Posts: 9

Original Poster
Rep: Reputation: 0
Code:
$ which xscreensaver
/usr/X11R6/bin/xscreensaver
The command resides there but there are no other screensaver commands in /usr/X11R6/bin (though there are plenty of other X-related commands, including X itself) and /usr/X11R6/bin/xscreensaver is not a directory.
 
Old 06-22-2006, 06:31 PM   #6
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Sorry I haven't replied sooner been working away all week.
Ok can you try this
Code:
 xscreensaver-demo --debug
you should see something along the lines of 'xscreensaver: 08:51:43: added "/usr/lib/xscreensaver" to $PATH'

Good luck
 
Old 06-23-2006, 10:06 AM   #7
Extreme Tomato
LQ Newbie
 
Registered: Feb 2006
Distribution: Zenwalk 4
Posts: 9

Original Poster
Rep: Reputation: 0
Code:
xscreensaver: 14:59:22: added "/usr/X11R6/libexec/xscreensaver" to $PATH
Great, thanks for all your help!
That explains how it manages to execute things too
 
Old 06-23-2006, 05:10 PM   #8
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Your welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving directories to new directories keysorsoze Linux - Newbie 2 03-31-2006 08:14 PM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 04:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 01:23 PM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 02:06 PM
xscreensaver bigjohn Linux - Newbie 2 10-20-2003 07:58 AM


All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration