Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-13-2004, 09:32 PM   #1
Registered: Mar 2004
Location: Berlinsville
Distribution: Slackware/Fedora
Posts: 103

Rep: Reputation: 15
Arrow Xscreensaver- making the sonar screensaver ping


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.

Old 11-14-2004, 06:23 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 68
According to the sonar manpage, you can either set the ping mode to ping a simulated subnet:
sonar -root -ping simulation
or risk possible security vunrabilities and make sonar setuid:
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).
1 members found this post helpful.


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 03:39 PM
Making screensaver run when screen is locked akurtis Fedora 2 06-04-2005 10:15 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 10:10 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 05:57 AM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 02:06 PM

All times are GMT -5. The time now is 10:13 PM.

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