Summary: | ssh/pam problem setting remote display variable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Carl Michal <michal> |
Component: | Current packages | Assignee: | PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Carl Michal
2004-11-11 16:12:31 UTC
This depends on your sshd_config setting , if you uncomment X11DisplayOffset 10 you'll get a DISPLAY :10:0 on connect. But usually this isn't needed. I have the same problem, with the same log messages. I've tried X11DisplayOffset and the other X11 options (even though I don't use X11 forwarding) but they don't change anything. $DISPLAY always winds up as relay.mywork.com:0.0 which causes vim to hang on startup. When I unset DISPLAY, vim starts fine - and of course this only happens over ssh. This only seemed to have started in the past week or so, possibly after a util-linux upgrade (~x86). Uncommenting the display offset in sshd_config (and restarting sshd) doesn't make any difference. Its not just the display offset that is getting mis-set, The wrong hostname appears in the display variable. When ssh'ing _from_ home.my-isp.net _to_ my.work.ca, DISPLAY gets set to home.my-isp.net:0.0, when it should be my.work.ca:10.0, If I go and set the DISPLAY variable correctly, the windows do get forwarded. This is a duplicate of Bug #70585 |