[LightDM] Authentication with Remote Sessions
David Edmundson
david at davidedmundson.co.uk
Wed Dec 26 13:04:38 PST 2012
Merry Christmas,
I'm currently trying to add support for remote sessions in
LightDM-KDE, and I'm a bit stuck.
I call authenticateRemote(session, username) on a FreeRDP session and
get back (in order) 4 prompts:
"remote login:", "remote host:", "domain:", "password:"
1) I don't understand why I pass a username to authenticateRemote only
to then ask for a login. It appears to be used to name the local
account to create to run the session. I've no idea what to pass here,
is there a reason it does not just autogenerate a username like guest
accounts do? Should I be allowing a user to specify the username?
2) As far as I can tell (and I could be wrong) the Unity Greeter has
hardcoded the entire form for remote logins. Is this the case? How
safe is it for me to copy that?
It seems bad from a UI perspective to prompt 1 thing at a time, but it
also seems wrong code-wise to just guess what prompts we need whenever
we log into a remote session, it's not very flexible.
Thanks in advance
David Edmundson
More information about the LightDM
mailing list