Remote control Ubuntu from Windows
วิธีควบคุม Ubuntu จาก Windows 1.วิธีที่ 1 แบบ Text mode ด้วย SSH เริ่มต้นด้วย การติดตั้ง SSH ใน Ubuntu แล้วก็ remote เข้าไปด้วย SSH client เช่น PuTTY default port จะเป็น 22 2.วิธีที่ 2 แบบ GUI ด้วย VNC เริ่มด้วยการ config ให้ Ubuntu ยอมรับการ remote โดยไปที่ System -> Preferences -> Remote Desktop แล้วก็ทำเครื่องหมายที่ - Allow other users to view your desktop - Allow other users to control your desktop - Require the user to enter this password: แล้วก็ตั้งรหัสผ่าน ที่จะใช้ remote เข้ามา จากนั้นก็ใช้โปรแกรม VNC Viewer จากฝั่ง Windows เข้ามา เช่น UltraVNC หรือ TightVNC โดยป้อนรหัสที่ตั้งไว้ใน Ubuntu เท่านี้ก็สามารถควบคุม Ubuntu จาก Windows ได้แล้วครับ 3.วิธีที่ 3 แบบ GUI ผ่าน SSH เพื่อความปลอดภัย เริ่มด้วย PuTTY เหมือนเดิม แต่คราวนี้ config เพิ่มเติมในส่วนของ Connection > SSH > Tunnels ดังรูป โดยตั้งค่า Source port เป็น 5900 (5900 เป็นค่า default จะเปลี่ยนก็ได้ใน tab Advance ตอนตั้งค่าใน Ubuntu) และ Destination เป็น Host:Port เช่น Ubuntu-Server:5900 ตามรูป แล้วก็ทำการ Con...