Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ssh -Y user@MACOSXSERVER
No xauth data using fake authentication data for X11 forwarding
login MACOSXSERVER OK
set DISPLAY=CYGWINIP:0.0
我收到以下错误
什么地方出了错?
您正在重写由$DISPLAY设置的值sshd。这会阻止 X 转发工作。别这样了。
$DISPLAY
sshd
在运行 ssh 之前运行 xhost + 可以解决这个问题。