thierry.forest at free.fr
2014-Feb-05 14:26 UTC
[LightDM] Launch remote session from greeter without password
Hi all, I would like to know if there is any options to allow access to a remote server ( using freerdp) direct from the greeter.. I'm using lightdm 1.8.4, lightdm-webkit-greeter-0.1.2, lightdm-remote-session-freerdp 1.0 on saucy 13.10 (ubuntu) I can access from my remote throught lightdm-remote-session-freerd after authentication of my regular user. But, I would like to be able to acc?s to my server without authentication because the authentification will be ask later. It is possible to by pass the authentication like guest user does ? #1# I've tried to use guest behavior to suit my needs but I can't specify my session (freerdp)and the guest-session option is not available. [lightdm_greeter_authenticate_as_guest (LightDMGreeter *greeter)] I will have to modify greeter.c from lightdm, to insert one. ( I would prefer not to !) #2# I've tried to use remote behavior but a user name and password is requiered and the password will be asked. -- I can modify lightdm-webkit-greeter-0.1.2 (the branch seems dead since - 2012-01-12 !)( themes/mytheme/index.html + src/lightdm-webkit-greeter.c ). But I don't want to touch any code inside LightDM itself, to keep compatibility with next lightdm's releases. It's there any solution available or did I missed some informations on the way. Best regards, Thierry
Robert Ancell
2014-Mar-14 03:39 UTC
[LightDM] Launch remote session from greeter without password
Hi Thierry, Disclaimer: I didn't work on the freerdp module but here is some general information on remote sessions. Remote session work by LightDM starting a guest session and then authenticating using the X-LightDM-PAM-Service module in the XSession file (i.e. /usr/share/xsessions/freerdp.desktop). It's up to the PAM configuration for this service to do the authentication. The intention is that this will do some remote authentication to the server you are trying to log into. Once authentication is complete LightDM runs the Exec command (which is assumed to run some sort of remote session viewer). I'm not sure how the freerdp module works, but you should be able to configure or modify it to require no authentication (if your server doesn't need it or renders an authentication screen) or prompt for a remote username/password. --Robert On 6 February 2014 03:26, <thierry.forest at free.fr> wrote:> Hi all, > > I would like to know if there is any options to allow access to a remote > server ( using freerdp) direct from the greeter.. > > I'm using lightdm 1.8.4, lightdm-webkit-greeter-0.1.2, > lightdm-remote-session-freerdp 1.0 on saucy 13.10 (ubuntu) > > I can access from my remote throught lightdm-remote-session-freerd after > authentication of my regular user. > > But, I would like to be able to acc?s to my server without authentication > because the authentification will be ask later. > It is possible to by pass the authentication like guest user does ? > > #1# > I've tried to use guest behavior to suit my needs but I can't specify my > session (freerdp)and the guest-session option is not available. > [lightdm_greeter_authenticate_as_guest (LightDMGreeter *greeter)] > I will have to modify greeter.c from lightdm, to insert one. ( I would > prefer not to !) > > #2# > I've tried to use remote behavior but a user name and password is > requiered and the password will be asked. > > -- > I can modify lightdm-webkit-greeter-0.1.2 (the branch seems dead since - > 2012-01-12 !)( themes/mytheme/index.html + src/lightdm-webkit-greeter.c ). > But I don't want to touch any code inside LightDM itself, to keep > compatibility with next lightdm's releases. > > It's there any solution available or did I missed some informations on the > way. > > > Best regards, > > Thierry > _______________________________________________ > LightDM mailing list > LightDM at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/lightdm >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140314/4e36e2cf/attachment.html>