[Top][All Lists]

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

[help-gv] 答复: gv: Unable to open the display.

From: 唐亮
Subject: [help-gv] 答复: gv: Unable to open the display.
Date: Thu, 17 Aug 2017 14:52:12 +0000

I used Xshell tool(default configuration) to ssh to the server. 

发件人: address@hidden [mailto:address@hidden 
发送时间: 2017年8月17日 21:52
收件人: address@hidden
抄送: 唐亮
主题: Re: [help-gv] gv: Unable to open the display.

On 2017-08-17 01:56 +0000, 唐亮 wrote:
> pprof tool( uses gv to show picture, and gv 
> version 3.7.1, ssh to server.
> but gv shows ‘gv: Unable to open the display.’
> I installed gv through yum. no other setups.
> How can I make it work?

How is the ssh connection established? Are you doing it, or is it done 
internally by pprof?

X11 forwarding may be disabled by default, and has to be enabled. In openssh, 
this is done with the -X or -Y flags to the ssh utility.

If you need to enable it permanently for a specific host in openssh, it should 
be possible to add directives to $HOME/.ssh/config (see the directives starting 
with ForwardX11 in the ssh_config manpage).

Nuno Silva

reply via email to

[Prev in Thread] Current Thread [Next in Thread]