Re: Remote keystrokes garbled
Re: Remote keystrokes garbled
- Subject: Re: Remote keystrokes garbled
- From: Doug Carter <email@hidden>
- Date: Mon, 12 Oct 2009 06:37:24 -0700
> One problem I've been having repeatedly with X11 on the mac is that if I
> do
>
> ssh -X myhost gdmflexiserver --xnest
>
> When the remote login window comes up (as presented by Xephyr), the keys
> on my keyboard produce, in some cases nothing, and in others, the wrong
> character. So I can't log in. On the other hand, if I
>
> ssh -X myhost
>
> and then:
>
> gdmflexiserver --xnest
>
> Everything works. Any clues?
This sounds like an environment problem. When you run:
ssh -X myhost
You are starting up a shell on "myhost" and sourcing any login settings
that are located in the .bash_profile or .profile file.
Running:
ssh -X myhost gdmflexiserver --xnest
Bypasses the setting of any login environment settings.
I don't have gdmflexiserver, so I can't test this, but there are several
ways to source the remote environment, but you might try something like:
ssh -t -X myhost gdmflexiserver --xnest
Or:
ssh -t -X myhost "bash -l -c \"gdmflexiserver --xnest\" "
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden