[X2Go-User] PyHoca-GUI Can't Find Home Directory

Matt Fornero Matt.Fornero at mathworks.com
Thu Oct 22 17:12:35 CEST 2015


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.

-Matt


More information about the x2go-user mailing list