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!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux