Skip to main content

The easiest way to run GUI apps on Windows Subsystem for Linux

To Install WSL (Windows Subsystem for Linux)
1). Turn Windows features on or off
2). Enable Windows Subsystem for Linux
3). Restart Computer
4). Launch Microsoft Store
5). Search for Ubuntu
6). Select Ubuntu 18.04 under Apps
7). Click Get
8). Launch Ubuntu and wait for install
To enable GUI mode in Ubuntu 
Set username and password
Run the following Commands:
sudo apt-get update -y
sudo apt-get install ubuntu-desktop -y
sudo apt-get install xfce4 xorg xrdp -y
sudo sed -i 's/port=3389/port=3390/g' /etc/xrdp/xrdp.ini
Create and modify .xsession
cd /home/user/
sudo vim .xsession
Add text:
gnome-session --session=ubuntu-2d
Save and exit vi
sudo chmod 755 .xsession
sudo systemctl enable xrdp
You will need a second account on Ubuntu (Give password as "password")
sudo adduser remote
sudo usermod -aG sudo remote
cd /etc/xrdp
sudo chmod 777
Comment out the bottom two lines
#test -x /etc/X11/Xsession && exec /etc/X11/Xsession
#exec /bin/sh /etc/X11/Xsession
Add text:
Save and exit vi
In Windows, restart Ubuntu and run:
sudo /etc/init.d/xrdp start
In Windows run mstsc.exe
Leave username blank
Session: Xorg
username: remote
password: password
When done, close the remote desktop connection
Return to the Ubuntu command line
sudo /etc/init.d/xrdp stop


Popular posts from this blog

IBM iAccess for windows 7.1 "a system restart is pending" error

 IBM iAccess for windows 7.1 "a system restart is pending" error HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager 1. Look for the following key:  PendingFileRenameOperations or   FileRenameOperations ** 2. Right-click ->  Rename . 3. Add a prefix ### and press Enter. 4. Close regedit and attempt the installation.  Note:  Make sure to go back and remove the ### prefix. The installation should continue.

How to change processor name permanently to fool your friends

How to change processor name permanently to fool your friends ------------------------------ ------------------------------ -------------- Would you like to show a brand new processor name which may not even published on market? Yes, definitely you will like it! With this trick, you can change the name of your processor to a personalized one like Intel i12 or something extreme like AMD Radon 30 GHz . So follow the given steps, Steps you have to perform 1. Open Notepad. Copy and paste below code into file. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\HARDWARE\D ESCRIPTION\System\CentralProce ssor\0] "ProcessorNameString"="Intel(R ) Core(TM) i12-3470 CPU @ 32.5GHz " How to change processor name -- 2. Save the file with .reg extension, such as "anyname.reg". How to change processor name permanantly 3. Double click on file. You will get two prompt, Just allow them to install registry key. How to change processor n