Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to setup display xServer wsl win10

export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
export LIBGL_ALWAYS_INDIRECT=1

sudo apt update
sudo apt install x11-apps
Comment

WSL2 Xserver

export DISPLAY=$(route.exe print | grep 0.0.0.0 | head -1 | awk '{print $4}'):0.0
Comment

PREVIOUS NEXT
Code Example
Shell :: when was kali linux released 
Shell :: home directory of wsl 
Shell :: kubernetes /bin/bash 
Shell :: how can I check the memory of computer in ubuntu 
Shell :: split command in splunk 
Shell :: how to install gnu lib tool 
Shell :: node install mint 
Shell :: change user linux 
Shell :: pytest suppress exit code 
Shell :: linux create directory with permissions 
Shell :: check my localhost command 
Shell :: ubuntu 20.04 ntfs read only 
Shell :: ubuntu install nvm 
Shell :: command to install MySQL 
Shell :: git global config location 
Shell :: how to update git 
Shell :: how do I list all my packages on arch linux 
Shell :: can I change a forked repo name 
Shell :: linux kill a port 
Shell :: install kasm ubuntu 
Shell :: install chromedriver linux 
Shell :: loop over file bash 
Shell :: install rust on arch linux 
Shell :: change user linuxcommand ch 
Shell :: delete remote branch 
Shell :: bash delete folder 
Shell :: install native run 
Shell :: install aws cli on windows 
Shell :: restart computer by terminul in ubuntu 
Shell :: shell script red color 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =