虚拟机Ubuntu重启Gnome图形界面命令
因为Ctrl+Alt+F1无法进入命令行界面,所以在另外一台PC,ssh接入:
ou@ubuntu:~$ sudo /etc/init.d/gdm3 restart
Restarting gdm3 (via systemctl): gdm3.service.
ou@ubuntu:~$ uname -a
Linux ubuntu-VirtualBox 5.13.0-44-generic #49~20.04.1-Ubuntu SMP Wed May 18 18:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
GNOME Version: 3.36.8