Re: /usr/bin/xterm Xt error

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

 



Les Mikesell wrote:
> On Mon, 2006-08-07 at 01:56, Kaushal Shriyan wrote:
> 
>> a) On local box, do xhost +
>>
>>  b)  Go to remote host.
>>      ssh -X remotehost
>>      export DISPLAY= <local box ip>:0.0
>>      /usr/bin/xterm Xt error: Can't open display: IP:0.0
>>
>> Thanks and Regards
> 
> Ssh will tunnel the X connection if you leave the DISPLAY
> variable alone.  Some things work better if you use -Y
> instead of -X.
> 
One more point - if you are using X forwarding in ssh, you do not
need to run "xhost +" on the local host, unless you are running ssh
as a different user then the one logged in under X. If you are going
to run it, run something like "xhost +localhost" or
"xhost +<username>" instead. You probably do not need the extra
security on a home network, but doing things securely is a good
habit to get into.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux