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 > [email protected] > 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: [email protected] web: www.obviously-nice.de --> X2go - everywhere@home
signature.asc
Description: OpenPGP digital signature
_______________________________________________ X2Go-Dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/x2go-dev
