[SLES 12 SP1] Problem beim Umschalten auf die Konsole

28/07/2016 - 15:41 von Burkhard Schultheis | Report spam
Ich habe hier auf mehreren SLES-12-Maschinen das Problem, dass ich von
X11 nicht mehr zur Konsole zurückkomme.

Wenn ich sudo systemctl isolate multi-user in einem xterm eingebe,
friert X11 komplett ein. Wenn ich dann in einer ssh-Sitzung sudo
systemctl isolate graphical eingebe, bekomme ich eine neue X11-Sitzung.
In /var/log/messages finde ich dazu:

2016-07-28T15:32:32.581884+02:00 sles12 systemd[1]: Stopping user-0.slice.
2016-07-28T15:32:32.583264+02:00 sles12 systemd[1]: Removed slice
user-0.slice.
2016-07-28T15:32:32.583672+02:00 sles12 systemd[1]: Starting Wait for
Plymouth Boot Screen to Quit...
2016-07-28T15:32:32.583953+02:00 sles12 systemd[1]: Starting Terminate
Plymouth Boot Screen...
2016-07-28T15:32:32.585498+02:00 sles12 systemd[1]: Started Purge old
kernels.
2016-07-28T15:32:32.585680+02:00 sles12 systemd[1]: Started Rollback
Helper for Registration.
2016-07-28T15:32:32.585854+02:00 sles12 systemd[1]: Starting Update cron
periods from /etc/sysconfig/btrfsmaintenance...
2016-07-28T15:32:32.586010+02:00 sles12 systemd[1]: Started Self
Monitoring and Reporting Technology (SMART) Daemon.
2016-07-28T15:32:32.586158+02:00 sles12 systemd[1]: Started Machine
Check Exception Logging Daemon.
2016-07-28T15:32:32.586302+02:00 sles12 systemd[1]: Started Collect
Read-Ahead Data.
2016-07-28T15:32:32.586447+02:00 sles12 systemd[1]: Started YaST2 Second
Stage.
2016-07-28T15:32:32.586594+02:00 sles12 systemd[1]: Started YaST2 Firstboot.
2016-07-28T15:32:32.586738+02:00 sles12 systemd[1]: Started Replay
Read-Ahead Data.
2016-07-28T15:32:32.586883+02:00 sles12 systemd[1]: Started Manage Sound
Card State (restore and store).
2016-07-28T15:32:32.587027+02:00 sles12 systemd[1]: Started Restore
Sound Card State.
2016-07-28T15:32:32.590656+02:00 sles12 systemd[1]: Starting Tell
Plymouth To Write Out Runtime Data...
2016-07-28T15:32:32.590845+02:00 sles12 systemd[1]: Starting Trigger
Flushing of Journal to Persistent Storage...
2016-07-28T15:32:32.591000+02:00 sles12 systemd[1]: Started Set Up
Additional Binary Formats.
2016-07-28T15:32:32.591152+02:00 sles12 systemd[1]: Started First Boot
Wizard.
2016-07-28T15:32:32.591304+02:00 sles12 systemd[1]: Mounted
Configuration File System.
2016-07-28T15:32:32.591451+02:00 sles12 systemd[1]: Started Wait for
Plymouth Boot Screen to Quit.
2016-07-28T15:32:32.598184+02:00 sles12 systemd[1]: Started Trigger
Flushing of Journal to Persistent Storage.
2016-07-28T15:32:32.604464+02:00 sles12 systemd[1]: Started Tell
Plymouth To Write Out Runtime Data.
2016-07-28T15:32:32.605484+02:00 sles12 systemd[1]: Started Terminate
Plymouth Boot Screen.
2016-07-28T15:32:32.606400+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14669]: Refresh script btrfs-scrub.sh
for monthly
2016-07-28T15:32:32.609220+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14669]: Refresh script btrfs-defrag.sh
for none
2016-07-28T15:32:32.611177+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14669]: Refresh script btrfs-balance.sh
for weekly
2016-07-28T15:32:32.613221+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14669]: Refresh script btrfs-trim.sh
for weekly
2016-07-28T15:32:32.619719+02:00 sles12 systemd[1]: Started Update cron
periods from /etc/sysconfig/btrfsmaintenance.
2016-07-28T15:32:32.619929+02:00 sles12 systemd[1]: Reached target
Multi-User System.
2016-07-28T15:32:32.620090+02:00 sles12 systemd[1]: Starting Update UTMP
about System Runlevel Changes...
2016-07-28T15:32:32.620247+02:00 sles12 systemd[1]: Started Stop
Read-Ahead Data Collection 10s After Completed Startup.
2016-07-28T15:32:32.625767+02:00 sles12 systemd[1]: Started Update UTMP
about System Runlevel Changes.

