From jklaas@gmail.com Thu Apr 7 15:36:02 2016 Received: (at submit) by bugs.x2go.org; 7 Apr 2016 13:36:04 +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=-0.1 required=3.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,URIBL_BLOCKED,WEIRD_PORT autolearn=ham version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 99D8A5DA9D for ; Thu, 7 Apr 2016 15:36:01 +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 lswxuMXJcocn for ; Thu, 7 Apr 2016 15:35:55 +0200 (CEST) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id DCA295DA8E for ; Thu, 7 Apr 2016 15:35:54 +0200 (CEST) Received: by mail-ig0-f180.google.com with SMTP id ui10so70393547igc.1 for ; Thu, 07 Apr 2016 06:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=WCvMqGvmtaNMffDG3T2DXCH1vMJEhl+whQKjdtUrDuc=; b=P4VB4jaZrLw1qLc8JZTLGmVOJMd9BdWRri4E1T0KQfChVMJPQWsV4r6p4/Znx29aHc JB5UNIyhIk1SSgiQHbY/1ABjS/K3omEkKlF2B/D3md5Qs6IiRV1aRjWVme9S5rXQBOYR 7dH7mL8kcmYlahJvUEQAxgL5OUESNN+gvC6h/JdY4axBtro7qlC2z9NnTnIm92+/vBTj NdAY5EwdEYefJ7BA/fKIhCXeGVtwdIGQhOreVQpfgVg3dwfF5eOlyZ8nXobAHs6gZxZ5 5d7b277fsykDtLrsFNqMLWnD4aPH3be8K1egtSIxmIo79cRw9q8nRvsL5o9ZfDz9GI2V 6lMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WCvMqGvmtaNMffDG3T2DXCH1vMJEhl+whQKjdtUrDuc=; b=gROhN3hBWOgZKISg0ddyjC2abWFyF/TjE2DUuGL6J0QFLfeJZSuh1WSE7Ps+3KCfK3 T/4fu+RIVJnRURgvHawVUowaZhRiHx8lhqBAb3YuULJzTGkpcwwBqcW3ItrUm8GnYFJA J6SKEZjBxonv6mhqiPK5nl6VS/Zz9bGNVIO9rmilexxguWn9hw/4MiXQcC4VEPJ3YB/s vp1wdTGXoS21czSYVLXmj4riqMlkGh6IR2860n5jWSl920Z4HjDsCrOUbL1svMH1ROP3 +4nkabiset3e+5obeUet0RQahmp/pk1i9svb6hI728If/rS3Nuumpu96cCuU4nKzZTU4 Y74w== X-Gm-Message-State: AD7BkJJo39+UluXaBVfQHU3j93qoRS4fVAcMQErrVq8goTLq5ijN3vIIuKlx6He3c7xLA/uXkFVMuYkW5SZONw== X-Received: by 10.50.118.4 with SMTP id ki4mr30429534igb.53.1460036153337; Thu, 07 Apr 2016 06:35:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.35.194 with HTTP; Thu, 7 Apr 2016 06:35:14 -0700 (PDT) From: James Klaas Date: Thu, 7 Apr 2016 09:35:14 -0400 Message-ID: Subject: Client error Connection failed. xrdb: Can't open display '' To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary=089e013cc22a476fd0052fe528f6 --089e013cc22a476fd0052fe528f6 Content-Type: text/plain; charset=UTF-8 Package: x2goserver Version: 4.0.1.19-0x2go2+git20160126.1064+jessie.main.1 Package: x2goclient Version: 4.0.5.1-0~1167~ubuntu14.04.1 After I rebooted my server, I started getting: Connection failed. xrdb: Can't open display '' from the client. If I run "x2goclient --debug", here's the output from the Debug: x2go-DEBUG-../src/onmainwindow.cpp:2682> Creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'. x2go-DEBUG-../src/onmainwindow.cpp:1286> Removing apps from tray x2go-INFO-8> "Starting connection to server: myserver.org:22" x2go-DEBUG-../src/onmainwindow.cpp:2783> Starting new ssh connection to server:"myserver.org":"22" krbLogin: false x2go-DEBUG-../src/sshmasterconnection.cpp:173> SshMasterConnection, host " myserver.org"port 22user "myuser"useproxy falseproxyserver ""proxyport 22 x2go-DEBUG-../src/sshmasterconnection.cpp:210> Starting SSH connection without Kerberos authentication. x2go-DEBUG-../src/sshmasterconnection.cpp:214> SshMasterConnection, instance SshMasterConnection(0x27c1250) created. x2go-DEBUG-../src/sshmasterconnection.cpp:450> SshMasterConnection, instance SshMasterConnection(0x27c1250) entering thread. x2go-DEBUG-../src/sshmasterconnection.cpp:486> libssh not initialized yet. Initializing. x2go-DEBUG-../src/sshmasterconnection.cpp:797> cserverAuth x2go-DEBUG-../src/sshmasterconnection.cpp:812> state: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:983> Challenge authentication failed. Trying password mechanism if available. x2go-DEBUG-../src/sshmasterconnection.cpp:989> Password mechanism available. Continuing. x2go-DEBUG-../src/sshmasterconnection.cpp:993> Password authentication requested. x2go-DEBUG-../src/sshmasterconnection.cpp:662> User authentication OK. x2go-DEBUG-../src/onmainwindow.cpp:2878> SSH connection established. x2go-DEBUG-../src/onmainwindow.cpp:3160> 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(0x27efcc0) Running masterCon->addChannelConnection(this, ' "3c34e9d5-a896-4976-a52a-12cd3dfbb0fd" ', ' "bash -l -c 'echo "X2GODATABEGIN:3c34e9d5-a896-4976-a52a-12cd3dfbb0fd"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME && x2golistsessions; echo "X2GODATAEND:3c34e9d5-a" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1312> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1314> Passing new channel conenction object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1316> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1504> Creating new channel. x2go-DEBUG-../src/sshmasterconnection.cpp:1508> New channel:0x7fbcd8011f80 x2go-DEBUG-../src/sshmasterconnection.cpp:1539> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:3c34e9d5-a896-4976-a52a-12cd3dfbb0fd"; export PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME && x2golistsessions; echo "X2GODATAEND:3c34e9d5-a896-4976-a52a-12cd3dfbb0fd";'" x2go-DEBUG-../src/sshmasterconnection.cpp:1562> New exec channel created. x2go-DEBUG-../src/sshmasterconnection.cpp:1666> EOF on channel 0x7fbcd8011f80; SshProcess object: 0 x2go-DEBUG-../src/sshmasterconnection.cpp:1734> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:1738> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:517> SSH finished: raw output (stdout): " X2GODATABEGIN:3c34e9d5-a896-4976-a52a-12cd3dfbb0fd X2GODATAEND:3c34e9d5-a896-4976-a52a-12cd3dfbb0fd " x2go-DEBUG-../src/sshprocess.cpp:523> Have stderr only, something must be wrong. x2go-DEBUG-../src/sshprocess.cpp:528> SSH finished: false - "xrdb: Can't open display '' " (0). x2go-DEBUG-../src/onmainwindow.cpp:3549> "xrdb: Can't open display '' " ------------------------------------------------------------------------------------------------------ I tried with a different server and it seemed to work fine: Package: x2goserver Version: 4.0.1.19-0x2go1 James Klaas --089e013cc22a476fd0052fe528f6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: x2goserver
Version:=C2=A04.0.1.19-0x2go2+git2= 0160126.1064+jessie.main.1

Package: x2goclient=C2=A0
Version:=C2=A04.0.5.1-0~1167~ubuntu14.04.1

= After I rebooted my server, I started getting:

Con= nection failed. xrdb: Can't open display ''

<= /div>
from the client. If I run "x2goclient --debug", here= 9;s the output from the Debug:

x2go-DEB= UG-../src/onmainwindow.cpp:2682> Creating QPixmap with session icon: = 9;":/img/icons/128x128/x2gosession.png"'.
x2go-DEBU= G-../src/onmainwindow.cpp:1286> Removing apps from tray
x2go-I= NFO-8> "Starting connection to server: myserver.org:22"
x2go-DEBUG-../= src/onmainwindow.cpp:2783> Starting new ssh connection to server:"<= a href=3D"http://myserver.org" target=3D"_blank">myserver.org":&qu= ot;22" krbLogin: false
x2go-DEBUG-../src/sshmasterconnection= .cpp:173> SshMasterConnection, host "myserver.org"port 22user "myuser"use= proxy falseproxyserver ""proxyport 22
x2go-DEBUG-../src= /sshmasterconnection.cpp:210> Starting SSH connection without Kerberos a= uthentication.
x2go-DEBUG-../src/sshmasterconnection.cpp:214> = SshMasterConnection, instance SshMasterConnection(0x27c1250) =C2=A0created.= =C2=A0
x2go-DEBUG-../src/sshmasterconnection.cpp:450> SshMaste= rConnection, instance SshMasterConnection(0x27c1250) =C2=A0entering thread.= =C2=A0
x2go-DEBUG-../src/sshmasterconnection.cpp:486> libssh n= ot initialized yet. Initializing.
x2go-DEBUG-../src/sshmasterconn= ection.cpp:797> cserverAuth
x2go-DEBUG-../src/sshmasterconnect= ion.cpp:812> state: 1

x2go-DEBUG-../src/sshmast= erconnection.cpp:983> Challenge authentication failed. Trying password m= echanism if available.

x2go-DEBUG-../src/sshmaster= connection.cpp:989> Password mechanism available. Continuing.
=
x2go-DEBUG-../src/sshmasterconnection.cpp:993> Password a= uthentication requested.

x2go-DEBUG-../src/sshmast= erconnection.cpp:662> User authentication OK.
x2go-DEBUG-../sr= c/onmainwindow.cpp:2878> SSH connection established.
x2go-DEBU= G-../src/onmainwindow.cpp:3160> Continue normal X2Go session
x= 2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshPro= cess object 0: "export HOSTNAME && x2golistsessions"
x2go-DEBUG-../src/sshprocess.cpp:204> this=3DSshProcess(0x27efcc0)= =C2=A0Running masterCon->addChannelConnection(this, ' "3c34e9d= 5-a896-4976-a52a-12cd3dfbb0fd" ', ' "bash -l -c 'echo= "X2GODATABEGIN:3c34e9d5-a896-4976-a52a-12cd3dfbb0fd"; export PAT= H=3D"/usr/local/bin:/usr/bin:/bin"; export TERM=3D"dumb"= ;; export HOSTNAME && x2golistsessions; echo "X2GODATAEND:3c34= e9d5-a" ');=C2=A0
x2go-DEBUG-../src/sshmasterconnection.= cpp:1312> Locking SSH channel connection MUTEX.
x2go-DEBUG-../= src/sshmasterconnection.cpp:1314> Passing new channel conenction object = to channelConnections.
x2go-DEBUG-../src/sshmasterconnection.cpp:= 1316> Unlocking SSH channel connection MUTEX.
x2go-DEBUG-../sr= c/sshmasterconnection.cpp:1504> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:1508> New channel:0x7fb= cd8011f80

x2go-DEBUG-../src/sshmasterconnection.cp= p:1539> Executing remote: "bash -l -c 'echo "X2GODATABEGIN= :3c34e9d5-a896-4976-a52a-12cd3dfbb0fd"; export PATH=3D"/usr/local= /bin:/usr/bin:/bin"; export TERM=3D"dumb"; export HOSTNAME &= amp;& x2golistsessions; echo "X2GODATAEND:3c34e9d5-a896-4976-a52a-= 12cd3dfbb0fd";'"

x2go-DEBUG-../src/s= shmasterconnection.cpp:1562> New exec channel created.

x2go-DEBUG-../src/sshmasterconnection.cpp:1666> EOF on channel 0= x7fbcd8011f80; SshProcess object: 0
x2go-DEBUG-../src/sshmasterco= nnection.cpp:1734> EOF sent.
x2go-DEBUG-../src/sshmasterconnec= tion.cpp:1738> Channel closed.
x2go-DEBUG-../src/sshprocess.cp= p:517> SSH finished: raw output (stdout): "
X2GODATABEGIN= :3c34e9d5-a896-4976-a52a-12cd3dfbb0fd
X2GODATAEND:3c34e9d5-a896-4= 976-a52a-12cd3dfbb0fd
"
x2go-DEBUG-../src/sshproce= ss.cpp:523> Have stderr only, something must be wrong.
x2go-DE= BUG-../src/sshprocess.cpp:528> SSH finished: false - "xrdb: Can'= ;t open display ''
" (0).
x2go-DEBUG-../sr= c/onmainwindow.cpp:3549> "xrdb: Can't open display ''
"
-------------------------------------------= -----------------------------------------------------------

<= /div>
I tried with a different server and it seemed to work fine:
=
Package:=C2=A0x2goserver
Version:=C2=A04.0.1.19-0x2go1
=

James Klaas


--089e013cc22a476fd0052fe528f6--