Ubuntu22.10 突然CUIのみになっていた場合の対照法

Ubuntu22.10 突然CUIのみになっていた場合の対照法



  • OS Ubuntu 22.10



$ sudo startx

xauth:  file /root/.Xauthority does not exist

X.Org X Server
X Protocol Version 11, Revision 0
Current Operating System: Linux hoge-Default-string 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-48-generic root=UUID=6c117e9e-3883-4c9e-ab24-ac603f6fff5a ro quiet splash vt.handoff=7
xorg-server 2:21.1.3-2ubuntu2.1 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct  6 16:26:34 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.



$ sudo apt install gdm3

$ sudo reboot