Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1369  / 2 Years ago, thu, january 6, 2022, 12:39:34

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?


More From » rdp

 Answers
4

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.


[#40445] Friday, January 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionash

Total Points: 214
Total Questions: 111
Total Answers: 116

Location: Sudan
Member since Thu, May 7, 2020
4 Years ago
;