poloshiao 写了:
[SeatDefaults]
user-session=name
Where name is the name of the session .desktop file from /usr/share/xsessions/*.desktop.
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=0 PID=25357
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-gnome.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.02s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.02s] DEBUG: DisplayServer x-0: Launching X Server
[+0.02s] DEBUG: Launching process 25363: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -listen tcp vt7 -novtswitch
[+0.02s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.02s] DEBUG: Starting XDMCP server on UDP/IP port 177
[+0.03s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+0.04s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+1.12s] DEBUG: Got signal 10 from process 25363
[+1.12s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+1.12s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+1.13s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.13s] DEBUG: Session pid=25387: Started with service 'lightdm-greeter', username 'lightdm'
[+1.15s] DEBUG: Session pid=25387: Authentication complete with return value 0: Success
[+1.15s] DEBUG: Seat seat0: Session authenticated, running command
[+1.15s] DEBUG: Session pid=25387: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+1.15s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.15s] DEBUG: Session pid=25387: Logging to /var/log/lightdm/x-0-greeter.log
[+1.17s] DEBUG: Activating VT 7
[+1.17s] DEBUG: Activating login1 session c35
[+1.17s] DEBUG: Seat seat0 changes active session to c35
[+1.17s] DEBUG: Session c35 is already active
[+1.40s] DEBUG: Session pid=25387: Greeter connected version=1.16.7 resettable=false
[+1.53s] DEBUG: Session pid=25387: Greeter start authentication for luhang
[+1.53s] DEBUG: Session pid=25457: Started with service 'lightdm', username 'luhang'
[+1.54s] DEBUG: Session pid=25457: Got 1 message(s) from PAM
[+1.55s] DEBUG: Session pid=25387: Prompt greeter with 1 message(s)
[+71.42s] DEBUG: Got BroadcastQuery(authentication_names=[]) from 10.20.0.228:52369
[+71.42s] DEBUG: Send Willing(authentication_name='' hostname='' status='') to 10.20.0.228:52369
[+71.43s] DEBUG: Got BroadcastQuery(authentication_names=[]) from 10.20.0.228:52369
[+71.43s] DEBUG: Send Willing(authentication_name='' hostname='' status='') to 10.20.0.228:52369
[+71.60s] DEBUG: Got BroadcastQuery(authentication_names=[]) from 10.20.0.228:52987
[+71.60s] DEBUG: Send Willing(authentication_name='' hostname='' status='') to 10.20.0.228:52987
[+72.91s] DEBUG: Got Query(authentication_names=[]) from 10.20.0.228:52370
[+72.91s] DEBUG: Send Willing(authentication_name='' hostname='' status='') to 10.20.0.228:52370
[+73.47s] DEBUG: Got Request(display_number=1 connections=[10.20.0.228 192.168.56.1 2001:cc0:2026:d00:215a:c94e:853c:53b3 2001:cc0:2026:d00:d26:78f0:9a90:ad17 2001:cc0:2026:d00:9155:6c13:5935:327c 2001:cc0:2026:d00:a04a:b3f1:38c2:9d18 2001:cc0:2026:d00:adf7:b0fc:91ea:4ec3 fe80::215a:c94e:853c:53b3 fe80::79ab:86d5:2c57:616e 2001:0:9d38:6abd:10ff:6109:601d:d4cf fe80::10ff:6109:601d:d4cf] authentication_name='' authentication_data= authorization_names=['MIT-MAGIC-COOKIE-1' 'XDM-AUTHORIZATION-1' 'XC-QUERY-SECURITY-1'] manufacturer_display_id='') from 10.20.0.228:52370
[+73.47s] DEBUG: Send Accept(session_id=65219 authentication_name='' authentication_data= authorization_name='MIT-MAGIC-COOKIE-1' authorization_data=9D91858C8019369B01F5860F52AD85C2) to 10.20.0.228:52370
[+73.47s] DEBUG: Got Manage(session_id=65219 display_number=1 display_class='Xmanager') from 10.20.0.228:52370
[+73.48s] DEBUG: Seat (null): Loading properties from config section Seat:*
[+73.48s] DEBUG: Seat (null): Starting
[+73.48s] DEBUG: Seat (null): Creating greeter session
[+73.48s] DEBUG: Seat (null): Creating display server of type x
[+73.48s] DEBUG: DisplayServer x-10.20.0.228-1: Connecting to XServer 10.20.0.228:1
[+73.48s] DEBUG: Seat (null): Display server ready, starting session authentication
[+73.48s] DEBUG: Session: Not setting XDG_VTNR
[+73.48s] DEBUG: Session pid=25702: Started with service 'lightdm-greeter', username 'lightdm'
[+73.48s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat1
[+73.50s] DEBUG: Session pid=25702: Authentication complete with return value 0: Success
[+73.50s] DEBUG: Seat (null): Session authenticated, running command
[+73.50s] DEBUG: Session pid=25702: Not setting XDG_VTNR
[+73.50s] DEBUG: Session pid=25702: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+73.50s] DEBUG: Session pid=25702: Logging to /var/log/lightdm/x-10.20.0.228-1-greeter.log
[+73.53s] DEBUG: Activating login1 session c36
[+73.54s] WARNING: Error activating login1 session: GDBus.Error:org.freedesktop.DBus.Error.NotSupported: Operation not supported
[+73.80s] DEBUG: Session pid=25702: Greeter connected version=1.16.7 resettable=false
[+73.95s] DEBUG: Session pid=25702: Greeter start authentication for luhang
[+73.95s] DEBUG: Session: Not setting XDG_VTNR
[+73.95s] DEBUG: Session pid=25767: Started with service 'lightdm', username 'luhang'
[+73.96s] DEBUG: Session pid=25767: Got 1 message(s) from PAM
[+73.96s] DEBUG: Session pid=25702: Prompt greeter with 1 message(s)
[+78.69s] DEBUG: Session pid=25702: Continue authentication
[+78.73s] DEBUG: Session pid=25767: Authentication complete with return value 0: Success
[+78.73s] DEBUG: Session pid=25702: Authenticate result for user luhang: Success
[+78.73s] DEBUG: Session pid=25702: User luhang authorized
[+78.75s] DEBUG: Session pid=25702: Greeter requests session gnome
[+78.75s] DEBUG: Seat (null): Stopping greeter; display server will be re-used for user session
[+78.75s] DEBUG: Session pid=25702: Sending SIGTERM
[+78.78s] DEBUG: Session pid=25702: Exited with return value 0
[+78.78s] DEBUG: Seat (null): Session stopped
[+78.78s] DEBUG: Seat (null): Greeter stopped, running session
[+78.78s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+78.78s] DEBUG: Session pid=25767: Not setting XDG_VTNR
[+78.78s] DEBUG: Session pid=25767: Running command /usr/sbin/lightdm-session gnome-session --session=gnome 这个完全不应该,我设置的是xfce
[+78.78s] DEBUG: Session pid=25767: Logging to .xsession-errors
[+78.81s] DEBUG: Activating login1 session c37
[+78.81s] WARNING: Error activating login1 session: GDBus.Error:org.freedesktop.DBus.Error.NotSupported: Operation not supported
[+85.10s] DEBUG: Session pid=25767: Exited with return value 0
[+85.10s] DEBUG: Seat (null): Session stopped
[+85.10s] DEBUG: Seat (null): Stopping display server, no sessions require it
[+85.10s] DEBUG: Seat (null): Display server stopped
[+85.10s] DEBUG: Seat (null): Active display server stopped, starting greeter
[+85.10s] DEBUG: Seat (null): Stopping; failed to start a greeter
[+85.10s] DEBUG: Seat (null): Stopping
[+85.10s] DEBUG: Seat (null): Stopped
[+371.42s] DEBUG: Got BroadcastQuery(authentication_names=[]) from 10.20.0.228:52369
[+371.42s] DEBUG: Send Willing(authentication_name='' hostname='' status='') to 10.20.0.228:52369
[+671.42s] DEBUG: Got BroadcastQuery(authentication_names=[]) from 10.20.0.228:52369
[+671.42s] DEBUG: Send Willing(authentication_name='' hostname='' status='') to 10.20.0.228:52369
怎么还是要求使用gnome的session,不应该是xfce的session吗?