Answer the question
In order to leave comments, you need to log in
Remote application launch in Linux?
Hello!
I got the following task: there is a user sitting at a computer with ubuntu installed. It is possible to connect to this computer remotely via SSH. Is there any way to “beep” this user somehow =)) Well, if more formally, launch some application so that it starts in the session of this user (so that he sees the running application)?
PS If possible, please advise some application or command that will "force" the user to pay attention =))) Some bright inscription or message in the form of a dialogue.
Answer the question
In order to leave comments, you need to log in
One of the simplest solutions is
sudo apt-get install libnotify-bin
notify-send 'Vasya, run to work!'
From mana:
With notify-send you can sends desktop notifications to the user via a
notification daemon from the command line. These notifications can be
used to inform the user about an event or display some form of information
without getting in the user's way.
On the user's machine, you need to install an ssh server and connect to it.
ssh -X [email protected]_address_or_name
Actually after that we type the user's password and run applications on his display.
Well pokikat - no problem. You just run something that accesses the columns from your user and they beep.
you can show a notification via dbus, there is a console dbus-send
I eventually realized that it is necessary to troubleshoot user's GUI problems in the user's GUI . Therefore, I connect directly to the session via VNC for such tasks. Or do you just want to do it for fun?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question