X2Go Bug report logs - #1021
Client error Connection failed. xrdb: Can't open display ''

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: James Klaas <jklaas@gmail.com>

Date: Thu, 7 Apr 2016 13:40:01 UTC

Severity: normal

Found in version 4.0.1.19-0x2go2+git20160126.1064+jessie.main.1

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 7 Apr 2016 13:36:04 +0000
From jklaas@gmail.com  Thu Apr  7 15:36:02 2016
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 <submit@bugs.x2go.org>; 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 <submit@bugs.x2go.org>;
	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 <submit@bugs.x2go.org>; Thu,  7 Apr 2016 15:35:54 +0200 (CEST)
Received: by mail-ig0-f180.google.com with SMTP id ui10so70393547igc.1
        for <submit@bugs.x2go.org>; 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 <jklaas@gmail.com>
Date: Thu, 7 Apr 2016 09:35:14 -0400
Message-ID: <CACJadNENB5Z44s7t1XH0FoYjsEv0YbsCvAAfhywXgfFLVH8uxw@mail.gmail.com>
Subject: Client error Connection failed. xrdb: Can't open display ''
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=089e013cc22a476fd0052fe528f6
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Nov 5 17:03:42 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.