[X2Go-Dev] Bug#1290: Bug#1290: "Cannot open default display" error with .bashrc argument "setxkbmap de"

Stefan Baur X2Go-ML-1 at baur-itcs.de
Thu Apr 26 13:21:55 CEST 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20180426/1ac9ea64/attachment.sig>


More information about the x2go-dev mailing list