jeudi 28 avril 2022

VMWare Bridge Connection (How to resolve)

 On windows :

C:\Program Files (x86)\VMware\VMware Player>vnetlib64.exe -- install bridge


jeudi 7 avril 2022

WslRegisterDistribution error on Windows 10

I often get this error while trying to launch Ubuntu on Windows WSL (command "ubuntu2004"). 


"Installing, this may take a few minutes...

WslRegisterDistribution failed with error: 0x80080005

Error: 0x80080005 ╔chec de l?exÚcution du serveur

Press any key to continue..."


mercredi 6 avril 2022

Install VNC Server on AWS Ubuntu Linux (For accessing a graphical environment)

Here is the link that will help you for doing that :

https://ubuntu.com/tutorials/ubuntu-desktop-aws#1-overview

Then from a Windows machine, download TightVNC at :

https://www.tightvnc.com/download.php

And when entering the remote AWS Ubuntu machine address in TightVNC, don't forget to append "::5901" at the end of the URL.


If you want to change the displayed resolution when connecting from TighVNC client, then, on the Ubuntu Linux machine do the following :

vncserver -kill :1

vncserver -geometry 1600x1200

And connect again from your TightVNC client on the remote (Windows) machine.


mardi 5 avril 2022

Find large files in command-line (WSL/Ubuntu 2004)

 find / -name * 2>/dev/null -type f -size +1000000


Ideas for troubleshooting WSL/Ubuntu2004 (LxssManager service)

 If you try to start your Ubuntu 20.04 LTS instance in the WSL environment on Windows (10), then try to restart the LxssManager service through Powershell as follows :

powershell

Restart-Service LxssManager

Restart-Service LxssManager -force

The following article might help to understand the mechanics around starting and stopping services through Powershell, in case you need it :

https://social.technet.microsoft.com/Forums/windows/en-US/574d175f-c370-4bd5-9bf1-c5e400362dfa/powershell-script-to-restart-a-service-and-its-dependents-and-their-dependents?forum=ITCG

Basically, you should use the "Get-Service" function to list all services from Powershell.