xscreensaver and sonar
Anyone know how to get the xscreensaver app sonar to work (ping and show results) on 15.4 x64? I had done the recommended setup - cd/usr/lib64/xscreensaver chown root.root sonar chmod +s sonar ll sonar -rwsr-sr-x 1 root root 137208 Jul 5 05:22 sonar but no joy getting it to ping other hosts on my network and showing the results on the screensaver. The line from my .xscreensaver in my home dir looks like this - GL: sonar -root \n\ -- *"The Truth is out there" - Spooky* -- *_ _ . . . . . . _ _ . _ _ _ _ . . . . _ . . . . _ _ . _ _ _ . . . . _ _ . _ . . _ . _ _ _ _ . _ . _ . _ . _ . * Computers: the final frontier. These are the voyages of the user Marc. His mission: to explore strange new hardware. To seek out new software and new applications. To boldly go where no Marc has gone before! (/This email is digitally signed. My public key for sending encrypted email to me can be found at - https://keys.openpgp.org/search?q=marc@domesweetdome.us.com or just ask me for it and I will send it to you as an attachment. If you don't understand, no worries, just ignore it and/or ask me to explain it further./)
Hello, In the Message; Subject : xscreensaver and sonar Message-ID : <547ae9fd-db40-ab92-3788-f6db3a579067@marcchamberlin.com> Date & Time: Wed, 21 Dec 2022 15:30:12 -0800 [MC] == Marc Chamberlin <marc@marcchamberlin.com> has written: [...] MC> cd/usr/lib64/xscreensaver chown root.root sonar MC> chmod +s sonar # chmod u+s sonar Then? --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Tim Cook, the C.E.O. of Apple, said earlier this year that he would not let his nephew join social networks. Bill Gates banned cellphone until his children were teenagers, and Melinda Gates wrote that she wished they had waited even longer. Steve Jobs would not let his young children near iPads." -- The New York Times --
* Masaru Nomiya <nomiya@galaxy.dti.ne.jp> [12-21-22 20:54]:
Hello,
In the Message;
Subject : xscreensaver and sonar Message-ID : <547ae9fd-db40-ab92-3788-f6db3a579067@marcchamberlin.com> Date & Time: Wed, 21 Dec 2022 15:30:12 -0800
[MC] == Marc Chamberlin <marc@marcchamberlin.com> has written:
[...] MC> cd/usr/lib64/xscreensaver chown root.root sonar MC> chmod +s sonar
# chmod u+s sonar
Then?
--- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Tim Cook, the C.E.O. of Apple, said earlier this year that he would not let his nephew join social networks. Bill Gates banned cellphone until his children were teenagers, and Melinda Gates wrote that she wished they had waited even longer. Steve Jobs would not let his young children near iPads." -- The New York Times --
isn't that the same thing? or same result? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc
Hello, In the Message; Subject : Re: xscreensaver and sonar Message-ID : <20221222024821.GJ29019@wahoo.no-ip.org> Date & Time: Wed, 21 Dec 2022 21:48:21 -0500 [PS] == Patrick Shanahan <paka@opensuse.org> has written: PS> > [...] MV>>> cd/usr/lib64/xscreensaver chown root.root sonar MC>>> chmod +s sonar MN> > # chmod u+s sonar MN> > MN> > Then? PS> isn't that the same thing? or same result? Wouldn't the sonar command be executed as root if the SUID is not set? Just a thought that occurred to me. Regards, --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "No Windows, no gains!" ... "Why, I am wrong?" -- Bill --
Hello, In the Message; Subject : Re: xscreensaver and sonar Message-ID : <87zgbgp1mk.wl-nomiya@galaxy.dti.ne.jp> Date & Time: Thu, 22 Dec 2022 12:18:27 +0900 [MN] == Masaru Nomiya <nomiya@galaxy.dti.ne.jp> has written: [...] MV>>> cd/usr/lib64/xscreensaver chown root.root sonar MC>>> chmod +s sonar MN> > # chmod u+s sonar MN> > MN> > Then? PS> isn't that the same thing? or same result? MN> Wouldn't the sonar command be executed as root if the SUID is not MN> set? In my environment. MN> > # chmod u+s sonar It works fine with. However, in my environment, unlike Marc # cd /usr/libexec/xscreensaver # chmod u+s sonar and I should be able to run # chown root:root sonar was not necessary. But, I checked that on Tumbleweed. Regards, --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "She continues to deeply divide opinion, nearly a decade after her death in 2013, due to her policies of privatisation, breaking the power of trade unions, and selling off public housing." -- World Is One News --
Hello,
In the Message;
Subject : Re: xscreensaver and sonar Message-ID : <87zgbgp1mk.wl-nomiya@galaxy.dti.ne.jp> Date & Time: Thu, 22 Dec 2022 12:18:27 +0900
[MN] == Masaru Nomiya <nomiya@galaxy.dti.ne.jp> has written:
[...] MV>>> cd/usr/lib64/xscreensaver chown root.root sonar MC>>> chmod +s sonar
MN> > # chmod u+s sonar MN> > MN> > Then?
PS> isn't that the same thing? or same result?
MN> Wouldn't the sonar command be executed as root if the SUID is not MN> set?
In my environment.
MN> > # chmod u+s sonar
It works fine with. Thank you Masaru Nomiya and Patrick Shanahan for your thoughts, I removed and then changed the SUID bit the way Masaru suggested, but no joy. When I run the sonar screensaver via xscreensaver-demo all I see is
On 12/21/22 19:47, Masaru Nomiya wrote: the radar screen but the display of pings to other workstations and IOTs on my network do not show up. I plan to dig tcpdump out and check to see if any pings are happening and if replies are coming back.
However, in my environment, unlike Marc
# cd /usr/libexec/xscreensaver # chmod u+s sonar
and I should be able to run
# chown root:root sonar
was not necessary.
I agree, not necessary, the ownership was already root:root and all the other screensaver apps are the same as well. One thing that is necessary is that I run xscreensaver-demo under my own user ID, not root, otherwise xscreensaver-demo complains about not being able to access display::0 if ran under root.
But, I checked that on Tumbleweed.
Unfortunately I am not using Tumbleweed, but OpenSuSE 15.4 (Boss won't let me use Tumbleweed, thinks it would be to unstable and changing too often) Thanks again, hope more ideas surface soon! Marc..
Regards,
--- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "She continues to deeply divide opinion, nearly a decade after her death in 2013, due to her policies of privatisation, breaking the power of trade unions, and selling off public housing."
-- World Is One News --
-- *"The Truth is out there" - Spooky* *_ _ . . . . . . _ _ . _ _ _ _ . . . . _ . . . . _ _ . _ _ _ . . . . _ _ . _ . . _ . _ _ _ _ . _ . _ . _ . _ . * Computers: the final frontier. These are the voyages of the user Marc. His mission: to explore strange new hardware. To seek out new software and new applications. To boldly go where no Marc has gone before! (/This email is digitally signed and the OpenPGP electronic signature is added as an attachment. If you know how, you can use my public key to prove this email indeed came from me and has not been modified in transit. My public key, which can be used for sending encrypted email to me also, can be found at - https://keys.openpgp.org/search?q=marc@marcchamberlin.com or just ask me for it and I will send it to you as an attachment. If you don't understand all this geek speak, no worries, just ignore this explanation and ignore the OpenPGP signature key attached to this email (it will look like gibberish if you open it) and/or ask me to explain it further if you like./)
Hello, In the Message; Subject : Re: xscreensaver and sonar Message-ID : <7c38e68b-316a-2b6b-1a93-c9d20f957565@marcchamberlin.com> Date & Time: Wed, 21 Dec 2022 21:06:24 -0800 [MC] == Marc Chamberlin <marc@marcchamberlin.com> has written: MC> [1 <multipart/mixed (7bit)>] MC> [1.1 <multipart/mixed (7bit)>] MC> [1.1.1 <text/plain; UTF-8 (base64)>] MC> On 12/21/22 19:47, Masaru Nomiya wrote: MC> > Hello, MC> > MC> > In the Message; MC> > MC> > Subject : Re: xscreensaver and sonar MC> > Message-ID : <87zgbgp1mk.wl-nomiya@galaxy.dti.ne.jp> MC> > Date & Time: Thu, 22 Dec 2022 12:18:27 +0900 MC> > MC> > [MN] == Masaru Nomiya <nomiya@galaxy.dti.ne.jp> has written: MC> > MC> > MC> > [...] MC> > MV>>> cd/usr/lib64/xscreensaver chown root.root sonar MC> > MC>>> chmod +s sonar MC> > MN> > # chmod u+s sonar MC> > MN> > MC> > MN> > Then? MC> > MC> > PS> isn't that the same thing? or same result? MC> > MC> > MN> Wouldn't the sonar command be executed as root if the SUID is not MC> > MN> set? MC> > MC> > In my environment. MC> > MC> > MN> > # chmod u+s sonar MC> > MC> > It works fine with. MC> Thank you Masaru Nomiya and Patrick Shanahan for your thoughts, I removed and MC> then changed the SUID bit the way Masaru suggested, but no joy. When I run the MC> sonar screensaver via xscreensaver-demo all I see is the radar screen but the MC> display of pings to other workstations and IOTs on my network do not show up. I MC> plan to dig tcpdump out and check to see if any pings are happening and if MC> replies are coming back. Have you checked the Xscreensaver: Sonar Settings? Start Xscreensaver-demo --> Settings --> Sonar Settings [...] MC> I agree, not necessary, the ownership was already root:root and MC> all the other screensaver apps are the same as well. One thing that is MC> necessary is that I run xscreensaver-demo under my own user ID, not MC> root, otherwise xscreensaver-demo complains about not being able to MC> access display::0 if ran under root. Sorry, I've got no idea. MN>> But, I checked that on Tumbleweed. MC> Unfortunately I am not using Tumbleweed, but OpenSuSE 15.4 (Boss MC> won't let me use Tumbleweed, thinks it would be to unstable and MC> changing too often) Depends on the repository settings, but in my case there are more than 100 updates every day. (^^;; This means that the company can't use it、doesn't it? Regards, --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Tim Cook, the C.E.O. of Apple, said earlier this year that he would not let his nephew join social networks. Bill Gates banned cellphone until his children were teenagers, and Melinda Gates wrote that she wished they had waited even longer. Steve Jobs would not let his young children near iPads." -- The New York Times --
On 12/21/22 22:11, Masaru Nomiya wrote:
Have you checked the Xscreensaver: Sonar Settings?
Start Xscreensaver-demo --> Settings --> Sonar Settings I have, it is set to ping our local subnet.
[...] MC> I agree, not necessary, the ownership was already root:root and MC> all the other screensaver apps are the same as well. One thing that is MC> necessary is that I run xscreensaver-demo under my own user ID, not MC> root, otherwise xscreensaver-demo complains about not being able to MC> access display::0 if ran under root.
Sorry, I've got no idea.
MN>> But, I checked that on Tumbleweed.
MC> Unfortunately I am not using Tumbleweed, but OpenSuSE 15.4 (Boss MC> won't let me use Tumbleweed, thinks it would be to unstable and MC> changing too often)
Depends on the repository settings, but in my case there are more than 100 updates every day. (^^;;
This means that the company can't use it、doesn't it? Yikes! 100 updates a day? I would think that is the definition of a sys-admins nightmare! LOL
Not sure if you were asking a rhetorical question about our company - Tumbleweed? No. Xscreensaver/Sonar? Don't care. Marc...
Regards,
--- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Tim Cook, the C.E.O. of Apple, said earlier this year that he would not let his nephew join social networks. Bill Gates banned cellphone until his children were teenagers, and Melinda Gates wrote that she wished they had waited even longer. Steve Jobs would not let his young children near iPads." -- The New York Times --
-- *"The Truth is out there" - Spooky* *_ _ . . . . . . _ _ . _ _ _ _ . . . . _ . . . . _ _ . _ _ _ . . . . _ _ . _ . . _ . _ _ _ _ . _ . _ . _ . _ . * Computers: the final frontier. These are the voyages of the user Marc. His mission: to explore strange new hardware. To seek out new software and new applications. To boldly go where no Marc has gone before! (/This email is digitally signed and the OpenPGP electronic signature is added as an attachment. If you know how, you can use my public key to prove this email indeed came from me and has not been modified in transit. My public key, which can be used for sending encrypted email to me also, can be found at - https://keys.openpgp.org/search?q=marc@marcchamberlin.com or just ask me for it and I will send it to you as an attachment. If you don't understand all this geek speak, no worries, just ignore this explanation and ignore the OpenPGP signature key attached to this email (it will look like gibberish if you open it) and/or ask me to explain it further if you like./)
Hello, In the Message; Subject : Re: xscreensaver and sonar Message-ID : <bf32f088-7a77-4854-2775-8cf7672b1dac@marcchamberlin.com> Date & Time: Thu, 22 Dec 2022 09:32:19 -0800 [MC] == Marc Chamberlin <marc@marcchamberlin.com> has written: MN>> Have you checked the Xscreensaver: Sonar Settings? MN>> MN>> Start Xscreensaver-demo --> Settings --> Sonar Settings MC> I have, it is set to ping our local subnet. In my case, I can see all ip addresses within my home LAN with this setting. MC> > [...] MN> > Depends on the repository settings, but in my case there are more than MN> > 100 updates every day. (^^;; MN> > MN> > This means that the company can't use it、doesn't it? MC> Yikes! 100 updates a day? I would think that is the definition of MC> Ma sys-admins nightmare! LOL As a retiree, I don't have that night and it's Sunday, everyday. v(^o^) MC> Not sure if you were asking a rhetorical question about our company - MC> Tumbleweed? No. Xscreensaver/Sonar? Don't care. I think that a stance like yours and Carlos's is the right way to deal with Linux. I am not sure if it is natural to deal with major updates of packages, but I am not sure if I am too diligent in dealing with minor updates. Aside from that, I use a package that is no longer maintained by openSUSE (and is not supported by any other distro), and I have a repository set up to update packages related to that software. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "The question of who holds the platform and whether the person or organisation holding it is trustworthy has serious and profound implications in these volatile times. Once trust is broken, it is extremely difficult to restore. It is necessary to diversify in advance." -- Financial Times --
participants (3)
-
Marc Chamberlin
-
Masaru Nomiya
-
Patrick Shanahan