LINUX.ORG.RU

lightdm.log что-то происходит очень медленно

 , , , ,


1

1

Здравствуйте) не корите строго, я не так плотно никсами занимался чтобы все понимать, поэтому вопрос возможно глупый.
На рабочей станции стоит Ubuntu Server 14.04 LTS (черт меня дернул) с иксами (рабочая станция с сервером одновременно, на работе всем ....ать на что я прогер а не сисадмин-линуксоид, поэтому все сам поднимаю). Машинка следующего вида(наверное, это все таки важно):

Memory 3.5 GiB
Processor Intel® Pentium(R) CPU G2010 @ 2.80GHz × 2 
Graphics Intel® Ivybridge Desktop x86/MMX/SSE2
OS type 32-bit
Disk 481.6 GB
и вот такой лог

[+0.02s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.02s] DEBUG: Starting Light Display Manager 1.10.1, UID=0 PID=1390
[+0.02s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.02s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.02s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registered seat module xlocal
[+0.02s] DEBUG: Registered seat module xremote
[+0.02s] DEBUG: Registered seat module unity
[+0.02s] DEBUG: Registered seat module surfaceflinger
[+0.02s] DEBUG: Adding default seat
[+0.02s] DEBUG: Seat: Starting
[+0.02s] DEBUG: Seat: Creating greeter session
[+0.08s] DEBUG: Seat: Creating display server of type x
[+0.08s] DEBUG: Deactivating Plymouth
[+0.10s] DEBUG: Using VT 7
[+0.10s] DEBUG: Seat: Starting local X display on VT 7
[+0.10s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.10s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.10s] DEBUG: DisplayServer x-0: Launching X Server
[+0.10s] DEBUG: Launching process 1405: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.10s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.10s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.10s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.52s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.52s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.63s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.64s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+2.99s] DEBUG: Got signal 10 from process 1405
[+2.99s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+2.99s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+2.99s] DEBUG: Quitting Plymouth; retaining splash
[+3.04s] DEBUG: Seat: Display server ready, starting session authentication
[+3.04s] DEBUG: Session pid=1626: Started with service 'lightdm-greeter', username 'lightdm'
[+3.38s] DEBUG: Session pid=1626: Authentication complete with return value 0: Success
[+3.38s] DEBUG: Seat: Session authenticated, running command
[+3.38s] DEBUG: Session pid=1626: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+3.42s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+3.42s] DEBUG: Session pid=1626: Logging to /var/log/lightdm/x-0-greeter.log
[+3.56s] DEBUG: Activating VT 7
[+3.56s] DEBUG: Activating login1 session /org/freedesktop/login1/session/c1
[+7.05s] DEBUG: Session pid=1626: Greeter connected version=1.10.1
[+11.56s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+11.97s] DEBUG: Session pid=1626: Greeter start authentication for sidorov
[+11.97s] DEBUG: Session pid=2056: Started with service 'lightdm', username 'sidorov'
[+12.12s] DEBUG: Session pid=2056: Got 1 message(s) from PAM
[+12.12s] DEBUG: Session pid=1626: Prompt greeter with 1 message(s)
[+29.28s] DEBUG: Session pid=1626: Continue authentication
[+29.36s] DEBUG: Session pid=2056: Authentication complete with return value 0: Success
[+29.36s] DEBUG: Session pid=1626: Authenticate result for user sidorov: Success
[+29.36s] DEBUG: Session pid=1626: User sidorov authorized
[+29.36s] DEBUG: Session pid=1626: Greeter requests session gnome-fallback
[+29.36s] DEBUG: Seat: Stopping greeter; display server will be re-used for user session
[+29.36s] DEBUG: Session pid=1626: Sending SIGTERM
[+29.38s] DEBUG: Session pid=1626: Exited with return value 0
[+29.38s] DEBUG: Seat: Session stopped
[+29.38s] DEBUG: Seat: Greeter stopped, running session
[+29.38s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+29.38s] DEBUG: Session pid=2056: Running command /usr/sbin/lightdm-session /usr/lib/gnome-panel/gnome-session-flashback
[+29.38s] DEBUG: Creating shared data directory /var/lib/lightdm-data/sidorov
[+29.38s] DEBUG: Session pid=2056: Logging to .xsession-errors
[+29.47s] DEBUG: Activating VT 7
[+29.47s] DEBUG: Activating login1 session /org/freedesktop/login1/session/c2
[+30.59s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+58.42s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+137.16s] DEBUG: User /org/freedesktop/Accounts/User1000 changed

как видите в конце там происходит какая-то хрень - куда копать дальше чтобы этот чертов gnome-session-callback работал нормально?? ну или хотя бы посмотреть что происходит в последних трех секциях и должно ли так быть вообще?
P.S.: Не надо мне сейчас советовать поменять дистру (и уж тем более устраивать холиваров по поводу выбора дистры), я и сам знаю что скорее всего нужно это сделать, времени сейчас на это нет вообще. Заранее спасибо.


