Am 2008-06-17 01:24:45, schrieb Dotan Cohen:
> The wife uses one computer, I use another. We are both connected to
> the internet via a router, as such we can SSH into one another's
> boxen. Is there a way to pop up a message on the wife's machine, by
> SSHing in and having root access. We both use KDE 3.x if it matters. I
> notice that when I shutdown her machine remotely, she gets a popup
> message stating that the computer is going down, so I see that the
> basic infrastructure of having root pop up messages to users is in
> place.
From your machine you could do a:
> ssh root wife-machine -c 'su - wife -c\"echo "I will kill your machine NOW! |xmessage -display :0.0 -file -\" && shutdown -r now'
or:
apt-get install linpopup
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature