-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Who is logged in? #870
Comments
On 09/09/2017 01:24, ToddAndMargo wrote:
Hi All,
Fedora 26
$ rpm -qa xrdp
xrdp-0.9.2-12.fc26.x86_64
Please forgive if this turn out to be a tech support request, but I can
not figure out how to tell who is logged in wtih XRDP. And "who" does
not show them.
May we please have such a utility?
Many thanks,
-T
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#870>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAmXXe2g7fq2rS5VltBM5MlvFinGonm7ks5sgcyRgaJpZM4PRytO>.
This is right, there is something missing in the code for adding an
entry in the utmp file. I had made a patch long ago, but didn't keep it
because it was an test server
I could have a look again in this feature
Emmanuel
|
Very cool! That would be great. I could stop having to call every remote logger on the phone before rebooting the server. When I forget, it makes the CRABBY! |
The branch ''wtmp'' has now all the code for linux, and I use it on production server since some weeks. |
What is the utility called and which version will it appear in? |
The code added writes directly in utmp/wtmp. there is no utility needed, last or who will show one entry per connected user. It can probably be shipped in next version |
Is there a chance the wtmp branch will be merged into devel before the next release? |
Is there an update on when the wtmp branch will be merged? Our security will not allow to use xrdp in production until wtmp logging is implemented. |
Here's a quick command to show who has an xrdp session running (at least if you're running systemd): ps h -o ouid -C xrdp-sesman | xargs getent passwd | cut -d: -f1 I've had a script for a while that also gives active/disconnected status for Xvnc and just last week figured out how to do the same for Xorg. I have posted these here in case they're useful to anyone. |
Works. Thank you! |
#2745 is now merged into devel, so I'm closing this thread. |
Hi All,
Fedora 26
$ rpm -qa xrdp
xrdp-0.9.2-12.fc26.x86_64
Please forgive if this turn out to be a tech support request, but I can not figure out how to tell who is logged in wtih XRDP. And "who" does not show them.
May we please have such a utility?
Many thanks,
-T
The text was updated successfully, but these errors were encountered: