![Ubuntu 黑屏问题](https://linux22.com/image/906123/Ubuntu%20%E9%BB%91%E5%B1%8F%E9%97%AE%E9%A2%98.png)
我尝试安装 NVidia 驱动程序,一切顺利,但之后,它开始出现一些水平渲染问题。然后,我决定在网上搜索。我以为我找到了解决办法,但它却弄坏了我的笔记本电脑。
这里有一个(PasteBin)我的命令的历史记录(或参见下文):
ls
./NVIDIA-Linux-x86_64-410.73.run
sudo reboot
glxinfo | grep vendor
cd Downloads/Just.Sha...
everything normal now
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt install nvidia-current
sudo nvidia-xconfig
sudo reboot
here it broke, but, the login screen worked but then logged in, black screen and just the cursot not moving.
sudo apt update
sudo apt autoclean
sudo apt clean
sudo apt install debsums
sudo apt clean
sudo debsums_init
sudo debsums -cs
sudo apt install --reinstall $(sudo dpkg -S $(sudo debsums -c) | cut -d : -f 1 | sort -u)
here, stuff really broke
sudo apt install --reinstall ubuntu-desktop
sudo apt install unity
sudo apt purge nvidia* bumblebee*
sudo shutdown -r now
sudo apt purge nvidia-*
sudo reboot
sudo apt install compizconfig-settings-manager
export DISPLAY=:0
ccsm <= error that i ignored like a fool
unity --replace
dconf reset -f /org/compiz
unity --reset-icons &disown
unity --reset-icons
sudo apt install gnome-panel
sudo reboot
sudo apt install unity-tweak-tool
unity-tweak-tool --reset-unity
setsid unity
journalctl --user -xe
sudo apt install mate - attempt tobinstall mate
setsid mate
setsid MATE
setsid ubuntu-mate
mate
ubuntu-mate
sudo apt install -y expect
cat <<EOF | expect
set timeout -1
spaen sudo apt install -y ubuntu-mate-desktop
expect "Default display manager: "
send "lightdm\n"
expect eof
EOF
lightdm-gtk-greeter
sudo apt install lightdm-gtk-greeter
lightdm-gtk-greeter
set DISPLAY=:0
sudo lightdm-gtk-greeter
sudo reboot
是的,我确实手写了所有这些。
有什么想法吗?
另外,我使用 Ubuntu Cosmic Cuttlefish!
以下是情况的图片: