1

X forwarding vs Remote DISPLAY

view story
linux-howto

http://www.unix.com – Hello, I have a question about X forwarding. I was told that we can't X forwarding anymore, do to a security checklist. Example: Code: bitlord@server1# ssh -X server2 So we have to use the DISPLAY variable now. I thought this was less secure? Example: Code: bitlord@server1# xhost + server2 server1 being added to access control list bitlord@server1# echo $DISPLAY :1.0 bitlord@server1#  ssh server2 bitlord@server2# export DISPLAY=server1:1.0 bitlord@server1# gedit #for example What gives, is this more or less secure the X forwarding? Is there a better way? Any info would be h (HowTos)