Linux: Prevent X11/Xorg from using a (Nvidia) GPU

Hi,

when you install an NVidia GPU to run HPC tasks you usually don’t want that X11/xorg use it. This can be done by force Xorg to use the framebuffer device and prevent the nvidia_drm driver from creating a framebuffer device.
You can check this by nvidia-smi

root@debdev ~ # nvidia-smi 
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1581      G   /usr/lib/xorg/Xorg                          167MiB |
|    0   N/A  N/A      1713      G   /usr/bin/gnome-shell                         16MiB |
+---------------------------------------------------------------------------------------+

Continue reading Linux: Prevent X11/Xorg from using a (Nvidia) GPU

Advertisment to support michlstechblog.info

Windows: Update builtin openssh to the latest version

Hi,

when you have install openssh by

PS D:\> Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0

then the installed version will never get updates.

Some older version (8.x.x) might have scp performance issues and therefore an update makes sence :-).
Continue reading Windows: Update builtin openssh to the latest version

Powershell: Use latest selenium version

Hi,

the selenium module from the powershell gallery outdated is outdated.
Continue reading Powershell: Use latest selenium version

Windows: Removing Appx failed with 0x80070032: This app is part of Windows and cannot be uninstalled on a per-user basis.

Hi,

since the latest Edge updates an Appx Package Microsoft.MicrosoftEdge is installed on a “per user basis”.
Continue reading Windows: Removing Appx failed with 0x80070032: This app is part of Windows and cannot be uninstalled on a per-user basis.

Windows: Invoke-RestMethod =>The underlying connection was closed: An unexpected error occurred on a receive.

Hi,

Invoke-RestMethod or Invoke-WebRequest uses by default TLS 1.0. This protocal is outdated and would be not accepted by the most Webservers anymore.

Usually this results in the following error message:
The underlying connection was closed: An unexpected error occurred on a receive.

Continue reading Windows: Invoke-RestMethod =>The underlying connection was closed: An unexpected error occurred on a receive.

My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…