Skip to content
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

Closed
ToddAndMargo opened this issue Sep 8, 2017 · 11 comments
Closed

Who is logged in? #870

ToddAndMargo opened this issue Sep 8, 2017 · 11 comments

Comments

@ToddAndMargo
Copy link

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

@moobyfr
Copy link
Contributor

moobyfr commented Sep 9, 2017 via email

@ToddAndMargo
Copy link
Author

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!

@moobyfr
Copy link
Contributor

moobyfr commented Dec 31, 2017

The branch ''wtmp'' has now all the code for linux, and I use it on production server since some weeks.

@ToddAndMargo
Copy link
Author

What is the utility called and which version will it appear in?

@moobyfr
Copy link
Contributor

moobyfr commented Jan 3, 2018

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

@shaneforsythe
Copy link

Is there a chance the wtmp branch will be merged into devel before the next release?

@NZJourneyMan
Copy link

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.

@evanlinde
Copy link

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.

@ToddAndMargo
Copy link
Author

Works. Thank you!

@NZJourneyMan
Copy link

Pull request #1408 hopefully completes the missing parts of the wtmp/utmp PR (#1077), so if so can be merged. Once done this will mean the usual commands like who and last will work

@matt335672
Copy link
Member

#2745 is now merged into devel, so I'm closing this thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants