1

I have installed Ubuntu for Windows 10 Subsystem (WSL2) following all the steps in the official information page. When I click Ubuntu from the start menu of Windows 10, it outputs this:

Welcome to Ubuntu 20.04 LTS (GNU/Linux 4.19.104-microsoft-standard x86_64)
  • Documentation: https://help.ubuntu.com
  • Management: https://landscape.canonical.com
  • Support: https://ubuntu.com/advantage

System information as of Sat Aug 8 17:13:27 CEST 2020

System load: 0.35 Processes: 8 Usage of /: 0.5% of 250.98GB Users logged in: 0 Memory usage: 1% IPv4 address for eth0: 172.25.240.158 Swap usage: 0%

0 updates can be installed immediately. 0 of these updates are security updates.

The list of available updates is more than a week old. To check for new updates run: sudo apt update

This message is shown once once a day. To disable it please create the /home/iskandar/.hushlogin file. iskandar@iskandarbasal-dell-2019:~$

My question is: How can I proceed to get the home interface of Ubuntu and use it from a graphical interface? Where can I create the file which is indicated in the above message?

1 Answers1

2

By default WSL comes without a Desktop Envirnoment or a window system.


There is way though you can run GUI apps by installing an X Server.

There is an article in microsoft techcommunity site covering that here.

The author provides steps by installing VcXsrv Windows X Server and exporting the "DISPLAY" variable

export DISPLAY="`grep nameserver /etc/resolv.conf | sed 's/nameserver //'`:0"

( You will need to add that command to /etc/bash.bashrc to make it permanent )

GeoMint
  • 815