From 49bb8a6305a351579a559910470e7c0f12b60717 Mon Sep 17 00:00:00 2001 From: Christian Salamut <20795522+Juphex@users.noreply.github.com> Date: Sun, 12 Nov 2023 11:53:28 +0100 Subject: [PATCH 1/2] Update software-install-instructions.md --- docs/software-install-instructions.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/software-install-instructions.md b/docs/software-install-instructions.md index b852b32f..982a0734 100644 --- a/docs/software-install-instructions.md +++ b/docs/software-install-instructions.md @@ -64,11 +64,8 @@ source ~/Formula-Student-Driverless-Simulator/ros/devel/setup.bash Be sure to replace `melodic` with your specific version -## Gui applications from WSL (Xming) +## Gui applications from WSL By default, if you are running Windows Subsystem for Linux with Ubuntu, you can't run gui applications. This is super annoying if you want to use rqt applicatoins like rviz or rqt_plot. It is easy to get this working though! -Just install [Xming](https://sourceforge.net/projects/xming/) on windows, and run it. -Next, go into the Ubuntu terminal and run `export DISPLAY=:0`. -Now you can run any all them gui apps! -You can even add `export DISPLAY=:0` to your `~/.bashrc` to always be able to use gui apps without having to manually run export. +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. From 737ddba1dcd1d38783a09af6034c1ac09b56b7f5 Mon Sep 17 00:00:00 2001 From: Christian Salamut <20795522+Juphex@users.noreply.github.com> Date: Sun, 12 Nov 2023 13:59:06 +0100 Subject: [PATCH 2/2] Update getting-started-with-ros.md remove xming --- docs/getting-started-with-ros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started-with-ros.md b/docs/getting-started-with-ros.md index f933aba3..dc71e98e 100644 --- a/docs/getting-started-with-ros.md +++ b/docs/getting-started-with-ros.md @@ -8,7 +8,7 @@ The ROS bridge works on Ubuntu or in WSL in windows (but it is harder to set up) If you have the simulator running on windows we reccommend Windows Subsystem for Linux. This offers a virtual Ubuntu machine within Windows. You can read [here how to install it](software-install-instructions.md). -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. +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. ## Requirements