[quote="poloshiao"][/quote]
我使用sudo /usr/sbin/lightdm -d打印出如下信息:
luhang@server114:~$ sudo /usr/sbin/lightdm -d
[sudo] password for luhang:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.7, UID=0 PID=11892
[+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 from /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.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: Using Xephyr for X servers
[+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.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] 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-1: Logging to /var/log/lightdm/x-1.log
[+0.02s] DEBUG: DisplayServer x-1: Writing X server authority to /var/run/lightdm/root/:1
[+0.02s] DEBUG: DisplayServer x-1: Launching X Server
[+0.02s] DEBUG: Launching process 11897: /usr/bin/Xephyr :1 -seat seat0 -auth /var/run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
[+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.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+0.03s] DEBUG: Process 11897 exited with return value 1
[+0.03s] DEBUG: DisplayServer x-1: X server stopped
[+0.03s] DEBUG: Releasing VT 7
[+0.03s] DEBUG: DisplayServer x-1: Removing X server authority /var/run/lightdm/root/:1
[+0.03s] DEBUG: Seat seat0: Display server stopped
[+0.03s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.03s] DEBUG: Seat seat0: Stopping
[+0.03s] DEBUG: Seat seat0: Stopping session
[+0.03s] DEBUG: Seat seat0: Session stopped
[+0.03s] DEBUG: Seat seat0: Stopped
[+0.03s] DEBUG: Required seat has stopped
[+0.03s] DEBUG: Stopping display manager
[+0.03s] DEBUG: Display manager stopped
[+0.03s] DEBUG: Stopping daemon
[+0.03s] DEBUG: Seat seat0: Stopping session
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
还是有个failed这个问题。。。另外请问这里加载的Seat0是从哪个配置文件加载的,应该加载的是某一个默认的桌面的.conf 吧?
另外请问,gksu安装的命令是啥,我网上查了一下,没有查到不敢擅自敲命令进去。谢谢~!
