[X2Go-User] Keyboard Translation Mac/OS
Mihai Moldovan
ionic at ionic.de
Tue May 5 03:02:28 CEST 2015
On 05.05.2015 02:57 AM, Robert Dinse wrote:
> What seems odd to me is that if I originate from a Ubuntu machine, with
> csh as the shell on the target host, it works. It only breaks if originated
> from a Mac.
That's because the command chain is only executed by the OS X version of X2Go
Client. Sorry if I was unspecific about that. xmodmap is *not* executed on Linux
or Windows, so the "problematic" command is never run through X2Go Client on
these platforms.
The whole call is doomed anyway, because it's doing something like
# echo "HUGE LIST OF XMODMAP OUTPUT FROM THE OS X CLIENT MACHINE" | xmodmap -
Now of that huge list by chance includes a quote character, the fun begins.
> It would seem there should be some way to separate the shell
> x2go uses to process commands, i.e., explicitly invoking /bin/bash instead of
> just assuming it's what will process the commands, for instances where users
> are using something else.
That's one solution, yep. Not sure why the code is currently not doing that,
though. It would add another dependency on bash, but would make things (not only
for that problem, but in general!) *a lot* more deterministic. Thanks.
> Ksh is a superset of bourne shell as is bash so
> that's probably why it has enough in common to work.
Exactly.
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-user/attachments/20150505/ce6e7e43/attachment.pgp>
More information about the x2go-user
mailing list