[X2Go-Dev] Bug#1116: Bug 1116 solved
Mihai Moldovan
ionic at ionic.de
Tue Nov 29 18:39:45 CET 2016
Control: tag -1 not-a-bug
Control: severity -1 normal
Control: close -1
On 29.11.2016 04:21 PM, Stefan Baur wrote:
> Am 29.11.2016 um 15:41 schrieb star7 at posteo.de:
>> Package: x2goserver
>> Version: 4.0.5.1
>> Severity: grave
>>
>> The problem was similar to bug 1091
>> I solved it by removing the command setxkbmap from my .profile
>
> Note that you don't have to remove it completely; wrapping it in a check
> like
>
> if test -t 0; then
> your-command-here
> fi
>
> should do. This test will only return true if you're runniny a TTY
> session, which X2Go does not.
For commands expecting a TTY (e.g. "mesg"), yes. setxkbmap should not be wrapped
into this, but rather $DISPLAY checked for existence *and* its stderr messages
redirected either to a file or to /dev/null. In reality, this call doesn't
belong in ~/.profile at all, but I'll leave that to the user to sort it out...
Closing up.
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20161129/aeb9dca6/attachment.pgp>
More information about the x2go-dev
mailing list