|
Ãâó : http://blog.naver.com/phynam/40123461010
http://blog.naver.com/PostView.nhn?blogId=oxcow119&logNo=60160622640
===== Server ¼³Á¤ =====
PuTTY ´Â SSH Á¢¼ÓÀ» À§ÇØ, XmingÀº Xwindow ȸéÀ» ¿±â À§ÇØ »ç¿ë.
**** °øÀ¯±â¿¡´Â 22¹ø Æ÷Æ® ¿¾î³ö¾ß ÇÔ ****
1. SSH µ¥¸óÀÇ È¯°æ¼³Á¤ ÆÄÀÏ ¿±â
[root@localhost ~]#cd /etc/ssh
[root@localhost ssh]#gedit ssh_config
2. 22¹ø° ÁÙ ±Ùó¿¡
# Host *
# ForwardAgent no
# ForwardX11 no ==> '#' »èÁ¦ÈÄ no ==> yes ·Î °íħ!
3. sshd Àç½ÃÀÛ
[root@localhost ~]#service sshd restart
===== ÇÁ·Î±×·¥ ¼³Ä¡ =====
4. Putty , Xming ´Ù¿î ¹× ¼³Ä¡
===== Xming ¼³Á¤ =====
5. XLanuch ½ÇÇà -> one window -> start no client -> Ŭ¸³º¸µå üũ -> ¼³Á¤ÆÄÀÏ ÀúÀå
6. ¾Æ±î ÀúÀåÇÑ Config ÆÄÀÏ ½ÇÇà ÈÄ ÃÖ¼ÒÈ Ã¢À¸·Î ³õ¾ÆµÒ.
===== Putty ¼³Á¤ =====
6. Putty ¼³Á¤
6-1. È£½ºÆ®¸í¿¡ Á¢¼ÓÇÒ ¸®´ª½º ¼¹öÀÇ ip ȤÀº È£½ºÆ®¸íÀ» ÀÔ·Â
6-2. ÁÂÃø ¸Þ´º¿¡¼ Á¢¼Ó(Connection) > SSH > X11 ¼±ÅÃ
6-3. X11 Æ÷¿öµù »ç¿ë(Enable X11 forwarding) üũ ÈÄ X µð½ºÇ÷¹ÀÌ À§Ä¡(X display location)
Ç׸ñ¿¡ " localhost:0 " ÀÔ·Â
6-4 ÁÂÃø ¸Þ´º¿¡¼ ¼¼¼Ç(Session) ¸Þ´º ¼±Åà ÈÄ ÀÔ·ÂÇÑ ³»¿ë ÀúÀå ÈÄ ÇÏ´ÜÀÇ ¿±â ¹öÆ° ¼±ÅÃ
7. ÅؽºÆ® ¸ðµå·Î Á¢¼ÓÀÌ µÈ´Ù..
[root@localhost ~]# gnome-session Çϸé Xming ¿¡ Xwindow ȸéÀÌ ¶á´Ù!!
(³ªÀÇ ÄÄ¿¡¼´Â gnome-session ´ë½Å icewm-sessionÀ¸·Î!)
# /usr/dt/bin/Xsession
|