This is the scenario when you are using Linux or MacOS but you need to access some software that is windows based only. Lets use Remote Desktop in windows. It is free and include in windows.
Many times, us, users of non-Windows OS have to face problems of the software needed are not available in our Operating System (OS). Me my self are using Linux, Ubuntu Desktop since 2006, and now using Mint since 2016.
In Linux, you can run some sofware using wine, but I did not using it since the software that I need to run, is not fully compatible using Wine. I am using Virtualbox with Windows XP as the Guest OS. Why XP ? It is the lightest. You have to aware that running OS inside the OS expecially windows as the guest, will need huge resource from your laptop. My laptop is i5 with 8GB RAM. To run the windows comfortably, I have to close other software, and leave 1 software running. Usually I left Chrome with 3 or 4 tabs maximum. Oh, and the file explorer. Other than those software running, the Windows will run with a serius lag. You will get frustated alot …
Why do I choose to use Linux ? Because I do not want virus give me headache. I can plug whatever or whoever thumbdrive I want to plug it in. When everybody else are screaming because virus outbreak, I am ok with it. I am save.
Well, now I am trying new system. I got new small pc, Intel NUC, and I can bring it everywhere with me. It is small, and cute. Kind of ….
This is how it look next to my Thinkpad E330 (as comparison).
As you can see from the picture above, I can control one hundred percent the windows PC, without internet connection. Well you can control it through internet, but the speed is slower. In this case, I want to control my pc and does not feel the lag. So, I can do whatever software opened in my linux while on the other side, I can run and work with windows PC.
Before you start, you will need:
- Windows PC. My NUC come with windows 10 home edition, and you cannot use this if you want to use Remote Desktop Control (RDC). I have to upgrade to windows 10 professional edition, and I am lucky that my institution have the licence for it.
- UTP cable. If you use small pc like me, you just need 50 cm long. In the picture above I use the long one, since I haven’t make the short one.
- RDC client.
And the scenario of the connection are :
- Remotely access and control the windows using RDC
- Using fix IP address for both LAN card, so you don’t need internet connection but direct connect using UTP cable. AND YES, we are able to connect to internet through our WIFI.
- Connect from Linux using Remmina. This software is able to become RDP client , VNC, NX, and SSH.
Things To Do
First step, adding user in Windows
This is from Microsoft web site, how to add new user(s)
Second step, enable Remote desktop
This is the setting that by default is disabled. You need to enable it. You have to enable and add user that allowed to access the computer remotely
From your windows explorer (file explorer), right click and select Properties.
After that, click Allow remote connections. Assign user that is allowed to access the computer. Select Users.
It will show you the empty box, and then add the users.
and the adding menu is this one
The RDC setting is DONE.
Third steps, make the Windows LAN card use static IP
On the right bottom corner, next to the clock and date, there is a network Icon. Usually when you connect to Wifi it will show wifi icon. Right click on it.
And it will show the Network and Sharing Center, which is actually you can access it through Control Panel. Click on the Change adapter setting > Ethernet
And when ethernet status window appear, select properties and ehternet properties window will show up. Double click on Internet Protocol Version 4.
Set the number just like my setting below.
And that is all in windows side. We will make some settings in Linuxx. As Linux users usually more computer literate, I will not describe as detail as above.
Fourt steps, make your LAN card to have static IP
I have my setting just like the picture below. And you could do the same. Basically, the IP have to be in the same group, and avoid IP conflict.
Fifth steps, download Remmina and setup
After downloading Remmina, create new setting.
The most important is the server IP, which is the IP of the windows OS.
Whilst in the user name and password, you can fill it with the user that are allowed to access (look at the RDC setting again), or you can leave it empty. If you leave it empty, the will prompt you to enter user name and password to log-in into windows.
Folder to Share, in Remmina, just click on the share folder. Choose the folder you want to share in Linux. This folder is automatically showed in Windows Explorer. You can copy paste with the full access from both machine.
Last step, don’t forget to connect the UTP cable
and you are good to go. access the windows from your Linux.
Remember, you dont need cross cable to do this. Regular UTP cable is fine. Back in the old time, you have to use cross cable, now, the machine getting smarter. They can sense the cable.
For those who use MacOS, this web provide information setting the OS. And don’t forget to make the LAN card static IP too. Just like my setting in Linux.
Enjoy the connectivity.