|The native display protocol for Linux (and Unix) is the X Display Protocol. The Cygwin.org project provides Linux software that runs natively on Windows. You can run an X display server on Windows that accepts connection from LANforge. We will walk through setting up Cygwin and configuring an X display.|
Installing Cygwin and the X display components
We will start at Cygwin.org and download the Cygwin installer.
Download setup-x86.exe or setup-x86_64.exe as appropriate. Go to your Downloads folder and double start the program.
Choose a mirror that might be close to you, click Next
Now you see a the software selection screen, sorted by category. Some of these entries appear two or more times, because they belong to multiple categores. Try using the search box in upper middle above the software list to search for the packages listed below.
The items you want to search for are
Search for openssh and click the Skip property once to change it to the most recent version to set it to install.
xorg-server provides the X display system
xinit helps the X system launch
xlaunch is what you will drag to your task bar to launch your Cygwig X server
rxvt and rxvt-unicode are more useful terminals than the minterm program that Cygwin provides by default.
Click Next and let the installer finish the installation of the Cygwin packages. You will see a Cygwin Terminal icon appear on your desktop and new Cygwin icons in your Start menu.
Next we will right-click on the Cygwin Terminal icon and select Open File Location
In the Explorer window, scroll to find xlaunch.exe, and drag it to the Task Bar
Click the xlaunch icon on the task bar, and click Next
Check Disable Access Control and add the option: -listen tcp. Click Next
Firewall, Click Allow Access
If the LANforge Messages window reports 'No Access', you might need to use xhost.exe to grant X11 access.
Open a CMD window
Go to the cygwin\bin folder:
C:\> cd \cygwin\bin
Use xhost.exe to open permissions:
C:\> .\xhost.exe +
Now your X display service is running. You can check that it's running by clicking into the System Tray and seeing if the icon is there.
Launch the LANforge GUI from your desktop. Select a port from the Port Mgr tab. Notice how the Disp field has your laptop's LAN address. This is the display address the remote machine will display the Wireshark window to.
You will see WireShark
Resources and other Documentation: