LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xscreensaver- making the sonar screensaver ping (http://www.linuxquestions.org/questions/linux-software-2/xscreensaver-making-the-sonar-screensaver-ping-254524/)

JCdude2525 11-13-2004 08:32 PM

Xscreensaver- making the sonar screensaver ping
 
Hello-

On xscreensaver, there is a screensaver called sonar. You can make it ping a subnet,
but you have to be root to do it, since I get that error message whenever the screensaver
runs, saying -

"This program must be run as root for "ping mode" to work."

This is what the screensaver command looks like on xscreensaver-demo-

sonar -root -ping subnet/29

So, does any body kno how to get this working? The version of
xscreensaver is 4.16.

-Jim

rjlee 11-14-2004 05:23 PM

According to the sonar manpage, you can either set the ping mode to ping a simulated subnet:
Code:

sonar -root -ping simulation
or risk possible security vunrabilities and make sonar setuid:
Code:

chown root.root sonar
chmod a+s sonar

(the last pair of commands should be run from the same directory as the sonar executable; you can find this with the sonar command).


All times are GMT -5. The time now is 05:58 PM.