I
I
Ilnur1232010-12-01 18:10:09
linux
Ilnur123, 2010-12-01 18:10:09

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

6 answer(s)
F
FeNUMe, 2010-12-02
@Ilnur123

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.

R
rakot, 2010-12-01
@rakot

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.

H
Horse, 2010-12-01
@Horse

Well pokikat - no problem. You just run something that accesses the columns from your user and they beep.

A
adminimus, 2010-12-01
@adminimus

you can show a notification via dbus, there is a console dbus-send

S
Sergey, 2010-12-01
@bondbig

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?

I
Ilnur123, 2010-12-02
@Ilnur123

Wow... Cool!!! Thank you very much!!! Here is what you need!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question