-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unset $DISPLAY when running under mosh #334
Comments
It would be better if mosh could support X11 forwarding, but is this even possible, given the architecture (of X)? |
I don't understand why your DISPLAY is set in the first place -- do you have ssh configured to use -X all the time...? |
YES! -----Original message-----
|
Maybe mosh can add the |
It seems that having mosh be in the business of deciding which environment variables should (not) be passed in is extra complexity. For local environments that need this behavior we suggest writing a small wrapper script that replaces mosh-server, unsets the appropriate variables, and then exec's the real mosh-server binary. |
mosh does not support X11 forwarding, but it is still keeping $DISPLAY env. It breaks the programs that work differently depending on X11 presence.
If would be great to unset $DISPLAY in a shell under mosh.
The text was updated successfully, but these errors were encountered: