Re: [X2Go-User] PyHoca-GUI Can't Find Home Directory
Hi Matt. On Di 20 Okt 2015 17:18:36 CEST, Matt Fornero wrote: Hello, I am trying to use PyHoca-GUI to connect from my Windows 7 machine to my Linux machine. Whenever I try to do so, I get the following message: "The remote user's home directory does not exist" I am able to connect using the standard X2Go client and ssh without any issues. Any ideas what could be causing this? Here are the versions I'm using: PyHoca-GUI: 0.5.0.4 X2go: 4.0.5.0 Server: 4.0.1.15-0x2go1+git20140615.847+wheezy.main.1 The code that checks your home [1] is this: """ def home_exists(self): """\ Test if the remote home directory exists. @return: C{True} if the home directory exists, C{False} otherwise @rtype: C{bool} """ (_stdin, _stdout, _stderr) = self._x2go_exec_command('stat -tL "%s"' % self._x2go_remote_home, loglevel=log.loglevel_DEBUG) if _stdout.read(): return True return False """ What does 'stat -tL $HOME' result in when executed on the X2Go Server under the remote user account that cannot log in via PyHoca-GUI? Mike [1] http://code.x2go.org/gitweb?p=python-x2go.git;a=blob;f=x2go/backends/control/plain.py;h=8ecc09de7f4eea5764a6bffa1970660334963856;hb=d91770321482850e45d2fc8d5f2daec127ecf7aa#l1238 -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de pgpoMVTlzBGhu.pgp Description: Digitale PGP-Signatur ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] PyHoca-GUI Can't Find Home Directory
Hi Matt, On Do 22 Okt 2015 17:12:35 CEST, Matt Fornero wrote: Hi Mike, Thanks for the response. I did take a look at the code, but couldn't find anything obvious The code that checks your home [1] is this: """ def home_exists(self): """\ Test if the remote home directory exists. @return: C{True} if the home directory exists, C{False} otherwise @rtype: C{bool} """ (_stdin, _stdout, _stderr) = self._x2go_exec_command('stat -tL "%s"' % self._x2go_remote_home, loglevel=log.loglevel_DEBUG) if _stdout.read(): return True return False """ What does 'stat -tL $HOME' result in when executed on the X2Go Server under the remote user account that cannot log in via PyHoca-GUI? I get the following response: % stat -tL $HOME /home/mfornero 24576 56 41c0 9281 101 25 5490934 73 0 0 1380167700 1445526133 1445526133 0 65536 I see this either logging in the standard x2go client or via a ssh session. Please also check the actual content/value of self._x2go_remote_home at runtime. This can be done by adding a print "DEBUG::: %s" % self._x2go_remote_home to the above code. Then run pyhoca-gui from the command line and watch for the line starting with "DEBUG:::"... Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de pgpDMuwNbGxZx.pgp Description: Digitale PGP-Signatur ___ x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user