From unknown Thu Mar 28 14:56:23 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1098: x2go doesn't connect if remote has encfs that is not mounted Reply-To: kwikwi , 1098@bugs.x2go.org Resent-From: kwikwi Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Fri, 07 Oct 2016 16:45:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 1098 X-X2Go-PR-Package: x2goclient X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.147585863426100 (code B); Fri, 07 Oct 2016 16:45:01 +0000 Received: (at submit) by bugs.x2go.org; 7 Oct 2016 16:43:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id DE8D85DA99 for ; Fri, 7 Oct 2016 18:43:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YO+n0x3VB1Nu for ; Fri, 7 Oct 2016 18:43:45 +0200 (CEST) X-Greylist: delayed 752 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Fri, 07 Oct 2016 18:43:45 CEST Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 457205DA96 for ; Fri, 7 Oct 2016 18:43:45 +0200 (CEST) Received: from [192.168.178.21] ([77.229.10.189]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0M40t0-1b0zrO1zik-00rV09 for ; Fri, 07 Oct 2016 18:31:12 +0200 To: submit@bugs.x2go.org From: kwikwi Message-ID: <8b46fec6-a0df-272e-c81f-a9386adf1e35@online.de> Date: Fri, 7 Oct 2016 18:31:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:joz4GHVZf1RFvUPNTQp+d36ZsWCC9b/DSxl2j7G4gMEMvWG02Di DxbbsmVropdbvJOgV88wGe79XzrAiEciLCdKplSFMWQSppAnoNtllh+rF3DRANW0D/Zg5sb AJy784rTTJZgEWuZJ4y8p2Q1m+AhzdhTlEOTrycvo1tBBVUyZcThSG14+ATN8eDJuJs7nwW Ha++oZPIU4+g7FuBE1p3w== X-UI-Out-Filterresults: notjunk:1;V01:K0:XXflb4923F0=:kGT0eIteRC1lYAbSPkWzmk 5EysQ4JjCJdC2TESyrg9ZzqLjYNqQXDNMtr/I0M1ii2UPF2TO3z53ml3iPaZCcQznFXOptp6F Tnl6+BrlHet57kzDVjD0EzIjq4BnTcLPotCB7KjWTUrk+Sw9B8xQTHcTlEjD3AXabZyUP7jGd NgDjd0Un/8ZNa14nNHse4CErv/TxXkIYw7Nwd+u3X/3iM+NCpaOrmidYb0dJPwCyw02srbEtJ 2JRY7upQXcTSZKjZPRbTecFJT6EgbaOLOdWwuLzUiH37y9p59WC4CMXO1nRC8LpkPajrkcEZp 34IqttiTznm6Tl9ZiWVNIs32izER/PEqe55Q+69vl3qjZ8U33VEzgSYkBIvKVjX1vsm19dUuZ wgodz7G5KNvW9o2pQKJeael6Et6HWh3s/bVG9almutmt1b6Tef5mXDHzzOOLNsyWc4rXN4CUX RTBUYTTBrpW9L7j+QDJAIHfE/8iHu6ZU8exZbt7q4f/vBwLIGVYR/okC4ABjTUWoB/u8b74YF dy2SH2/4Pvm5XGaUJNAiIcttZ6+9K5sCJf4IH4HgtwvMtEkTx+A5Kn2BLmXkOamISrvHf91Xh dKYGX6W1mhce/ev0O9RMdHW9mUnGxP+pRPSBbfb2kqR+5et+mKkYBpzmvyqaAewB72NpyfZse DfoWRCxppw2fDD2MUobcyjTV5k5fe41SbDdOA9qLlg/3gFXMgJWkV2LZ2k89/FYZ8+dL7ihp9 O0Ubqhaq+/fI6N4g Package: x2goclient Version: 4.0.5.2 Packages x2goagent 2:3.5.0.32-0~668~ubuntu16.04.1 x2goclient 4.0.5.2-0~1205~ubuntu16.04.1 x2goplugin 4.0.5.2-0~1205~ubuntu16.04.1 x2goserver 4.0.1.19-0~1064~ubuntu16.04.1 x2goserver-extensions 4.0.1.19-0~1064~ubuntu16.04.1 x2goserver-xsession 4.0.1.19-0~1064~ubuntu16.04.1 encfs 1.8.1-3 libpam-mount 2.14-1.1 Running on Xubuntu Xenial I use encfs to encrypt my private data and pam_mount to automagically mount this when I login. As I only use a key when logging in over ssh (and x2go) I let my ~/.profile prompt for the encfs password. Until the previous install of Xubuntu (wily) this also worked for x2go. Under xenial not anymore, although I have added the same lines in the same configuration files. x2goclient "hangs" silently ############################################# x2goclient --debug x2go-INFO-1> "Starting X2Go Client..." x2go-INFO-4> "Translator: :/i18n/x2goclient_de found." x2go-INFO-4> "Übersetzung: :/i18n/qt_de gefunden." x2go-INFO-3> "X2GoClient wurde gestartet." x2go-DEBUG-../src/onmainwindow.cpp:517> "$HOME=/home/jw" x2go-DEBUG-../src/onmainwindow.cpp:2206> Reading 3 sessions from config file. x2go-DEBUG-../src/sessionbutton.cpp:325> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png". x2go-DEBUG-../src/sessionbutton.cpp:325> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png". x2go-DEBUG-../src/sessionbutton.cpp:325> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png". x2go-DEBUG-../src/onmainwindow.cpp:2686> Creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'. x2go-DEBUG-../src/onmainwindow.cpp:2753> Starting session via Smart Card, SSH Agent or Kerberos token. x2go-INFO-8> "Verbindung mit Server wird gestartet: aspi:22" x2go-DEBUG-../src/onmainwindow.cpp:2787> Starting new ssh connection to server:"aspi":"22" krbLogin: false x2go-DEBUG-../src/sshmasterconnection.cpp:174> SshMasterConnection, host "aspi"port 22user "jw"useproxy falseproxyserver ""proxyport 22 x2go-DEBUG-../src/sshmasterconnection.cpp:211> Starting SSH connection without Kerberos authentication. x2go-DEBUG-../src/sshmasterconnection.cpp:215> SshMasterConnection, instance SshMasterConnection(0x1a16810) created. x2go-DEBUG-../src/sshmasterconnection.cpp:451> SshMasterConnection, instance SshMasterConnection(0x1a16810) entering thread. x2go-DEBUG-../src/sshmasterconnection.cpp:487> libssh not initialized yet. Initializing. x2go-DEBUG-../src/sshmasterconnection.cpp:798> cserverAuth x2go-DEBUG-../src/sshmasterconnection.cpp:813> state: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:663> User authentication OK. x2go-DEBUG-../src/onmainwindow.cpp:2884> SSH connection established. x2go-DEBUG-../src/onmainwindow.cpp:3193> Continue normal X2Go session x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 0: "export HOSTNAME && x2golistsessions" x2go-DEBUG-../src/sshprocess.cpp:204> this=SshProcess(0x1a68c10) Running masterCon->addChannelConnection(this, ' "acef35a2-bc0c-467a-9b81-6da9a52d96c8" ', ' "bash -l -c 'echo "X2GODATABEGIN:acef35a2-bc0c-467a-9b81-6da9a52d96c8"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME && x2golistsessions; echo "X2GODATAEND:acef35a2-b" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1324> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1326> Passing new channel conenction object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1328> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1516> Creating new channel. x2go-DEBUG-../src/sshmasterconnection.cpp:1520> New channel:0x7f18bc013420 x2go-DEBUG-../src/sshmasterconnection.cpp:1551> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:acef35a2-bc0c-467a-9b81-6da9a52d96c8"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME && x2golistsessions; echo "X2GODATAEND:acef35a2-bc0c-467a-9b81-6da9a52d96c8";'" x2go-DEBUG-../src/sshmasterconnection.cpp:1574> New exec channel created. ################################# I recently found that, when on the remote the encfs is mounted, then x2goclient connects as usual. So an obvious work-arround is to login (via ssh) on the remote before running x2goclient. Is this a bug? Is this a configuration error on 1 of my PCs? Is there a better work-arround Regards Jack