2015-09-03

MAC(OSX)에서 Linux Remote-Desktop 연결

Test host OS : Oracle Linux 6.5
Test guest OS : OSX 10.10.4


1. configuration on Linux

# vi /etc/ssh/ssh_config
  ForwardAgent yes
  ForwardX11 yes
  ForwardX11Trusted yes

# vi /etc/ssh/sshd_config
  X11Forwarding yes

# service sshd restart

# vi .bash_profile 
  DISPLAY=localhost:0.0
  export DISPLAY

2. connect to Linux from OSX
xhost +10.179.87.62
10.179.87.62 being added to access control list


$ ssh -X root@10.179.87.62
$ startkde