Честно говоря, по этим логам ничего подозрительного не видно. Ну отработал greeter, была выбрана сессия gnome-fallback, greeter завершился и lightdm стал запускать сессию из /usr/lib/gnome-panel/gnome-session-flashback. По-моему это просто текстовый файл с конфигурацией сессии, можно почитать что там написано, если интересно.

Не очень понятно, что такое User1000 changed, поиск по этой строке выдает в числе прочего ссылку . Покажи /var/log/lightdm/x-0-greeter.log.

Kiborg ★★★ ()
Ответ на: комментарий от Kiborg

part 1

Activating service name='org.a11y.atspi.Registry'
Successfully activated service 'org.a11y.atspi.Registry'

** (at-spi2-registryd:1722): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

** (at-spi2-registryd:1722): WARNING **: Unable to register client with session manager
[+0.00s] DEBUG: unity-greeter.vala:496: Starting unity-greeter 14.04.10 UID=104 LANG=en_US.UTF-8
[+0.00s] DEBUG: unity-greeter.vala:499: Setting cursor
[+0.13s] DEBUG: unity-greeter.vala:513: Loading command line options
[+0.13s] DEBUG: unity-greeter.vala:541: Setting GTK+ settings
[+0.72s] DEBUG: unity-greeter.vala:564: Creating Unity Greeter
[+0.72s] DEBUG: unity-greeter.vala:57: Creating background surface
[+0.77s] DEBUG: Connecting to display manager...
[+0.77s] DEBUG: Wrote 18 bytes to daemon
[+0.77s] DEBUG: Read 8 bytes from daemon
[+0.77s] DEBUG: Read 150 bytes from daemon
[+0.77s] DEBUG: Connected version=1.10.1 default-session=ubuntu show-manual-login=false hide-users=false has-guest-account=true show-remote-login=true
[+3.50s] DEBUG: menubar.vala:335: LANG=en_US.UTF-8 LANGUAGE=(null)
[+3.88s] DEBUG: menubar.vala:367: LANG=en_US.UTF-8 LANGUAGE=(null)
[+3.95s] DEBUG: Loading users from org.freedesktop.Accounts
[+3.95s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+3.96s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+3.97s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+3.98s] DEBUG: user-list.vala:1030: Adding/updating user apache ()
[+3.98s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
[+4.00s] DEBUG: user-list.vala:1030: Adding/updating user nikishin ()
[+5.36s] DEBUG: user-list.vala:1030: Adding/updating user sidorov (sidorov)
[+5.37s] DEBUG: user-list.vala:1012: Adding guest account entry
[+5.58s] DEBUG: Loaded session /usr/share/xsessions/gnome-fallback-compiz.desktop (GNOME Flashback (Compiz), This session logs you into GNOME with the traditional panel)
[+5.60s] DEBUG: Loaded session /usr/share/xsessions/gnome-fallback.desktop (GNOME Flashback (Metacity), This session logs you into GNOME with the traditional panel)
[+5.62s] DEBUG: Loaded session /usr/share/xsessions/ubuntu.desktop (Ubuntu, This session logs you into Ubuntu)
[+5.68s] DEBUG: Ignoring session /usr/share/xsessions/gnome.desktop
[+5.69s] DEBUG: Starting authentication for user sidorov...
[+5.69s] DEBUG: Wrote 23 bytes to daemon
[+5.70s] DEBUG: main-window.vala:185: Screen is 1920x1080 pixels
[+5.70s] DEBUG: main-window.vala:193: Monitor 0 is 1920x1080 pixels at 0,0
[+5.70s] DEBUG: main-window.vala:193: Monitor 1 is 1440x900 pixels at 0,0
[+5.70s] DEBUG: unity-greeter.vala:567: Showing greeter
[+5.70s] DEBUG: unity-greeter.vala:252: Showing main window
[+5.70s] DEBUG: background.vala:483: Regenerating backgrounds
[+5.70s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1440x900
[+5.81s] DEBUG: unity-greeter.vala:610: Starting main loop
[+5.81s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+5.82s] DEBUG: user-list.vala:1030: Adding/updating user sidorov (sidorov)
[+5.83s] DEBUG: settings-daemon.vala:75: Acquired org.gnome.SessionManager
[+5.83s] DEBUG: settings-daemon.vala:102: Acquired org.gnome.ScreenSaver
[+5.83s] DEBUG: settings-daemon.vala:159: All bus names acquired, starting unity-settings-daemon
[+5.93s] DEBUG: Read 8 bytes from daemon
[+5.93s] DEBUG: Read 37 bytes from daemon
[+5.93s] DEBUG: Prompt user with 1 message(s)
[+6.52s] DEBUG: unity-greeter.vala:235: starting system-ready sound
uakoB ()
Ответ на: комментарий от Kiborg

part 2

** (unity-settings-daemon:2073): WARNING **: Unable to register client: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method 'RegisterClient'
[+9.45s] DEBUG: background.vala:121: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete
[+9.46s] DEBUG: Connected to Application Indicator Service.
[+9.46s] DEBUG: main-window.vala:185: Screen is 3360x1080 pixels
[+9.46s] DEBUG: main-window.vala:193: Monitor 0 is 1440x900 pixels at 0,0
[+9.46s] DEBUG: main-window.vala:193: Monitor 1 is 1920x1080 pixels at 1440,0
[+9.55s] DEBUG: menubar.vala:537: Adding indicator object 0x8a143b4 at position 0
[+9.55s] DEBUG: menubar.vala:537: Adding indicator object 0x8a14534 at position 1
[+9.66s] DEBUG: menubar.vala:537: Adding indicator object 0x8a14234 at position 2
[+9.66s] DEBUG: Request current apps
[+9.67s] DEBUG: Building new application entry: :1.8  with icon: nm-device-wired at position 0
[+9.67s] DEBUG: menubar.vala:537: Adding indicator object 0x8bd15a8 at position 3
[+9.73s] DEBUG: background.vala:483: Regenerating backgrounds
[+9.73s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1440x900,1920x1080
[+9.81s] DEBUG: menubar.vala:537: Adding indicator object 0x8aaa894 at position 2
[+9.99s] DEBUG: background.vala:121: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete
[+11.19s] DEBUG: session-list.vala:49: Adding session gnome-fallback-compiz (GNOME Flashback (Compiz))
[+11.19s] DEBUG: session-list.vala:49: Adding session gnome-fallback (GNOME Flashback (Metacity))
[+11.19s] DEBUG: session-list.vala:49: Adding session ubuntu (Ubuntu)
[+11.20s] DEBUG: greeter-list.vala:208: Error registering user list dbus object: An object is already exported for the interface com.canonical.UnityGreeter.List at /list
[+15.98s] DEBUG: session-list.vala:49: Adding session gnome-fallback-compiz (GNOME Flashback (Compiz))
[+15.98s] DEBUG: session-list.vala:49: Adding session gnome-fallback (GNOME Flashback (Metacity))
[+15.98s] DEBUG: session-list.vala:49: Adding session ubuntu (Ubuntu)
[+15.98s] DEBUG: greeter-list.vala:208: Error registering user list dbus object: An object is already exported for the interface com.canonical.UnityGreeter.List at /list
[+17.44s] DEBUG: session-list.vala:49: Adding session gnome-fallback-compiz (GNOME Flashback (Compiz))
[+17.44s] DEBUG: session-list.vala:49: Adding session gnome-fallback (GNOME Flashback (Metacity))
[+17.44s] DEBUG: session-list.vala:49: Adding session ubuntu (Ubuntu)
[+17.44s] DEBUG: greeter-list.vala:208: Error registering user list dbus object: An object is already exported for the interface com.canonical.UnityGreeter.List at /list
[+23.00s] DEBUG: Providing response to display manager
[+23.00s] DEBUG: Wrote 28 bytes to daemon
[+23.08s] DEBUG: Read 8 bytes from daemon
[+23.08s] DEBUG: Read 19 bytes from daemon
[+23.08s] DEBUG: Authentication complete for user sidorov with return code 0
[+23.08s] DEBUG: Starting session gnome-fallback
[+23.08s] DEBUG: Wrote 26 bytes to daemon
[+23.08s] DEBUG: Read 8 bytes from daemon
[+23.08s] DEBUG: Read 4 bytes from daemon
[+23.08s] DEBUG: unity-greeter.vala:605: Got a SIGTERM
[+23.08s] DEBUG: unity-greeter.vala:613: Cleaning up
[+23.08s] DEBUG: unity-greeter.vala:621: Upstart exited with return value 0
[+23.08s] DEBUG: unity-greeter.vala:633: AT-SPI exited with return value 0
[+23.08s] DEBUG: unity-greeter.vala:639: Exiting
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

** (unity-settings-daemon:2073): WARNING **: Name taken or bus went away - shutting down
init: indicator-bluetooth main process (2134) killed by TERM signal
init: indicator-power main process (2139) killed by TERM signal
init: indicator-datetime main process (2145) killed by TERM signal
init: indicator-session main process (2160) killed by TERM signal
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
nm-applet-Message: PID 2062 (we are 2062) sent signal 15, shutting down...

(nm-applet:2062): libappindicator-WARNING **: Unable to send signal for NewStatus: The connection is closed
init: indicator-application main process (2170) killed by TERM signal
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

(unity-settings-daemon:2073): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
uakoB ()
Ответ на: part 2 от uakoB

Похоже на проблемы с dbus-ом, но я не спец в этих штуках. Попробуй вручную позапускать dbus-launch или dbus-daemon из консоли (ctrl+alt+f1), может скажет в чем дело.

Kiborg ★★★ ()
Ответ на: комментарий от Kiborg

Попробуй вручную позапускать dbus-launch или dbus-daemon из консоли (ctrl+alt+f1), может скажет в чем дело.

если пробую стартануть (точнее, остановить и запустить) d-bus в других консолях(ну как раз ctrl-alt-f1 например) - ничего подозрительного не выводит.если пытаюсь рестартануть его в работающих иксах - умирает window decorator. это норм??) или не очень?)))

uakoB ()
Ответ на: комментарий от uakoB

Не знаю, может быть и нормально, если декоратор без него жить не может.

Kiborg ★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.