10/30/2019»»Wednesday

Linux X Windows Client

10/30/2019

Recently I wrote an article 'How Do I Connect to a Remote Windows 7 Desktop from a Linux Machine' and was asked to show how to do the same trick — the other way around. You might assume this trick to be a challenge. You will be surprised how little of a challenge it really is.

But first off, you might be asking yourself 'Why would I need this?' The answer is to use a single point of administration. How many times have you scurried around computers to try to resolve a problem only to have to waste time going back and forth. With the previous article, you were given the means to connect from Linux to Windows. Now, with the ability to connect from Windows to Linux, you have all you need to make administrating from a central location much easier. And with that said, let's get on with the setup.

This blog post is also available in PDF format in a free TechRepublic download.

Assumptions

Mar 01, 2018  On a typical Linux desktop, that “X server” automatically appears when you boot your computer and it renders the entire desktop and the applications you use. But try opening a graphical application from Bash on Windows, though, and it will complain that it can’t open a display. The PC interacts with the server through the X-windows system, forwarding the display from the server to the PC. Software must be installed on the PC to make this link work and the best software (so far) for this task is the PuTTy terminal emulator and the Xming X-window client. NOTE: In the X11 world, the SERVER machine is the one listening for a connection (the local machine (your desktop)). NOTE: The CLIENT machine is the one initiating the connection (the remote machine). I know, it sounds backwards but, it is actually correct if you understand the X11 connection. TightVNC: Installed on the Windows machine to use as the VNC client Installing the Windows software is straightforward for most users. Just download the installer and double-click.

Driver joystick usb windows 10 free download - VIA USB 2.0 Host Controller Driver, Creative PC-CAM 750 Driver, GeForce Windows 10 Driver, and many more programs. Enter to Search. Mar 28, 2018  Hello Guys! In this video i have show how to download and install a universal joystick driver, which works on almost every joystick and removes 'Generic USB. Sep 12, 2015  I have seen lots of people complain that the Driver Provided with Enter E-GPV Gamepad doesn't produce Vibration in Windows 8.1 (and Windows 10).So, here i am providing Enter E-GPV Gamepad Driver for Windows 8.1(It will also work in Windows 7 and Windows 10).I have tested this driver and it works like a charm!After installing this driver the vibration works perfectly in Enter E-GPV. Microsoft joystick driver windows 10.

MobaXterm X server and SSH client MobaXterm is your ultimate toolbox for remote computing. In a single Windows application, it provides loads of functions that are tailored for programmers, webmasters, IT administrators and pretty much all users who need to. The X server is typically the provider of graphics resources and keyboard/mouse events to X clients, meaning that the X server is usually running on the computer in front of a human user, while the X client applications run anywhere on the network and communicate with the user's computer to request the rendering of graphics content and receive events from input devices including keyboards and mice.

First and foremost I am going to assume both Windows and Linux desktops are operating correctly and are on your local LAN. To make things simple, I will use the 192.168.1.x IP addressing. And, as you could assume, it's always easier (in this case) when the IP addresses are static (otherwise you will find yourself tracking down IP addresses of your desktop machines).

Software used

There are only two pieces of software necessary:

  • x11vnc: Installed on the Linux machine to use as the VNC server
  • TightVNC: Installed on the Windows machine to use as the VNC client

Installing the Windows software is straightforward for most users. Just download the installer and double-click. For many Windows users, the installation of the Linux software might not be as straightforward.

Of course, the Linux installation will depend on your distribution. But basically all you have to do is follow these steps:

  1. Open up your Add/Remove Software tool (such as Synaptic, Ubuntu Software Center, gnome-packagekit, etc).
  2. Search for 'x11vnc' (no quotes).
  3. Select the results for installation.
  4. Click Apply to install.

Now, if you are more comfortable with the command line, you can install the Linux software like so:

  1. Open up a terminal window.
  2. Issue a command like sudo apt-get install x11vnc (this will depend on the distribution you use).

Once all the software is installed, you are ready to go.

The Linux side

This is really quite easy. All you have to do is start the x11vnc server. If you look at the manual page for x11vnc (issue the command man x11vnc), you will see numerous options available for the server. One of those options you might want to consider is the -forever option. If you don't add this option to the command, your x11vnc server will die as soon as the client quits the session.

So the command you will want to run, from the terminal, is:

x11vnc -forever

Linux X Windows Client Update

You will notice you do not get your prompt back. Even if you add the & character, x11vnc will not return you to your prompt. Because of this, you might want to consider adding a line like x11vnc -forever to the end of your /etc/rc.local file. This will ensure your x11vnc server is started at boot.

The Windows side

X Client For Windows 10

Now it's time to connect. You've already installed TightVNC on the Windows machine, so go to the Start menu and fire up TightVNC. When you open the tool, a small window will appear (Figure A) that allows you to enter an address for the connection as well as open the Options window.

Figure A

Make sure you select the Connection Profile that best matches your connection type.
In the Options window (Figure B), there are a number of items to configure. Unless you need a specific configuration, the default generally works pretty well.

Figure B

Linux X Windows Display

You will notice that you can set TightVNC in View mode, which effectively connects the client to a noninteractive session. This is always good for training purposes.

Linux X Server Windows Client

After you make all your configurations, click the Connect button, and the connection will be made (Figure C). The speed at which TightVNC runs will vary depending on the speed of your network. But you should find it to be a very workable solution.

Figure C

Select options and make the connection.

Final thoughts

And there you have it — a simple way to make the connection between the Windows and the Linux desktops. Your administration world just got a bit easier.

Stay on top of the latest XP tips and tricks with TechRepublic's Windows XP newsletter, delivered every Thursday. Automatically sign up today!

 sty.netlify.com © 2019