Ich kann da keinen Fehler entdecken.

Wenn ich dann wieder zu X11 wechsele, gibt's schon einiges zu Meckern:

2016-07-28T15:32:48.201632+02:00 sles12 systemd[1]: Started Purge old
kernels.
2016-07-28T15:32:48.201963+02:00 sles12 systemd[1]: Started Rollback
Helper for Registration.
2016-07-28T15:32:48.202122+02:00 sles12 systemd[1]: Starting Update cron
periods from /etc/sysconfig/btrfsmaintenance...
2016-07-28T15:32:48.202278+02:00 sles12 systemd[1]: Started Self
Monitoring and Reporting Technology (SMART) Daemon.
2016-07-28T15:32:48.208300+02:00 sles12 systemd[1]: Started Machine
Check Exception Logging Daemon.
2016-07-28T15:32:48.208696+02:00 sles12 systemd[1]: Started Stop
Read-Ahead Data Collection 10s After Completed Startup.
2016-07-28T15:32:48.209145+02:00 sles12 systemd[1]: Started Collect
Read-Ahead Data.
2016-07-28T15:32:48.209559+02:00 sles12 systemd[1]: Started YaST2 Second
Stage.
2016-07-28T15:32:48.209869+02:00 sles12 systemd[1]: Started YaST2 Firstboot.
2016-07-28T15:32:48.210130+02:00 sles12 systemd[1]: Starting X Display
Manager...
2016-07-28T15:32:48.210477+02:00 sles12 systemd[1]: Started Replay
Read-Ahead Data.
2016-07-28T15:32:48.210950+02:00 sles12 systemd[1]: Started Manage Sound
Card State (restore and store).
2016-07-28T15:32:48.212586+02:00 sles12 systemd[1]: Started Restore
Sound Card State.
2016-07-28T15:32:48.212914+02:00 sles12 systemd[1]: Starting Tell
Plymouth To Write Out Runtime Data...
2016-07-28T15:32:48.213085+02:00 sles12 systemd[1]: Starting Trigger
Flushing of Journal to Persistent Storage...
2016-07-28T15:32:48.213233+02:00 sles12 systemd[1]: Started Set Up
Additional Binary Formats.
2016-07-28T15:32:48.213380+02:00 sles12 systemd[1]: Started First Boot
Wizard.
2016-07-28T15:32:48.213525+02:00 sles12 systemd[1]: Mounted
Configuration File System.
2016-07-28T15:32:48.213783+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14691]: Refresh script btrfs-scrub.sh
for monthly
2016-07-28T15:32:48.218444+02:00 sles12 systemd[1]: Started Trigger
Flushing of Journal to Persistent Storage.
2016-07-28T15:32:48.225478+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14691]: Refresh script btrfs-defrag.sh
for none
2016-07-28T15:32:48.226725+02:00 sles12 systemd[1]: Started Tell
Plymouth To Write Out Runtime Data.
2016-07-28T15:32:48.229853+02:00 sles12 display-manager[14692]:
/etc/vconsole.conf available
2016-07-28T15:32:48.230048+02:00 sles12 display-manager[14692]: KEYMAP:
de-latin1-nodeadkeys
2016-07-28T15:32:48.230189+02:00 sles12 display-manager[14692]: Command:
localectl set-keymap de-latin1-nodeadkeys
2016-07-28T15:32:48.232012+02:00 sles12 dbus[1198]: [system] Activating
via systemd: service name='org.freedesktop.locale1'
unit='dbus-org.freedesktop.locale1.service'
2016-07-28T15:32:48.234152+02:00 sles12 systemd[1]: Starting Locale
Service...
2016-07-28T15:32:48.235130+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14691]: Refresh script btrfs-balance.sh
for weekly
2016-07-28T15:32:48.235740+02:00 sles12 dbus[1198]: [system]
Successfully activated service 'org.freedesktop.locale1'
2016-07-28T15:32:48.236302+02:00 sles12 systemd[1]: Started Locale Service.
2016-07-28T15:32:48.238889+02:00 sles12
btrfsmaintenance-refresh-cron.sh[14691]: Refresh script btrfs-trim.sh
for weekly
2016-07-28T15:32:48.241937+02:00 sles12 systemd[1]: Started Update cron
periods from /etc/sysconfig/btrfsmaintenance.
2016-07-28T15:32:48.263027+02:00 sles12 dbus[1198]: [system] Rejected
send message, 1 matched rules; type="method_call", sender=":1.62" (uid=0
pid723 comm="/usr/sbin/gdm ")
interface="org.freedesktop.DBus.Properties" member="GetAll" error
name="(unset)" requested_reply="0" destination=":1.63" (uid=0 pid726
comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
2016-07-28T15:32:48.271675+02:00 sles12 dbus[1198]: [system] Activating
via systemd: service name='org.freedesktop.Accounts'
unit='accounts-daemon.service'
2016-07-28T15:32:48.273383+02:00 sles12 systemd[1]: Starting Accounts
Service...
2016-07-28T15:32:48.296950+02:00 sles12 dbus[1198]: [system] Activating
via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service'
2016-07-28T15:32:48.297885+02:00 sles12 systemd[1]: Starting
Authorization Manager...
2016-07-28T15:32:48.318037+02:00 sles12 polkitd[14736]: Started polkitd
version 0.113
2016-07-28T15:32:48.335916+02:00 sles12 polkitd[14736]: Loading rules
from directory /etc/polkit-1/rules.d
2016-07-28T15:32:48.336138+02:00 sles12 polkitd[14736]: Loading rules
from directory /usr/share/polkit-1/rules.d
2016-07-28T15:32:48.339433+02:00 sles12 polkitd[14736]: Finished
loading, compiling and executing 3 rules
2016-07-28T15:32:48.339651+02:00 sles12 dbus[1198]: [system]
Successfully activated service 'org.freedesktop.PolicyKit1'
2016-07-28T15:32:48.339813+02:00 sles12 polkitd[14736]: Acquired the
name org.freedesktop.PolicyKit1 on the system bus
2016-07-28T15:32:48.339967+02:00 sles12 systemd[1]: Started
Authorization Manager.
2016-07-28T15:32:48.342135+02:00 sles12 accounts-daemon[14732]: started
daemon version 0.6.35
2016-07-28T15:32:48.342338+02:00 sles12 dbus[1198]: [system]
Successfully activated service 'org.freedesktop.Accounts'
2016-07-28T15:32:48.342513+02:00 sles12 systemd[1]: Started Accounts
Service.
2016-07-28T15:32:48.455785+02:00 sles12 display-manager[14692]: Starting
service gdm<5>Failed to give slave programs access to the display.
Trying to proceed.
2016-07-28T15:32:48.519356+02:00 sles12 systemd[1]: Starting user-106.slice.
2016-07-28T15:32:48.519598+02:00 sles12 systemd[1]: Created slice
user-106.slice.
2016-07-28T15:32:48.525883+02:00 sles12 systemd[1]: Starting User
Manager for UID 106...
2016-07-28T15:32:48.526062+02:00 sles12 systemd[1]: Starting Session c2
of user gdm.
2016-07-28T15:32:48.526316+02:00 sles12 systemd[1]: Started Session c2
of user gdm.
2016-07-28T15:32:48.526480+02:00 sles12 systemd-logind[1220]: New
session c2 of user gdm.
2016-07-28T15:32:48.542840+02:00 sles12 systemd[14759]: Starting Paths.
2016-07-28T15:32:48.543144+02:00 sles12 systemd[14759]: Reached target
Paths.
2016-07-28T15:32:48.543350+02:00 sles12 systemd[14759]: Starting Timers.
2016-07-28T15:32:48.543538+02:00 sles12 systemd[14759]: Reached target
Timers.
2016-07-28T15:32:48.543698+02:00 sles12 systemd[14759]: Starting Sockets.
2016-07-28T15:32:48.543929+02:00 sles12 systemd[14759]: Reached target
Sockets.
2016-07-28T15:32:48.544126+02:00 sles12 systemd[14759]: Starting Basic
System.
2016-07-28T15:32:48.544292+02:00 sles12 systemd[14759]: Reached target
Basic System.
2016-07-28T15:32:48.544452+02:00 sles12 systemd[14759]: Starting Default.
2016-07-28T15:32:48.544618+02:00 sles12 systemd[14759]: Reached target
Default.
2016-07-28T15:32:48.544771+02:00 sles12 systemd[14759]: Startup finished
in 8ms.
2016-07-28T15:32:48.581283+02:00 sles12 org.a11y.Bus[14765]: Activating
service name='org.a11y.atspi.Registry'
2016-07-28T15:32:48.590917+02:00 sles12 org.a11y.Bus[14765]:
Successfully activated service 'org.a11y.atspi.Registry'
2016-07-28T15:32:48.591477+02:00 sles12 org.a11y.atspi.Registry[14772]:
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
2016-07-28T15:32:48.592471+02:00 sles12 org.a11y.atspi.Registry[14772]:
Xlib: extension "XEVIE" missing on display ":0".
2016-07-28T15:32:48.663315+02:00 sles12 dbus[1198]: [system] Activating
via systemd: service name='org.freedesktop.UPower' unit='upower.service'
2016-07-28T15:32:48.669772+02:00 sles12 systemd[1]: Starting Daemon for
power management...
2016-07-28T15:32:48.676102+02:00 sles12 dbus[1198]: [system]
Successfully activated service 'org.freedesktop.UPower'
2016-07-28T15:32:48.676369+02:00 sles12 systemd[1]: Started Daemon for
power management.
2016-07-28T15:32:48.742573+02:00 sles12 pulseaudio[14798]: [pulseaudio]
authkey.c: Failed to open cookie file
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:48.742826+02:00 sles12 pulseaudio[14798]: [pulseaudio]
authkey.c: Failed to load authorization key
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:48.749747+02:00 sles12 dbus[1198]: [system] Activating
via systemd: service name='org.freedesktop.RealtimeKit1'
unit='rtkit-daemon.service'
2016-07-28T15:32:48.750492+02:00 sles12 systemd[1]: Starting RealtimeKit
Scheduling Policy Service...
2016-07-28T15:32:48.754716+02:00 sles12 dbus[1198]: [system]
Successfully activated service 'org.freedesktop.RealtimeKit1'
2016-07-28T15:32:48.754922+02:00 sles12 systemd[1]: Started RealtimeKit
Scheduling Policy Service.
2016-07-28T15:32:48.755414+02:00 sles12 rtkit-daemon[14802]:
Successfully called chroot.
2016-07-28T15:32:48.755614+02:00 sles12 rtkit-daemon[14802]:
Successfully dropped privileges.
2016-07-28T15:32:48.755760+02:00 sles12 rtkit-daemon[14802]:
Successfully limited resources.
2016-07-28T15:32:48.755893+02:00 sles12 rtkit-daemon[14802]: Running.
2016-07-28T15:32:48.756552+02:00 sles12 rtkit-daemon[14802]: Canary
thread running.
2016-07-28T15:32:48.756706+02:00 sles12 rtkit-daemon[14802]: Watchdog
thread running.
2016-07-28T15:32:48.787670+02:00 sles12 display-manager[14692]: ..done
2016-07-28T15:32:48.787892+02:00 sles12 systemd[1]: Started X Display
Manager.
2016-07-28T15:32:48.788644+02:00 sles12 systemd[1]: Starting Graphical
Interface.
2016-07-28T15:32:48.789622+02:00 sles12 systemd[1]: Reached target
Graphical Interface.
2016-07-28T15:32:48.790596+02:00 sles12 systemd[1]: Starting Update UTMP
about System Runlevel Changes...
2016-07-28T15:32:48.801891+02:00 sles12 pulseaudio[14801]: [pulseaudio]
authkey.c: Failed to open cookie file
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:48.802300+02:00 sles12 pulseaudio[14801]: [pulseaudio]
authkey.c: Failed to load authorization key
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:48.805248+02:00 sles12 systemd[1]: Started Update UTMP
about System Runlevel Changes.
2016-07-28T15:32:48.808807+02:00 sles12 pulseaudio[14801]: [pulseaudio]
ltdl-bind-now.c: Failed to open module module-cork-music-on-phone.so:
module-cork-music-on-phone.so: cannot open shared object file: No such
file or directory
2016-07-28T15:32:48.808984+02:00 sles12 pulseaudio[14801]: [pulseaudio]
module.c: Failed to open module "module-cork-music-on-phone".
2016-07-28T15:32:48.809132+02:00 sles12 pulseaudio[14801]: [pulseaudio]
main.c: Module load failed.
2016-07-28T15:32:48.809309+02:00 sles12 pulseaudio[14801]: [pulseaudio]
main.c: Failed to initialize daemon.
2016-07-28T15:32:48.810967+02:00 sles12 pulseaudio[14798]: [pulseaudio]
main.c: Daemon startup failed.
2016-07-28T15:32:48.984347+02:00 sles12 pulseaudio[14824]: [pulseaudio]
authkey.c: Failed to open cookie file
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:48.991876+02:00 sles12 pulseaudio[14824]: [pulseaudio]
authkey.c: Failed to load authorization key
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:49.024156+02:00 sles12 pulseaudio[14829]: [pulseaudio]
authkey.c: Failed to open cookie file
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:49.029960+02:00 sles12 pulseaudio[14829]: [pulseaudio]
authkey.c: Failed to load authorization key
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:49.031967+02:00 sles12 pulseaudio[14829]: [pulseaudio]
ltdl-bind-now.c: Failed to open module module-cork-music-on-phone.so:
module-cork-music-on-phone.so: cannot open shared object file: No such
file or directory
2016-07-28T15:32:49.032151+02:00 sles12 pulseaudio[14829]: [pulseaudio]
module.c: Failed to open module "module-cork-music-on-phone".
2016-07-28T15:32:49.032324+02:00 sles12 pulseaudio[14829]: [pulseaudio]
main.c: Module load failed.
2016-07-28T15:32:49.032477+02:00 sles12 pulseaudio[14829]: [pulseaudio]
main.c: Failed to initialize daemon.
2016-07-28T15:32:49.034123+02:00 sles12 pulseaudio[14824]: [pulseaudio]
main.c: Daemon startup failed.
2016-07-28T15:32:49.558216+02:00 sles12 pulseaudio[14843]: [pulseaudio]
authkey.c: Failed to open cookie file
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:49.563231+02:00 sles12 pulseaudio[14843]: [pulseaudio]
authkey.c: Failed to load authorization key
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:49.593850+02:00 sles12 pulseaudio[14846]: [pulseaudio]
authkey.c: Failed to open cookie file
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:49.594085+02:00 sles12 pulseaudio[14846]: [pulseaudio]
authkey.c: Failed to load authorization key
'/var/lib/gdm/.config/pulse/cookie': No such file or directory
2016-07-28T15:32:49.599021+02:00 sles12 pulseaudio[14846]: [pulseaudio]
ltdl-bind-now.c: Failed to open module module-cork-music-on-phone.so:
module-cork-music-on-phone.so: cannot open shared object file: No such
file or directory
2016-07-28T15:32:49.599205+02:00 sles12 pulseaudio[14846]: [pulseaudio]
module.c: Failed to open module "module-cork-music-on-phone".
2016-07-28T15:32:49.599377+02:00 sles12 pulseaudio[14846]: [pulseaudio]
main.c: Module load failed.
2016-07-28T15:32:49.599533+02:00 sles12 pulseaudio[14846]: [pulseaudio]
main.c: Failed to initialize daemon.
2016-07-28T15:32:49.601562+02:00 sles12 pulseaudio[14843]: [pulseaudio]
main.c: Daemon startup failed.
2016-07-28T15:32:49.663002+02:00 sles12 polkitd[14736]: Registered
Authentication Agent for unix-session:c2 (system bus name :1.75
[gnome-shell --mode=gdm], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)

Auffàllig finde ich diese Zeile hier:

2016-07-28T15:32:48.263027+02:00 sles12 dbus[1198]: [system] Rejected
send message, 1 matched rules; type="method_call", sender=":1.62" (uid=0
pid723 comm="/usr/sbin/gdm ")
interface="org.freedesktop.DBus.Properties" member="GetAll" error
name="(unset)" requested_reply="0" destination=":1.63" (uid=0 pid726
comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")

Der Rest sieht ja nur nach Fehlern von pulseaudio aus. Das kann doch
keine Ursache für mein Problem sein!

Wo kann ich weiter suchen?

Vielen Dank für eure Hilfe!

Grüße
Burkhard
 

Lesen sie die antworten

#1 Bernd
29/07/2016 - 11:39 | Warnen spam
Burkhard Schultheis wrote on Donnerstag, 28. Juli 2016 15:41 in
de.comp.os.unix.linux.misc :

Ich habe hier auf mehreren SLES-12-Maschinen das Problem, dass ich von
X11 nicht mehr zur Konsole zurückkomme.

Wenn ich sudo systemctl isolate multi-user in einem xterm eingebe,
friert X11 komplett ein. Wenn ich dann in einer ssh-Sitzung sudo
systemctl isolate graphical eingebe, bekomme ich eine neue X11-Sitzung.
In /var/log/messages finde ich dazu:


(...)

Wo kann ich weiter suchen?



nntp://nntp.suse.com

Da wird Dir geholfen ...

Bernd

Ähnliche fragen