'Blank window vscode as root

it's been a long time that i run vscode as root via this command (ubuntu 20.04.4 LTS) :

> sudo code --user-data-dir="~/.vscode-root"

Today, i used the same command to execute vscode as root, but i don't have the same result. in this time, i have a blank window.

i tried to remove it + remove /$Home/Code and .vscode folder install it again but i have the same problem, i tried to use the same command with other flags without being able to solve it.

Flags tried : --disable-gpu    ///  --disable-features=CalculateNativeWinOcclusion

is there a way to delete (package + config) and all data of vscode to install it properly again ?

screen shot

Any idea ? Thank you & have a nice day



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source