X2Go Bug report logs - #1290
"Cannot open default display" error with .bashrc argument "setxkbmap de"

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

Reported by: Daniel Mann <daniel.mann@bph.rub.de>

Date: Wed, 25 Apr 2018 12:40:02 UTC

Severity: normal

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1290; Package x2goclient. (Wed, 25 Apr 2018 12:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Mann <daniel.mann@bph.rub.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 25 Apr 2018 12:40:02 GMT) Full text and rfc822 format available.

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

From: Daniel Mann <daniel.mann@bph.rub.de>
To: submit@bugs.x2go.org
Subject: "Cannot open default display" error with .bashrc argument "setxkbmap de"
Date: Wed, 25 Apr 2018 14:27:43 +0200
Package: x2goclient

Version: 4.1.1.1 (Windows)


When the argument "setxkbmap de" is present in the .bashrc, x2goclient 
states "Cannot open default display".

This issue is resolved when the argument is removed from the .bashrc file.

-- 
Dr. Daniel Mann
M.Sc. Structural Biology
Department of Biophysics
Ruhr University Bochum
Office ND 04/67
Universitaetsstr. 150
D-44780 Bochum

Fon +49(0)234-32-28363
Fax +49(0)234-32-14238

www.daniel-mann.com
www.bph.rub.de

Daniel.Mann@bph.rub.de


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1290; Package x2goclient. (Thu, 26 Apr 2018 11:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 26 Apr 2018 11:30:04 GMT) Full text and rfc822 format available.

Message #10 received at 1290@bugs.x2go.org (full text, mbox):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: Daniel Mann <daniel.mann@bph.rub.de>, 1290@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1290: "Cannot open default display" error with .bashrc argument "setxkbmap de"
Date: Thu, 26 Apr 2018 13:21:55 +0200
[Message part 1 (text/plain, inline)]
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".
> 
> This issue is resolved when the argument is removed from the .bashrc file.

Sounds like you're calling setxkbmap when there's no display variable set.

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

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Dec 18 12:03:36 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.