Remote control Windows from Ubuntu

มาควบคุม Windows จาก Ubuntu กันบ้างดีกว่า
1.วิธีแรก Remote Desktop Viewer
เริ่มจากฝั่ง Windows ต้องติดตั้งโปรแกรม VNCServer เช่น TightVNC, UltraVNC
ตัวอย่างนี้เป็นของ TightVNC หลังจากติดตั้งเสร็จก็ตั้งค่าให้ยอมรับการติดต่อ และ ตั้งรหัสผ่าน

จากนั้นก็ฝั่ง Ubuntu เริ่มด้วยติดตั้ง Remote Desktop Viewer

เสร็จแล้วจะอยู่ในเมนู Applications > Internet
พอเปิดโปรแกรมก็คลิก Connect แล้วป้อน host กับ port ไป โดย default จะเป็น 5900 แล้วก็ตามด้วยรหัสผ่านที่ตั้งไว้


วิธีนี้จะเป็นลักษณะของ VNC คือเข้าไปควบคุม Desktop ที่เปิดไว้แล้ว

2.วิธีที่สอง Remote Desktop แบบ Remote Logon
เริ่มจากฝั่ง Windows ต้องอนุญาตให้ทำการ remote ได้ก่อน โดยตั้งค่าที่ Enable Remote Desktop on this computer ใน tab Remote ของ System Properties ดังรูป

ถัดมาฝั่ง Ubuntu ก็เรียกใช้ Terminal Server Client จากเมนู Applications > Internet
ป้อนรายละเอียดที่จำเป็น ดังตัวอย่าง

กรณีเลือก Protocol เป็น RDP จะทำงานแบบ Remote Desktop ของ Windows คือ ไม่ได้ไปควบคุม Desktop ที่เปิดอยู่ แต่สร้าง Sesstion ในการ Logon ใหม่ ซึ่งสามารถ Resume Session ได้ด้วย

3.วิธีที่ 3 ติดตั้ง TightVNC ไว้ที่ Ubuntu ด้วยคำสั่ง

sudo apt-get install xtightvncviewer

แล้วพิมพ์คำสั่งใน Terminal เลย

vncviewer hostname

จะถาม password ก็ใส่ไปแล้วก็จะได้หน้าจอแบบ VNC ขึ้นมา โดยเครื่องเป้าหมายต้อง Logon ไว้ก่อน ถึงจะ Connect ติด
แต่ถ้า remote ไปแล้วเจอหน้าจอที่เป็น Lock Screen อยู่สามารถ กด F8 เพื่อเลือก ส่งสัญญาณ Ctrl+Alt+Del ได้

4.อีกวิธีคือ ติดตั้ง rdesktop ด้วยคำสั่ง

sudo apt-get install rdesktop

แล้วเรียกใช้ด้วยคำสั่ง

rdesktop hostname

โดยวิธีนี้จะเป็นแบบ Remote Desktop ของ Windows ครับ

Written by admin on November 14th, 2008 with 2 comments.
Read more articles on Networking and Ubuntu.

Related articles

2 comments

Read the comments left by other users below, or:

Trackback Mention from Komkid.net
#1. November 27th, 2008, at 9:18 PM.

Remote control Ubuntu from Ubuntu: 2.GUI โดยใช้ vncviewer, Remote Desktop Viewer ด้วยวิธีเดียวกันกับที่ remote ไป Windows

Trackback Mention from Komkid.net
#2. November 27th, 2008, at 10:01 PM.

Linux (Ubuntu) in Windows #1: 3.ติดตั้ง Ubuntu แล้ว Remote เข้าไปใช้ Windows

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:

You have to be identified to write a comment.