Amit Dor-Shifer
2009-05-05 16:08:56 UTC
Hi all.
I'm using ssh to execute a command on a server. When the remote server
has an X server running, I get a/m message written to standard error.
amit0 ~ # ssh localhost echo bla
Cannot open display "default display"
Cannot open display "default display"
bla
Appending the '-x' parameter, as suggested, doesn't seem to help:
amit0 ~ # ssh -x localhost echo bla
Cannot open display "default display"
Cannot open display "default display"
bla
I want to disable whatever's causing this message. I don't need X
running over the connection.
How do I get rid of this message?
ssh version:
amit0 ~ # ssh -V
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
10x,
Amit
I'm using ssh to execute a command on a server. When the remote server
has an X server running, I get a/m message written to standard error.
amit0 ~ # ssh localhost echo bla
Cannot open display "default display"
Cannot open display "default display"
bla
Appending the '-x' parameter, as suggested, doesn't seem to help:
amit0 ~ # ssh -x localhost echo bla
Cannot open display "default display"
Cannot open display "default display"
bla
I want to disable whatever's causing this message. I don't need X
running over the connection.
How do I get rid of this message?
ssh version:
amit0 ~ # ssh -V
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
10x,
Amit