RE: Getting rid of "Cannot open display" message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"-X" capitalize it.

-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx [mailto:listbounce@xxxxxxxxxxxxxxxxx]
On Behalf Of Amit Dor-Shifer
Sent: Tuesday, May 05, 2009 1:56 AM
To: secureshell@xxxxxxxxxxxxxxxxx
Subject: Getting rid of "Cannot open display" message

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



[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux