Mac
맥(MAC)에서 리눅스(CentOS) 원격 접속
gosunari
2014. 3. 15. 17:58
1. 리눅스 서버에 다음과 같이 X 윈도우가 원격을 허용하도록 설정
# vi /etc/ssh/ssh_config
--------------------------------
ForwardAgent yes
ForwardX11 yes
ForwardX11 Trusted yes
--------------------------------
# vi /etc/ssh/sshd_config
--------------------------------
X11Forwarding yes
--------------------------------
# /etc/rc.d/init.d/sshd restart
2. Max 에서 원격접속
XQuartz 실행(설치가 안되어 있는 경우 설치)
X11 메뉴에서 응용프로그램 > 터미널 메뉴 실행
터미널에서 아래 명령어 실행
$ ssh -X root@IP주소
$ startkde