Skip to content

Commit c1f1a2a

Browse files
Merge pull request #361 from Juphex/master
Change installation for GUI Support
2 parents 40ced2d + 737ddba commit c1f1a2a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/getting-started-with-ros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The ROS bridge works on Ubuntu or in WSL in windows (but it is harder to set up)
88
If you have the simulator running on windows we reccommend Windows Subsystem for Linux.
99
This offers a virtual Ubuntu machine within Windows.
1010
You can read [here how to install it](software-install-instructions.md).
11-
While you are at it you might also want to [install Xming](software-install-instructions.md) so you can run rviz and rqt_plot from within WSL.
11+
While you are at it you might also want to [add GUI support](software-install-instructions.md) so you can run rviz and rqt_plot from within WSL.
1212

1313
## Requirements
1414

docs/software-install-instructions.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,8 @@ source ~/Formula-Student-Driverless-Simulator/ros/devel/setup.bash
6464

6565
Be sure to replace `melodic` with your specific version
6666

67-
## Gui applications from WSL (Xming)
67+
## Gui applications from WSL
6868
By default, if you are running Windows Subsystem for Linux with Ubuntu, you can't run gui applications.
6969
This is super annoying if you want to use rqt applicatoins like rviz or rqt_plot.
7070
It is easy to get this working though!
71-
Just install [Xming](https://sourceforge.net/projects/xming/) on windows, and run it.
72-
Next, go into the Ubuntu terminal and run `export DISPLAY=:0`.
73-
Now you can run any all them gui apps!
74-
You can even add `export DISPLAY=:0` to your `~/.bashrc` to always be able to use gui apps without having to manually run export.
71+
Just follow this guide https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-11-with-gui-support#1-overview. They require Ubuntu 20.04 but it also works fine for Ubuntu 18.04. If there are any trouble, follow along this post https://github.com/microsoft/WSL/issues/6430#issuecomment-881766991.

0 commit comments

Comments
 (0)