sending messages
Nils Kassube
kassube at gmx.net
Sat Jul 21 09:54:55 UTC 2007
Shali 9846303531 wrote:
> I am an Asst Librairan providing internet services, i am using ubuntu
> systems for internet services,some times i need to pass some messages
> to the internet users, is it possible to sending those messages through
> systems???please suggest....
I think, what you are looking for is the command xmessage. You should
login to the user's machine via ssh. Then the command would be something
like
sudo su username -c 'DISPLAY=:0.0 xmessage -timeout 5 hello'
Replace username with the user's login and hello with your message. For
more options see:
man xmessage
Nils
More information about the ubuntu-users
mailing list