help-gv
[Top][All Lists]
Advanced

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

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


From: nunojsilva
Subject: Re: [help-gv] gv: Unable to open the display.
Date: Thu, 17 Aug 2017 16:51:57 +0300
User-agent: Mutt/1.5.24 (2015-08-30)

On 2017-08-17 01:56 +0000, 唐亮 wrote:
> pprof tool(https://github.com/google/pprof) 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]