[X2go-dev] Opening a session to user with encrypted home directory

Milan Knížek knizek.confy at volny.cz
Wed Jan 27 07:25:28 CET 2010


Hello,

there appears to be a problem with connecting to x2goserver-home (Ubuntu
9.10), when the user has encrypted home directory (using ecryptfs).

The cause seems to be that some files need to be open in the home
directory before the ecryptfs is mounted. Trying to connect again
usually works. Also, the unsuccessful first session remains hanging as
"running" in the server's database. I checked that after the first
unsuccessful trial, the ecryptfs home directory was not mounted.

Could it be caused by not enough time for ecryptfs mounting scripts to
mount home directory before x2go wants to write to it?

Log of the first session: 

/usr/bin/x2goagent: řádek 1: -e: command not found

NXAGENT - Version 3.4.0

Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '16895'.
Session: Starting session at 'Tue Jan 26 22:02:19 2010'.
Loop: PANIC! Can't open options file
'/home/modeluser/.x2go/C-modeluser-90-1264539738_stDGNOME_dp32/options'.
Error is 2 'No such file or directory'.
Error: Can't open options file
'/home/modeluser/.x2go/C-modeluser-90-1264539738_stDGNOME_dp32/options'.
Error is 2 'No such file or directory'.
Error: Parsing of NX transport options failed.
_X11TransSocketConnectConnInfo: Cannot create the NX transport.
Loop: WARNING! Signal 'SIGINT not installed in process with pid '16895'.
Warning: Signal 'SIGINT not installed in process with pid '16895'.
Loop: WARNING! Signal 'SIGTERM not installed in process with pid
'16895'.
Warning: Signal 'SIGTERM not installed in process with pid '16895'.
Loop: WARNING! Signal 'SIGHUP not installed in process with pid '16895'.
Warning: Signal 'SIGHUP not installed in process with pid '16895'.
Loop: WARNING! Signal 'SIGCHLD not installed in process with pid
'16895'.
Warning: Signal 'SIGCHLD not installed in process with pid '16895'.
Error: Aborting session with 'X2goagent: Unable to open display
'nx/nx,options=/home/modeluser/.x2go/C-modeluser-90-1264539738_stDGNOME_dp32/options:90''.
Session: Aborting session at 'Tue Jan 26 22:02:19 2010'.
Session: Session aborted at 'Tue Jan 26 22:02:19 2010'.
Loop: WARNING! Signals were not blocked in process with pid '16895'.
Warning: Signals were not blocked in process with pid '16895'.

NXPROXY - Version 3.4.0

Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in server mode with pid '16895'.
Session: Starting session at 'Tue Jan 26 22:02:19 2010'.
Loop: PANIC! Call to bind failed for UNIX domain socket
(null)/.X11-unix/X90. Error is 2 'No such file or directory'.
Error:  Call to bind failed for UNIX domain socket (null)/.X11-unix/X90.
Error is 2 'No such file or directory'.
Session: Session terminated at 'Tue Jan 26 22:02:19 2010'.





Milan Knizek
knizek (dot) confy (at) volny (dot) cz
http://www.milan-knizek.net - About linux and photography (Czech
language only)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20100127/cb243e41/attachment.html>


More information about the x2go-dev mailing list