Remotely connect to Windows 7 desktop from Linux computer

Network administrators - Although most administrators perform their work in the Windows environment, however, in addition to these pure Windows environments, how to connect to a Windows computer from within a Linux computer in the system? Many administrators have made connections between these two platforms from within Windows, but from within Linux is another problem. So how does it work? That is the content that we want to introduce to you in this article.

There are quite a few Remote Desktop Protocol (RDP) tools available for Linux so you can connect to any platform, but in this article we will show you how to connect from an Ubuntu 9.10 desktop. to a Windows 7 desktop. But to make it a little more complicated because the concept of the cloud is currently very popular, we will create a Linux-to-Windows connection with a virtual Windows 7 computer running on a used Ubuntu Server. Use VirtualBox.

To make that connection easier to understand, we mapped it to the block diagram below (Figure A).

Remotely connect to Windows 7 desktop from Linux computer Picture 1
Figure A: Desktop Windows 7 is provided by Ubuntu Server through VirtualBox 3.0.

For the purposes of this document, we assume that:

  1. You have a working Ubuntu Server.
  2. There is VirtualBox working on its Ubuntu Server.
  3. Installed Windows 7 on VirtualBox.
  4. There is a working Ubuntu desktop.

The above requirements are quite simple. However, there are still some issues to implement for this connection.

North bridge for the network

If you do this with the default settings on Windows 7 virtual machines, you will not be able to access that desktop because the IP address will be managed through NAT. Therefore, it is necessary to use a bridged connection so that your virtual machine is within the LAN IP address range. To do this, you need to close the Windows 7 virtual machine. Not just temporarily stop the instance but you have to shut down the session (as if you shut down a regular Windows computer) to configure the virtual machine (VM).

When you close the VM, go to VirtualBox , select Windows 7 VM , and then click the Settings button. Click on the Network section, then from the Attached To drop-down menu (Figure B), select Bridged Adapter . Click OK to use this setting and release the window.

Remotely connect to Windows 7 desktop from Linux computer Picture 2
Figure B: You will detect that the network connection does not work on your virtual machine,
Please change the Adapter type.

Now, go back to the main VirtualBox window and launch your virtual machine. Now when Windows 7 starts, you will see that it is part of the LAN IP address system.

Activate RDP

Before connecting to Windows 7 desktop via RDP, you must activate this service. To do so, follow the steps below from within your Windows 7 virtual machine:

  1. Click Start Menu .
  2. Right-click Computer .
  3. Select Properties .
  4. Click Remote settings .
  5. Make sure both Allow Remote Assistance Connections to This Computer and Allow Computers Running Any Version of Remote Desktop are selected.

After checking those settings again, click OK to set them up.


RDP Linux client

The Terminal Server Client (tsclient) is one of the most user-friendly and highly reliable RDP Linux clients. By default, the Terminal Server Client is installed on the Ubuntu desktop. If not, you can go to the Ubuntu Software Center, enter the search term 'terminal server' (do not type the quotation marks), click Terminal Server Client , click the arrow pointing to the right and click Install .

When that software is installed, you will see it in the Internet submenu in the Applications menu. Launch it, you will see the main tsclient window as shown in Figure C below.

Remotely connect to Windows 7 desktop from Linux computer Picture 3
Figure C: You need to configure something to connect to your Windows 7 desktop

Here you just need to enter:

  1. The IP address of the Windows desktop you want to connect to
  2. Username you will login
  3. Password for users

After entering this required information, click Connect , and a new window will appear, running the remote instance of the Windows 7 desktop (Figure D).

Remotely connect to Windows 7 desktop from Linux computer Picture 4
Figure D: Windows 7 virtual Instance running, via RDP, on Ubuntu desktop

Conclude

In this article we have demonstrated how flexible RDP is and now you can administer a remote Windows 7 computer with a Linux desktop.

4 ★ | 1 Vote

May be interested

  • 5 ways to control Linux computer from phone5 ways to control Linux computer from phone
    let's explore some linux tools that bridge the gap between your linux computer and your mobile phone!
  • How to run Linux desktop using Windows Subsystem for LinuxHow to run Linux desktop using Windows Subsystem for Linux
    one solution to this problem is to use windows subsystem for linux, but this tool does not have a desktop environment.
  • 5 ways to make Linux desktops look great5 ways to make Linux desktops look great
    various tools, tips and tweaks can be used to personalize linux desktops. use the following 5 methods to personalize your linux desktop environment.
  • How to Connect iPhone to Linux PC Using KDE ConnectHow to Connect iPhone to Linux PC Using KDE Connect
    kde connect is an application that allows you to connect your android smartphone to your linux pc. it has been on the play store for many years, becoming a valuable tool for android and linux users.
  • How to use KDE Connect with MATE on Ubuntu and DebianHow to use KDE Connect with MATE on Ubuntu and Debian
    kde connect is an extremely convenient way to link android phones and linux pcs. with kde connect, you can view notifications and reply to text messages on a desktop or laptop computer.
  • Should I use Linux desktop KDE or GNOME?Should I use Linux desktop KDE or GNOME?
    windows and macos both have just one interface or desktop environment, while linux has many, and two of the most popular linux desktop environments are kde and gnome. so which option is right for you? let's find the answer through the following article!
  • How to check the desktop environment you are using on LinuxHow to check the desktop environment you are using on Linux
    as you probably know, linux-based operating systems are heavily focused on the command line to perform operations. a minimal distro like arch linux will give you a dark terminal installation.
  • How to Use Remote Desktop on Windows 7How to Use Remote Desktop on Windows 7
    today's tipsmake will show you how to enable and use remote desktop on two windows 7 computers. remote desktop is built into windows 7, this feature allows users to control one computer from another computer via a connection. internet connection. to use remote desktop, you need to enable the feature on the target computer and find the ip address of this computer, then you can connect to the target computer from another computer.
  • 5 best remote desktop applications for Linux to access remote computers5 best remote desktop applications for Linux to access remote computers
    the easiest way to control the remote computer is through the terminal, but you must enter the command for it. if you want to use a more advanced way, use one of the five best remote desktop applications for linux below.
  • 5 ways Librem 5 phones affect Linux desktop5 ways Librem 5 phones affect Linux desktop
    the purism librem 5 phone has been around for a long time and its impact can be clearly seen on linux desktops. this effect is most noticeable if you use the gnome desktop environment on ubuntu or fedora.