[X2Go-Dev] @Alex: x2goclient feature request
Oleksandr Shneyder
oleksandr.shneyder at obviously-nice.de
Tue Apr 10 11:41:39 CEST 2012
Am 05.04.2012 10:12, schrieb Stefan Baur:
> Hi Alex,
>
> would it be possible to allow a username override via command line
> option? Currently, --user is only supported in LDAP mode.
>
> It might be a nice feature to provide the option to specify a username
> on the command line, overriding the username in the sessions file.
>
> That way, one could create desktop icons (at least on Windows, but
> probably also on *nix) which pass the user name along, as in (for Windows):
> x2goclient.exe --portable --user="%USERNAME%"
> --session-conf="\\server\share\sessions" --session="Default"
> --home="%USERPROFILE%"
>
> %USERNAME% and %USERPROFILE% are system variables on Windows, similar to
> $USER and $HOME on *nix.
>
> Assuming your user names are the same on Windows and on the x2go server,
> this allows for one central sessions file that still automatically picks
> the right user name.
>
> Sadly, this feature doesn't help me, because I'm in the unlucky position
> that user names are different between Windows and *nix, but maybe some
> other users out there could use this feature...
>
> My workaround will probably be something along the lines of
>
> x2goclient.exe --portable
> --session-conf="\\server\share\sessions.%USERNAME%" --session="Default"
> --home="%USERPROFILE%"
>
> which means I will have to keep a seperate sessions file for each user,
> but at least I can clone it from a template.
>
> -Stefan
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev
Hi Stefan,
Your request is accepted.
regards,
Alex
--
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team
email: oleksandr.shneyder at obviously-nice.de
web: www.obviously-nice.de
--> X2go - everywhere at home
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120410/d488e9f0/attachment.pgp>
More information about the x2go-dev
mailing list