[X2Go-User] X2Go Client: Startup of VcXsrv sometimes fails
Hi, I'm running X2Go Client 4.1.0.0 on Windows Server 2012 R2 for connecting to X2Go Server 4.0.1.22 on Ubuntu 14.04. This usually works flawlessly. Since about 4 months ago, however, X2Go Client *sometimes* fails to fully establish the session. (Sometimes means that it happens quite unregularly; which makes it hard to reproduce. But when it happens, it can last from 5 minutes up to around 30 minutes until connections are successful again.) In these cases X2Go Client actually connects to the server, but the startup of VcXsrv fails, so X2Go Client subsequently terminates the connection. I attached the log output of VcXsrv below. I suspect that in the cases when the connection fails to fully establish, VcXsrv for some reason doesn't manage to find a free display number. Maybe this is due to the fact that on the Windows server several users are logged in simultaneously and use X2Go Client. Another guess is that VcXsrv might not like the fact that the Windows server has two IPv4 addresses. Does anyone have a clue what could be the reason for it? Or where I could find further information on these error messages? Thank you for any hint. On the client side, the following is logged in C:\Users\\AppData\Local\Temp\VCXSrv.0.log when the connection fails: -- Welcome to the VcXsrv X Server Vendor: The X2Go and Arctica Projects Release: 1.17.0.0 OS: Windows NT 6.2 build 9200 (WoW64) Contact: https://github.com/ArcticaProject/vcxsrv _XSERVTransSocketCreateListener: failed to bind listener _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet DefineSelf - d16s003 has IPv6 addresses... ::1 LoadPreferences: C:\Users\\AppData\Roaming/.XWinrc not found LoadPreferences: Loading P:\X2Go\V4_1_0_0\x2goclient\vcxsrv\system.XWinrc Warning: Locale not supported by X, falling back to 'C' locale. wglwrap: Can't resolve "wglGetExtensionsStringARB" (EE) AIGLX: Won't use generic native renderer as it is not accelerated (II) AIGLX: Loaded and initialized swrast (II) GLX: Initialized DRISWRAST GL provider for screen 0 winBlockHandler - pthread_mutex_unlock() winInitMultiWindowWM - Could not open display, try: 1, sleeping: 5 winInitMultiWindowWM - Could not open display, try: 2, sleeping: 5 winInitMultiWindowWM - Could not open display, try: 3, sleeping: 5 winInitMultiWindowWM - Could not open display, try: 4, sleeping: 5 winInitMultiWindowWM - Could not open display, try: 5, sleeping: 5 winInitMultiWindowWM - Failed opening the display. Exiting. (EE) Server terminated with error (1). Closing log file. -- In the case of successful connection, the log output looks like: -- Welcome to the VcXsrv X Server Vendor: The X2Go and Arctica Projects Release: 1.17.0.0 OS: Windows NT 6.2 build 9200 (WoW64) Contact: https://github.com/ArcticaProject/vcxsrv DefineSelf - d16s003 has 2 usable IPv4 interfaces... addresses 10.36.2.103 10.36.18.106 DefineSelf - d16s003 has IPv6 addresses... ::1 LoadPreferences: C:\Users\\AppData\Roaming/.XWinrc not found LoadPreferences: Loading P:\X2Go\V4_1_0_0\x2goclient\vcxsrv\system.XWinrc Warning: Locale not supported by X, falling back to 'C' locale. wglwrap: Can't resolve "wglGetExtensionsStringARB" (EE) AIGLX: Won't use generic native renderer as it is not accelerated (II) AIGLX: Loaded and initialized swrast (II) GLX: Initialized DRISWRAST GL provider for screen 0 winBlockHandler - pthread_mutex_unlock() winClipboardThreadProc - DISPLAY=127.0.0.1:0.0 -- When I just start vcxsrv.exe, I'm getting the same messages. At times when connections fail: -- Welcome to the VcXsrv X Server Vendor: The X2Go and Arctica Projects Release: 1.17.0.0 OS: Windows NT 6.2 build 9200 (WoW64) Contact: https://github.com/ArcticaProject/vcxsrv _XSERVTransSocketCreateListener: failed to bind listener _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet DefineSelf - d16s003 has IPv6 addresses... ::1 LoadPreferences: C:\Users\\AppData\Roaming/.XWinrc not found LoadPreferences: Loading P:\X2Go\V4_1_0_0\x2goclient\VcXsrv\system.XWinrc Warning: Locale not supported by X, falling back to 'C' locale. (EE) AIGLX: No native OpenGL in modes with a root window (II) AIGLX: Loaded and initialized swrast (II) GLX: Initialized DRISWRAST GL provider for screen 0 winBlockHandler - pthread_mutex_unlock() -- At times when connections work: -- Welcome to the VcXsrv X Server Vendor: The X2Go and Arctica Projects Release: 1.17.0.0 OS: Windows NT 6.2 build 9200 (WoW64) Contact: https://github.com/ArcticaProject/vcxsrv DefineSelf - d16s003 has 2 usable IPv4 interfaces... addresses 10.36.2.103 10.36.18.106 DefineSelf - d16s003 has IPv6 addresses... ::1 LoadPreferences: C:\Users\\AppData\Roaming/.XWinrc not found LoadPreferences: Loading P:\X2Go\V4_1_0_0\x2goclient\VcXsrv\system.XWinrc Warning: Locale not supported by X, falling back to 'C'
Re: [X2Go-User] X2Go Seamless Mode
Hi Mukul, Yes, this is possible. In the session preferences, set the session type to “Single application” and enter the command to run that application (e.g. xterm) in the “Command” field behind. Like this X2Go Client will run in seamless mode, showing only the XTerm window integrated into your Windows Desktop. Best regards, Andy Von: x2go-user-boun...@lists.x2go.org [mailto:x2go-user-boun...@lists.x2go.org] Im Auftrag von Mukul Agrawal Gesendet: Freitag, 22. April 2016 20:57 An: x2go-user@lists.x2go.org Betreff: [X2Go-User] X2Go Seamless Mode Hello: I am trying to connect from Windows7 machine to Ubuntu (trusty) server. I will like to use X2Go in "seamless" mode ... meaning that if I start a single application, say xterm, on Ubuntu then I want only single xterm window to show up on my MSwin7 computer. Is that possible? X2Go website says it is a Remote Desktop program, but wikipedia says that you have seamless mode and your client also seam to allow it to attach to single application. If somebody can clarify upfront if this is possible or not ... it will save me a lot of time and effort. Thanks in advance! Regards, Mukul ( https://sites.google.com/site/mukulagrawal ) ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows
Well, the reason is simply that I cannot install software on our machines myself. Therefore I want to install as little software on those machines as possible, as for every piece of software I have to go through the installation steps with our IT department. They for sure would install pageant as well, but it's just easier for all of us if there's just one .exe to execute, rather than two of them. And we probably won't run PuTTY etc. on those machines. Wll, there's no need to install anything at all. While both X2GoClient and PuTTY come with installers, you can also just copy all the files to a directory of your choice (say, a network share) and start them from there. You could, for example, install X2GoClient on a test machine, then copy the contents of C:\Program Files\x2goclient (or whatever you picked as destination) to a network share, say, \\server\share\x2goclient, drop pageant.exe from PuTTY in there as well, and add a little batch file that runs pageant, adds the key, waits a few seconds, then runs x2goclient. That way, all you have to roll out is a shortcut (*.lnk) file pointing to the batch file on \\server\share\x2goclient. No client-side installation at all. Of course, you could also try to use %userprofile% in the ssh keyfile path within the session config, but I've never tried if that works as intended, so no promises. OK, this is quite a smart solution. Thank you a lot for your inputs, I really appreciate it. Just, as we have already installed the client (the .exe-way), and because we're still undecided about introducing X2Go at all, I'll stick to pointing to the key file directly, at least for the moment. I actually don't even need to use the %userprofile% variable, as the userprofile directory is mapped to a drive letter. What I'm working on right now is finding the best way to provide pre-defined sessions to our users. I probably got one more question, will ask in a new thread. Thanks again, Andy ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows
-Ursprüngliche Nachricht- Am 12.05.2015 um 14:19 schrieb Schmid Andreas: I'm trying to use the Try auto login feature on Windows, but it's not working (tested with X2Go Client 4.0.3.2). When connecting, I'm always asked for a password to open the key, but I actually didn't set any passphrase at all for my RSA key. I suspect that maybe X2Go Client does not even find the key. Which is the right location to put my RSA key in? Does X2Go Client consider any environment variables? (When I enter the actual path to the key in the Use RSA/DAS key for ssh connection field and unset the auto login option, the connection works.) If you do not specify a key file, and wish to use auto-login, you need to load the key into an SSH agent like Pageant.exe from the PuTTY suite before starting X2GoClient (or actually, before double-clicking on the session tile). Okay, so it's not as easy as I hoped. I think I'll keep specifying the key file then, as it's a very simple solution. Thank you anyways. Andy ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows
I'm trying to use the Try auto login feature on Windows, but it's not working (tested with X2Go Client 4.0.3.2). When connecting, I'm always asked for a password to open the key, but I actually didn't set any passphrase at all for my RSA key. I suspect that maybe X2Go Client does not even find the key. Which is the right location to put my RSA key in? Does X2Go Client consider any environment variables? (When I enter the actual path to the key in the Use RSA/DAS key for ssh connection field and unset the auto login option, the connection works.) If you do not specify a key file, and wish to use auto-login, you need to load the key into an SSH agent like Pageant.exe from the PuTTY suite before starting X2GoClient (or actually, before double-clicking on the session tile). Okay, so it's not as easy as I hoped. I think I'll keep specifying the key file then, as it's a very simple solution. What's so not easy with pageant? *headscratch* Put a shortcut to pageant in the autostart folder, and in the settings menu, tell it where to find the user's *.ppk file (you can use variables like %userprofile%), all done. If the keyfile has a password set, the popup appears, if not, the key is loaded. Using pageant is actually very elegant, as you will have your key available for all things ssh, i.e. WinSCP, PuTTY, X2Go, ... and only have to specify it in one single location. Well, the reason is simply that I cannot install software on our machines myself. Therefore I want to install as little software on those machines as possible, as for every piece of software I have to go through the installation steps with our IT department. They for sure would install pageant as well, but it's just easier for all of us if there's just one .exe to execute, rather than two of them. And we probably won't run PuTTY etc. on those machines. Greets, Andy ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
[X2Go-User] X2Go Client: Where to put RSA key for auto login on Windows
Hi List I'm trying to use the Try auto login feature on Windows, but it's not working (tested with X2Go Client 4.0.3.2). When connecting, I'm always asked for a password to open the key, but I actually didn't set any passphrase at all for my RSA key. I suspect that maybe X2Go Client does not even find the key. Which is the right location to put my RSA key in? Does X2Go Client consider any environment variables? (When I enter the actual path to the key in the Use RSA/DAS key for ssh connection field and unset the auto login option, the connection works.) Thanks a lot for your help. Andy ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user