I'm using xrdp on a xubuntu 11.10 machine, and successfully using Remmina to connect to it through the internet, from another xubuntu machine.

I would like to know, on the "server" machine, when a client has estabilished a connection. I couldn't find a way to do this in xrdp itself, so i thought about making a basic script using either zenity or notify-osd, but i don't know how i can launch it when a new rdp connection is created. Is there any way to trigger the notification?

| improve this question | | | | |

Have a look at /var/log/xrdp-sesman.log, the log file of (the session manager of) xrdp. That, combined with inotify-tools (there's a package in ubuntu) should make it rather simple for you to write your script that then uses zenity or notify-osd.

| improve this answer | | | | |

I am not completely sure how this would appear in Xubuntu 11.10 however I will answer from experience using the Xubuntu 12.04 release. If you are using the vino application to serve desktop sharing, there is an option in the Preferences menu that will allow you to choose whether or not you would like to see notifications on the remote machine whenever users are connected. The Preferences menu is accessible through terminal by using the command vino-preferences as a superuser.

Source: Ubuntu Linux Guide

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.