Showing posts with label windows 10 ubuntu. Show all posts
Showing posts with label windows 10 ubuntu. Show all posts

Monday, January 22, 2018

install xwindows and xfce4 on Windows 10 + Ubuntu (creators version)


However, you can install graphical Linux applications and run these under WSL if you have an X server like VcXsrv or Xming, on your Windows machine. 

https://solarianprogrammer.com/2017/04/16/windows-susbsystem-for-linux-xfce-4/


a bit from the above link

1 sudo apt install xfce4
Next, you will need to modify the .bashrc file. There are a few text editors that work under WSL. I suggest to use vim or nano, e.g.:
1 cd ~
2 nano .bashrc
The second command from above will open .bashrc in nano and you can scroll to the end of the file and write:
1 export DISPLAY=:0.0
Save the modified file by pressing CTRL+X and answering Y when asked if you want to save the file. Close and restart the console window.
Next, you will need to install an X server for Windows. I suggest VcXsrv which works well with WSL. Download and start the installer, you can safely accept the default settings.

https://sourceforge.net/projects/vcxsrv/

https://sourceforge.net/projects/xming/

Monday, January 15, 2018

how to mount drives on Windows 10 Ubuntu shell


From link below, can get to drives or other servers

https://superuser.com/questions/1114341/windows-10-ubuntu-bash-shell-how-do-i-mount-other-windows-drives

Good news, it is now possible to mount USB media (including formatted as FAT) and network shares with drvfs on Windows 10:
Mount removable media: (e.g. D:)
$ sudo mkdir /mnt/d
$ sudo mount -t drvfs D: /mnt/d
To safely unmount
$ sudo umount /mnt/d
You can also mount network shares without smbfs:
$ sudo mount -t drvfs '\\server\share' /mnt/share