From unknown Thu Mar 28 10:49:01 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#1290: [X2Go-Dev] Bug#1290: "Cannot open default display" error with .bashrc argument "setxkbmap de" Reply-To: Stefan Baur , 1290@bugs.x2go.org Resent-From: Stefan Baur Resent-To: x2go-dev@lists.x2go.org Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Thu, 26 Apr 2018 11:30:03 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 1290 X-X2Go-PR-Package: x2goclient X-X2Go-PR-Keywords: Received: via spool by 1290-submit@bugs.x2go.org id=B1290.152474203622363 (code B ref 1290); Thu, 26 Apr 2018 11:30:03 +0000 Received: (at 1290) by bugs.x2go.org; 26 Apr 2018 11:27:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id BFD2E5DAEA for <1290@bugs.x2go.org>; Thu, 26 Apr 2018 13:27:12 +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 FiqO10PhTRSX for <1290@bugs.x2go.org>; Thu, 26 Apr 2018 13:27:03 +0200 (CEST) X-Greylist: delayed 303 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Thu, 26 Apr 2018 13:27:03 CEST Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 7B2E85DAC9 for <1290@bugs.x2go.org>; Thu, 26 Apr 2018 13:27:03 +0200 (CEST) Received: from [192.168.0.15] ([149.172.203.221]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPSA (Nemesis) id 0LcxSS-1eTUXA29po-00iDcv; Thu, 26 Apr 2018 13:22:00 +0200 To: Daniel Mann , 1290@bugs.x2go.org References: <0476757d-46cb-f067-c408-db1ef4afa443@bph.rub.de> From: Stefan Baur Message-ID: <9ecd0cbf-ed29-0ee3-e4b9-f707da8c3ea2@baur-itcs.de> Date: Thu, 26 Apr 2018 13:21:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <0476757d-46cb-f067-c408-db1ef4afa443@bph.rub.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tnRjZFVtyNomvJCt1nWEaJiYt48dFlq93" X-Provags-ID: V03:K1:9DQeUkl6AXLgLIh9TFFmGHsG1BU8jrGHc/l3szoOx9QLbPEnNAT Hu94Rk97yJBy/Cl52LFUcFKD5GuWv3HzUXmaamPneFmx1yhwMHIcYVX/0Av0pf0M5MNcxmQ ipeKToV/bV16qTEkyLsqinwN1EO1ydj3RW0S3uSNvoZIk2J4kFp4sZeRBDpH09CtcwRYYO9 McCkTTbVv/uFFbPlohDrg== X-UI-Out-Filterresults: notjunk:1;V01:K0:aeQvshP60F0=:jV9i/lNMK7VUvuYAi6bAa2 71lAPhJHoLCUumphR/YXPhc+m6jAbsoz1KFRDuFIa5lOfzPDAm/X1frVrJ3F7OZwrfofQJH3j ld5eHMbLXICZvtt8HH9e68eJ6HUg02r0vDANQ26YwjCMB8bzdWchUWRmy/+hAXEjUsU+wnpIC 0cibkG2rOcACwnIP3/LxvpmtFxIMoWMaBlbbsjT0B/0KLhbuLPnaiqXFPT2gauGiqxMBlQ+Mf F/ERTcOALu4dPGmffvhI+zeEX9/MhOPTt81+LHMVD8OjiKbbtgDDANGmtiTN4ulGAYUfISeAW 0bP+AeAgngpW3MlNqFIpGPr2lA/xjWevX91lgwgoLZyR/7xpwnF7uQ3zxVCJWt3QE8MJKY8MP D5bFbJl6+qTP07+ANHCikFNGUZenLRd9NT+rUwsQh0r1FTe4aBWrBrX8jXu+K5BdT62zBqPGZ eSLb+itEvMpuYEpKnvX2bnQ4WCzxoRWOGFFl1dMGLkWYZLl9LnEClo9+imr7IWe6gu8/QCl/q l6kodlwsgxP9HIyhe8SrSWpnrW17ydtrvJfnyuhHwFpHT0EsibGce52bYTmjx3JOMEcjN7Wg5 SrDQJlVGUhEOZUIaxoSjMbVmk8SguIF9Tjl+F1dTq9bwRVjpyF9DkH1bIJfEMnExXtU3sAqaF 6/51oQ8jMQ0WcIJauRSneAasAdC1qVZS/dHGSL90/xV8mBnbzHQyVWq5N7mvimIisZ1g= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tnRjZFVtyNomvJCt1nWEaJiYt48dFlq93 Content-Type: multipart/mixed; boundary="ZLbDzovpXVZ68Q0EjVQawwRy61kTBQUUl"; protected-headers="v1" From: Stefan Baur To: Daniel Mann , 1290@bugs.x2go.org Message-ID: <9ecd0cbf-ed29-0ee3-e4b9-f707da8c3ea2@baur-itcs.de> Subject: Re: [X2Go-Dev] Bug#1290: "Cannot open default display" error with .bashrc argument "setxkbmap de" References: <0476757d-46cb-f067-c408-db1ef4afa443@bph.rub.de> In-Reply-To: <0476757d-46cb-f067-c408-db1ef4afa443@bph.rub.de> --ZLbDzovpXVZ68Q0EjVQawwRy61kTBQUUl Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable Am 25.04.2018 um 14:27 schrieb Daniel Mann: > When the argument "setxkbmap de" is present in the .bashrc, x2goclient > states "Cannot open default display". >=20 > This issue is resolved when the argument is removed from the .bashrc fi= le. Sounds like you're calling setxkbmap when there's no display variable set= =2E Would you please try wrapping the setxkbmap call with if [ -n "$DISPLAY" ]; then setxkbmap de fi Also, what you are doing sounds like a workaround for $SOMETHING. Could it be that you are unaware of the option to enforce a keyboard mapping using X2GoClient? If you know of that option, but it doesn't work for you, we'd prefer receiving a bug report for that, rather than for your intended workaround that doesn't work. ;-) Kind Regards, Stefan Baur --=20 BAUR-ITCS UG (haftungsbeschr=C3=A4nkt) Gesch=C3=A4ftsf=C3=BChrer: Stefan Baur Eichen=C3=A4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 --ZLbDzovpXVZ68Q0EjVQawwRy61kTBQUUl-- --tnRjZFVtyNomvJCt1nWEaJiYt48dFlq93 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJa4bZTAAoJEG7d9BjNvlEZwG0H/i/tjOhtPpkI9eq0BgagXaeF t6aI8IgUOmN9Y07wS9J+DskV5DKy/9ImaVKFQaICAtY9QoMZUt9a1qLyvFfXsA8f c6iSA73q/6EQD8ieqCZb0sUUhwHsdWOttQxwY5QyC2dMe/NopgmGX80Js9rAnh0U 7kZylODEhskIu5P55DBPoSCI+hcOab/x7CZemak7h/2vZI8nlENFzyh2ESjDyW// 25Sw82ddIDtE1pno63Cphnce5tDNXgMppgxF6HJcYJRXBVqDMTrUOQFQraAyrd9F B/kNgx5K3WAZB7g//Dj/RKySdl7/yrunkmsXq/yFfZe9V87rd0DxFRXL7qdhjaM= =uy8g -----END PGP SIGNATURE----- --tnRjZFVtyNomvJCt1nWEaJiYt48dFlq93--