Re: Getting rid of "Cannot open display" message

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

 



look into your ~/.profile and /etc/profile.
You might be running an X client.

On Mon, May 4, 2009 at 10:56 PM, Amit Dor-Shifer <amitds@xxxxxxxxxx> wrote:
> 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
>
>



-- 
And, did Galoka think the Ulus were too ugly to save?
                                         -Centauri

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

  Powered by Linux