X11 Server Windows

  1. X11 Server Windows 7
  2. X11 Server Windows Portable
  3. X11 On Windows 10
  4. X11 Server Windows
Active1 month ago

I have a Raspberry Pi 3 Model B+ connected to my local network and I can SSH into it with no problems. This does cause some problems though as everything is done on the command line.

What I would really like to do is use X11 forwarding by using the SSH client that comes with Windows Subsystem for Linux. I am running Windows 10 Pro with the 1803 update installed.

Install a server X. It is possible to run graphical applications from Ubuntu, for that purpose you need to install Xming X Server for Windows. Then, run Xming server and set the DISPLAY environment variable in the Ubuntu Bash Shell: Now you can run firefox in your Ubuntu Bash terminal. Built for Windows 10. X410 doesn't just enlarge pixels and show blurry output; it accesses the raw pixels on HiDPI screens. You'll get small GUI controls and windows if you use the default X server settings. But, since modern Linux GUI apps natively support scaling in toolkit level, you can get crisply scaled apps with X410 just by enabling that feature. The X Window System (X11, or simply X) is a windowing system for bitmap displays, common on Unix-like operating systems. X provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting with a mouse and keyboard. X does not mandate the user interface – this is handled by individual programs. In the case of X, the server is taking your input (physical) and providing you with access to remote applications and services (virtual). So applications you run (on Linux) connect to the server (on Windows), and send their commands to the server, which draws them on the screen for you.

Note that you also have the option of using Putty but either way, you'll need to have an X server running on the client machine, your Windows Subsystem for Linux — WSL. The client-server model of the X window system is partially what makes X forwarding so easy to pull off. Best option for modern X server on Windows? Some of my users are running software on RHEL 7 that's using X forwarding to an X server on a Windows 10 machine. The latest version of software was incompatible with the X server they were using previously (because it was 10 years old) so I'm looking for a product to replace it.

I'm just curious about how I might go about using this feature? If it won't work in Windows 10 natively then I can always run a Linux virtual machine to connect to the Raspberry Pi.

CromulentCromulent
1931 gold badge2 silver badges11 bronze badges

2 Answers

X11 Server Windows 7

This is definitely possible given your current setup. Note that you also have the option of using Putty but either way, you'll need to have an X server running on the client machine, your Windows Subsystem for Linux — WSL. The client-server model of the X window system is partially what makes X forwarding so easy to pull off. All you need is an X server running on host and client.

Vijeo designer 6.2.5. Issue:Where can I download the Vijeo Designer v6.2 web gate client files?Product Line:Vijeo Designer, activeX control, Webgate, web gate client fileEnvironment:Cause:Resolution:Below are the links to all of the Web Gate client files for v6.2.Vijeo Designer V6.2 SP6Designer V6.2 SP5.1Designer V6.2 SP5Designer V6.2 SP4.1Designer V6.2 SP4Designer V6.2 SP3.1Designer V6.2 SP3Designer V6.2 SP2.1Designer V6.2 SP2Designer V6.2 SP1https://www.update.schneider-electric.com/download/HMI/VijeoDesigner/WebGateClientFiles6.2SP1.exe.

Raspberry Pi (Host) Configuration

First, you'll want to make a minor config adjustment to your SSH server on the host machine (your Raspberry Pi). First, find your sshd_config file within the etc directory. You can run these commands by ssh-ing into the Raspberry Pi (with a sudo-capable account), or accessing the Pi directly and then opening a terminal.

Once you're in, run the command:

Make a backup of your sshd config file:

Now open the original file in a text editor with:

You can choose any text editor you're comfortable with (see here for the nano text editor shortcuts). This is the main config file for the ssh server. Find and uncomment the following lines:

Save and exit. Now you'll need to restart your Pi's SSH server with:

Windows (Client) Setup

You're done with your host. Now all you need to do is install an X server for Windows. There are a few options to choose from but I would go with Cygwin X which you can download here. Install it and once you run it, it should spawn a little window on your client which will be used to display the X program. You can now test that X forwarding is happening by returning to your WSL shell and running the simple command:

A simple clock should appear in the window spawned by Cygwin. You can terminate the clock by returning to your WSL shell and hitting Ctrl+C.If this command isn't recognized, you may first need to install x11-graphics applications on the host machine with:

X forwarding should now be enabled for you and you can now run most if not all of your Raspberry Pi's applications from Windows.

Note on XDMCP, FreeNX

You may wish to take things a step further and set things up to run an entire desktop environment from your Pi rather than just app-by-app which is what X forwarding allows. Here are a couple common options available to you:

  • XDMCP: This is the easiest to set up but is notoriously insecure and most authorities only recommend you ever run it on a trusted, wired LAN (like your home network). This may be more trouble than it's worth but if you're curious to look into it, see this Rasp Pi thread for the initial setup.
  • FreeNX: More secure than XDMCP and probably worth the time to set up if you'll want to do this regularly and possibly from another network entirely. You'll need to install a FreeNX server on the host, then use another piece of software - NoMachine - on your Windows client. See here for a very detailed guide.
baelxbaelx

On the WSL shell, make sure you have exported the fully qualified DISPLAY

export DISPLAY=localhost:0.0

The following doesn't work:export DISPLAY=:0.0

Server

:0.0 relies on a UNIX domain socket (instead of a TCP/IP socket) and somehow the X-forwarding doesn't get hooked up correctly. I had the same problem.

X11 Server Windows Portable

X11 server windows 7

X11 On Windows 10

Carl ZmolaCarl Zmola

X11 Server Windows

Not the answer you're looking for? Browse other questions tagged windows-10xorgwindows-subsystem-for-linuxx11-forwarding or ask your own question.