GithubHelp home page GithubHelp logo

ornstein89 / wsl-ubuntu-desktop Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 830 KB

Starts graphical desktop on WSL Ubuntu and shows it on Windows 10 host by VNC or X Window

License: MIT License

Shell 100.00%
xfce4 vnc wsl wsl-ubuntu x-server desktop

wsl-ubuntu-desktop's Introduction

License: MIT

Update 2023

With latest November 2022 update (see Run Linux GUI apps on the Windows Subsystem for Linux) WSL can start GUI apps natively, and you don't need any external VNC or X11 clients anymore. This makes the repository outdated. Just run

wsl --update
wsl --shutdown

then restart WSL, install and run any GUI app (Geany, for example) image

WSL-Ubuntu-Desktop (deprecated)

Starts graphical desktop on WSL Ubuntu (on Windows 10) and setup VNC or, alternatively, X Window remote session.

Based on following tutorials:

Currently uses lightweight XFCE4 desktop. Requires at least 800Mb of free space on host machine.

To start X Window remote session:

  • Install X Window client on Windows 10 host, like VcXsrv or some other.
  • Setup display number parameter equal to 1 in X Windows client.
  • Start X Windows client session on host Win10.
  • Clone this repo to ~/ within WSL.
  • Launch ./XFCE4_through_XWin.sh from repository folder in WSL terminal. First time it takes 1-2 minutes to install xfce4.

To start VNC session:

  • Install some VNC viewer on Windows 10 host, like RealVNC VNC Viewer or some other.
  • Clone this repo to ~/ within WSL.
  • Launch ./XFCE4_through_VNC.sh from repository folder in WSL terminal.
  • Try to connetc with VNC Viewer on host Win10 to VNC stream at localhost:5901 or 127.0.0.1:5901.

wsl-ubuntu-desktop's People

Contributors

ornstein89 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

drawishe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.