My issue with my system booting to runlevel 3 instead of getting a graphical display got solved. I had a systemd script which would detect if a monitor was connector or not. If no monitor was found, the system would boot to runlevel 3. I was using a utility monitor-get-edid command to check this. For some reason, the command is returning non-zero during boot, as if monitor is not connected. Apologies for raising this which was actually a self created issue. I forget about this systemd service because I had created it more than an year back and totally forgot that this script could be responsible for booting into runlevel 3. On Thu, 5 Dec 2019 at 17:56, Manvendra Bhangui <mbhangui@gmail.com> wrote:
On Thu, 5 Dec 2019 at 15:04, Dominique Leuenberger <dimstar@suse.de> wrote:
Please note that this mail was generated by a script. The described changes are computed based on the x86_64 DVD. The full online repo contains too many changes to be listed here.
Please check the known defects of this snapshot before upgrading: https://openqa.opensuse.org/tests/overview?distri=opensuse&groupid=1&version=Tumbleweed&build=20191203
Today I updated to the above release and after reboot the machine boots to runlevel 3. The graphical desktop doesn't start automatically. I have to login on the console or by ssh and manually issue the command "sudo init 5" to bring up the graphical desktop. What should I do to fix this issue? Any pointers?
$ cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20191203" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20191203" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20191203" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" LOGO="distributor-logo"
$ systemctl get-default graphical.target
Some lines from journalctl
Dec 05 17:45:45 MediaCenter systemd[2447]: Reached target Timers. Dec 05 17:45:45 MediaCenter systemd[2447]: Starting D-Bus User Message Bus Socket. Dec 05 17:45:45 MediaCenter systemd[2447]: Listening on Sound System. Dec 05 17:45:45 MediaCenter systemd[2447]: Listening on D-Bus User Message Bus Socket. Dec 05 17:45:45 MediaCenter systemd[2447]: Reached target Sockets. Dec 05 17:45:45 MediaCenter systemd[2447]: Reached target Basic System. Dec 05 17:45:45 MediaCenter systemd[2447]: Reached target Main User Target. Dec 05 17:45:45 MediaCenter systemd[2447]: Startup finished in 602ms. Dec 05 17:45:45 MediaCenter systemd[1]: Started User Manager for UID 1000. Dec 05 17:45:45 MediaCenter systemd[1]: Started Session 1 of user mbhangui. Dec 05 17:45:46 MediaCenter kernel: fuse: init (API version 7.31) Dec 05 17:45:46 MediaCenter systemd[1]: Mounting FUSE Control File System... Dec 05 17:45:47 MediaCenter systemd[1]: Mounted FUSE Control File System. Dec 05 17:45:47 MediaCenter systemd[1]: NetworkManager-dispatcher.service: Succeeded. Dec 05 17:45:56 MediaCenter systemd[1]: Started Music Player Daemon. Dec 05 17:45:56 MediaCenter systemd[1]: Reached target Multi-User System. Dec 05 17:45:56 MediaCenter systemd[1]: Starting Update UTMP about System Runlevel Changes... Dec 05 17:45:56 MediaCenter systemd[1]: systemd-update-utmp-runlevel.service: Succeeded. Dec 05 17:45:56 MediaCenter systemd[1]: Started Update UTMP about System Runlevel Changes. Dec 05 17:45:56 MediaCenter systemd[1]: Startup finished in 3.547s (kernel) + 3.351s (initrd) + 51.701s (userspace) = 58.600s. Dec 05 17:45:59 MediaCenter systemd[1]: systemd-hostnamed.service: Succeeded. Dec 05 17:46:17 MediaCenter systemd[1]: Reloading. Dec 05 17:46:17 MediaCenter systemd[1]: /usr/lib/systemd/system/auditd.service:12: PIDFile= references a path below legacy directory /var/run/, updating /var/run/auditd.pid → /run/auditd.pid; please update the unit fi> Dec 05 17:46:17 MediaCenter systemd[1]: /usr/lib/systemd/system/display-manager.service:12: PIDFile= references a path below legacy directory /var/run/, updating /var/run/displaymanager.pid → /run/displaymanager.pid; > Dec 05 17:46:17 MediaCenter systemd[1]: /usr/lib/systemd/system/rpc-statd.service:15: PIDFile= references a path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update th> Dec 05 17:46:17 MediaCenter systemd[1]: /usr/lib/systemd/system/ntpd.service:15: PIDFile= references a path below legacy directory /var/run/, updating /var/run/ntp/ntpd.pid → /run/ntp/ntpd.pid; please update the unit > Dec 05 17:46:17 MediaCenter systemd[1]: /usr/lib/systemd/system/pcscd.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/pcscd/pcscd.comm → /run/pcscd/pcscd.comm; please upda> Dec 05 17:46:25 MediaCenter sudo[2555]: mbhangui : TTY=pts/0 ; PWD=/home/mbhangui ; USER=root ; COMMAND=/usr/bin/svstat /service/dietpi /service/droidmote /service/glava /service/panalpd /service/panascan Dec 05 17:46:25 MediaCenter sudo[2555]: pam_unix(sudo:session): session opened for user root(uid=0) by mbhangui(uid=0) Dec 05 17:46:36 MediaCenter sudo[2561]: mbhangui : TTY=pts/0 ; PWD=/home/mbhangui ; USER=root ; COMMAND=/usr/sbin/init 5
The graphical desktop starts only after issuing the above init command
-- Regards Manvendra - http://www.indimail.org GPG Pub Key http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC7CBC760014D250C -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org