Here is an example, feel free to adapt : ====================================================================================
[DEFAULT] speed=4 pack=64k-jpeg quality=9 fstunnel=false export= iconvto=UTF-8 iconvfrom=ISO8859-1 useiconv=false dpi=96 setdpi=96 xinerama=true usekbd=true type=auto sound=true soundsystem=pulse startsoundsystem=true soundtunnel=true defsndport=true sndport=4713 print=false icon=:/img/icons/128x128/x2gosession.png autologin=false autologoff=true published=false command=MATE [PROD] fullscreen=true clipboard=none name=PROD host=x2go-server-prod (10.0.0.1) [BETA] fullscreen=true clipboard=none name=BETA host=x2go-server-beta (10.0.0.2) [PROD-LOWBW] speed=2 pack=32k-jpeg fullscreen=false clipboard=both width=1440 height=900 name=PROD-LOWBW host=x2go-server-prod (10.0.0.1) [BETA-LOWBW] speed=2 pack=32k-jpeg fullscreen=false clipboard=both width=1440 height=900 name=BETA-LOWBW host=x2go-server-beta (10.0.0.2) ====================================================================================== Regards, Walid Moghrabi TRAVAUX.COM BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403 13591 AIX EN PROVENCE CEDEX 3 ----- Mail original ----- De: "Zelda L" <zeldal66...@gmail.com> À: "brian mullan" <bmullan.m...@gmail.com> Cc: x2go-user@lists.x2go.org Envoyé: Mercredi 9 Mai 2018 15:12:22 Objet: Re: [X2Go-User] X2GO cli Thank you very much for answers. I dont have C:\\users\<user>\.x2goclient\ folder but i have c:\users\zelda\.x2go I have checked all files in this folder and there seems nothing usable, I just found S-zelda-50-1525868465_stDLXDE_dp32\session file and it looks like: Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session. Auth: WARNING! Failed to read data from the X auth command. Auth: WARNING! Generating a fake cookie for X authentication. Loop: WARNING! Could not retrieve the X server authentication cookie. BTW i found my session details in registry. \HKEY_CURRENT_USER\Software\Obviously Nice\x2goclient\sessions\ . I am trying to make x2go client portable and connect to server with one click for some guys (with same batch file etc..) . Could you suggest me sth how to do this like: create and use session ini file for this if possible? Thanks again, Best Regards, Zelda On Wed, May 9, 2018 at 1:41 PM, brian mullan < bmullan.m...@gmail.com > wrote: On Linux for cli use you have 2 choices Install pyhoca-cli or use the x2goclient On Wed, May 9, 2018, 3:20 AM Alain Aupeix < alain.aup...@wanadoo.fr > wrote: <blockquote> Le 08/05/2018 à 23:44, Zelda L a écrit : <blockquote> Hello everyone, I have installed x2go server. Is there any way to connect from cli without creating a session with gui from windows client? I have a similar question about how to connect without using gui with a command line, but from linux. <blockquote> Thanks for great project, </blockquote> +1 A+ -- Alain Aupeix http://jujuland.pagesperso-orange.fr/ http://pissobi-lacassagne.pagesperso-orange.fr/ U.buntu 12.04 & Xu.buntu 16.04 | G.ramps 3.4.9-1 | H.arbour 3.2.0dev (2018-03-016 17:10) | Hw.Gui (2642) _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user </blockquote> </blockquote> _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user --- DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you _______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user