<준비물>
Putty,
Xming X Server for windows
https://sourceforge.net/projects/xming/files/latest/download
0. ssh_config 수정 (ForwardX11 no -> ForwardX11 yes)
vi /etc/ssh/ssh_config
<Before>
<After>
1. sshd restart
service sshd restart
* Error 사항
Failed to restart sshd.service: Unit sshd.service not found.
-> 현재 sshd service가 enable 상태이기 때문에
* 해결 방법
systemctl enable ssh
2. sshd restart
service sshd restart
3. Putty 설정값 변경 (Connection - SSH - X11 - Enale X11 forwarding 체크, X display location : localhost:0 입력)
<Before>
<After>
* Session 정보는 미리 입력
Open 누르면 자동으로 접속 후
4. GUI 모드 실행
gnome-session
* Error 사항
command not not found
-> 현재 OS에서 gnome이 없이 때문이라 lib 설치 필요
* 해결 방법
Debian || Ubuntu 기반
yum install gnome-session
Red Hat, Fedora || CentOS 기반
apt-get install gnome-session
Arch Linux 기반
pacman -S gnome-session