Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

wsl how to add gui to ubuntu

$sudo apt-get update && sudo apt-get -y upgrade
$sudo apt-get purge xrdp
Comment

gui for wsl2 ubuntu

sudo apt-get update && sudo apt-get -y upgrade
sudo apt install xrdp
sudo apt install -y xfce4 -> gdm3
sudo apt install -y xfce4-goodies
sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.bak
sudo sed -i 's/3389/3390/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/max_bpp=32/#max_bpp=32
max_bpp=128/g' /etc/xrdp/xrdp.ini
sudo sed -i 's/xserverbpp=24/#xserverbpp=24
xserverbpp=128/g' /etc/xrdp/xrdp.ini
echo xfce4-session > ~/.xsession
sudo nano /etc/xrdp/startwm.sh   -> comment out last two lines and add below
# xfce
startxfce4
sudo /etc/init.d/xrdp start

Comment

install ubuntu gui on wsl

sudo apt purge xscreensaver gnome-screensaver
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu remove all folders but keep some 
Shell :: docker-compose ps 
Shell :: install kubens on ubuntu 
Shell :: git log filter merge commits 
Shell :: best shell linux 
Shell :: ram info unix 
Shell :: git clone in current directory 
Shell :: scp HostKeyVerification=false 
Shell :: move all files in a directory linux 
Shell :: check total folder size linux 
Shell :: install realtek rtl88xxau usb wifi driver ubuntu 
Shell :: youtube dl download linux 
Shell :: how to install postgresql 
Shell :: aws extend volume ubuntu 
Shell :: combine strings bash 
Shell :: git push u origin master 
Shell :: history terminal commad getting limited 
Shell :: install brew in mac 
Shell :: count files command mac 
Shell :: git push in a new branch 
Shell :: ssh transfer folder 
Shell :: copy files out of docker 
Shell :: get out of venv 
Shell :: next upgrade 
Shell :: git remove submodules 
Shell :: tailwind vite 
Shell :: remove package from laravel 
Shell :: random color npm 
Shell :: git remove last pushed commit 
Shell :: ubuntu make executable 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =