Getting rid of "Cannot open display" message
- From: Amit Dor-Shifer <amitds@xxxxxxxxxx>
- Date: Tue, 05 May 2009 08:56:13 +0300
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
- Follow-Ups:
- Re: Getting rid of "Cannot open display" message
- From: Dan Nelson
- Re: Getting rid of "Cannot open display" message
- From: Robert Hajime Lanning
- RE: Getting rid of "Cannot open display" message
- From: Weeden Jr, Robert(GE Infra, Aviation, US)
- Re: Getting rid of "Cannot open display" message
- Prev by Date: Re: Requiring Dual Factor Authentication / Multiple Authentication
- Next by Date: RE: Getting rid of "Cannot open display" message
- Previous by thread: Re: Requiring Dual Factor Authentication / Multiple Authentication
- Next by thread: RE: Getting rid of "Cannot open display" message
- Index(es):
Relevant Pages
|