DEV Community

Discussion on: Linux on Windows: WSL with Desktop Environment via RDP

Collapse
 
chriswiley profile image
Chris Wiley

Can this also just run GUI applications without starting the desktop? Sometimes I just need a certain app running and not the whole environment. Or would it be best just to use XServer?

Collapse
 
darksmile92 profile image
Robin Kretzschmar • Edited

You can skip the RDP part and start your GUI from the WSL command prompt right away. Just export your Display and run the program.
Not tested, but something like this: DISPLAY=:0 chromium &
XServer is always a good idea :)

You can get inspiration from my other post using docker to run GUI: