I am responsible for a couple of MS-Windows servers and Windows XP/Vista/7/10 workstations too. When I work from home, I need a way to get into Windows XP/2000/Vista/2003/2008/7/Vista/10 operating systems for work.
I have Debian Linux at home, and I needed a way to login into Microsoft windows desktop from Linux OS. Many of us working at tech support use rdesktop to connect to customers’ MS-Windows systems.
This program is very useful to configure Outlook or something else when customers do not understand how to configure or troubleshoot the problem. This is the best way to fix a problem.
Say Hello To rdesktop
Fortunately, Linux has rdesktop utility. It is a client for a remote desktop protocol (RDP), used in many Microsoft products including Windows NT Terminal Server, Windows 2000 Server, Windows XP and Windows 2003 / 2008 Server. You do not need to install VNC server. All you need is rdesktop client on Linux or BSD workstation.
What is a rdesktop client for Linux/Unix?
From the project web site:
rdesktop is an open source UNIX client for connecting to Windows Remote Desktop Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user’s Windows desktop. rdesktop is known to work with Windows server versions ranging from NT 4 terminal server to Windows Server 2012 R2
# apt-get install rdesktop
To connect to MS-Windows systems from Linux, type the following command at a shell prompt (connect to Windows server called mw2sn100.mycorp.com)
$ rdesktop mw2sn100.your-domaian-name-here
Or connect to windows XP/Vista workstation having IP 192.168.1.17:
$ rdesktop 192.168.1.17Please note that you must enable remote desktop connection under MS0Windows operating systems; otherwise it will not work. Turn on remote desktop under MS-Windows operating systems:
- Go to MS-Windows desktop
- Right Click on My Computer
- Select properties
- Select Remote tab
- Enable Remote desktop.
- Save the changes.
Make sure enterprise firewall allows incoming connection on TCP port 3389. rdesktop supports many other options, type the following command to read the man page of rdesktop or visit project website for more information.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
|Category||List of Unix and Linux commands|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|