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

how to get the clientname or ip of a rdp session? #1488

Open
abma opened this issue Jan 27, 2020 · 1 comment
Open

how to get the clientname or ip of a rdp session? #1488

abma opened this issue Jan 27, 2020 · 1 comment

Comments

@abma
Copy link

abma commented Jan 27, 2020

is there a way to get the clientname of a rdp session?

it seems the info is only written into the logfile:

log_message(LOG_LEVEL_INFO, "connected client computer name: %s", clientName);

xrdp-sesadmin only shows a session id, i.e.:

Session ID: 21728
Session type: 3
Screen size: 1680x1050, color depth 16
Idle time: 0 day(s) 0 hour(s) 0 minute(s)
Connected: 2020/01/27 12:46

in xrdp.log this is logged:

[20190724-15:20:13] [INFO ] connected client computer name: clientname

even with this info its not reliable to get the clientname for a session: i.e. when clients login at the same time.

idk if the other protocols support a clientname, but the client ip at least should be available in an env var and/or for xrdp-sesman.

@abma
Copy link
Author

abma commented Jan 27, 2020

related to #1408 i guess

@metalefty metalefty changed the title how to get the clienname or ip of a rdp session? how to get the clienntame or ip of a rdp session? Jan 27, 2020
@abma abma changed the title how to get the clienntame or ip of a rdp session? how to get the clientname or ip of a rdp session? Oct 21, 2020
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

1 participant