I am able to log into Ubuntu Wayland (20.04) but I am having a problem with regular Ubuntu. I have been advised to "read log files like dmesg or syslog".
My question is, if I run these in Wayland, will that help figure out what's going on in regular Ubuntu or do I have to log into regular Ubuntu in recovery mode and then read the log files in there?
(For context: my original post).
dmesg
orjournalctl
from terminal anywhere (text terminal, GUI be it Wayland, Xorg etc session); however if you reboot (into recovery mode), you'll only be reading the messages from the current session (ie. from boot) usingdmesg
as they do not survive shutdown/reboot. – guiverc Jan 07 '22 at 10:39journalctl
) will survive reboot ... is freeze kernel level (ie. SysRq commands no longer work) or just GUI (ie. mouse/keyboard no longer seem to work as nothing changes on display; but keyboard commands to non-GUI will still work) – guiverc Jan 07 '22 at 11:02Ctrl+Alt+F4
and that did NOT bring up a terminal (and it does when I am in Wayland). However, the keyboard must work somewhat because I canAlt+SysRq+b
to reboot the machine. – user1551817 Jan 07 '22 at 11:18sudo apt install openssh-server
to install an SSH server, then from your spare computer typessh username@192.168.1.x -o PreferredAuthentications=password
to login while you try to repro the crash on your server. You can check dmesg and other commands comfortably. From client you can also dosshfs username@192.168.1.x:/ /mnt -o default_permissions,idmap=user
to mount your root in /mnt and from there check `/mnt/var/log/Xorg.0.log – Matias N Goldberg Jan 14 '22 at 01:24