Δημοσιεύτηκε: 24 Ιούλ 2013, 20:03
από sotos21
Επειδή δεν βλέπω πουθενά διαφορά παραθέτω τις εντολές που λένε, πρώτα με # στο αρχείο 10-unity-system-compositor.conf δηλαδή με Χ
Κώδικας: Επιλογή όλων
sotiris@sotiris-HP-G62-Notebook-PC:~$ grep -i xmir /var/log/Xorg.0.log
[ 17.359] xorg-server 2:1.14.1-0ubuntu1+xmir1 (For technical support please see http://www.ubuntu.com/support)
sotiris@sotiris-HP-G62-Notebook-PC:~$ ps afx | grep unity-system-compositor
3117 pts/5 S+ 0:00 | | \_ grep --color=auto unity-system-compositor
sotiris@sotiris-HP-G62-Notebook-PC:~$ ls -l /var/log/lightdm/unity-system-compositor.log
-rw------- 1 root root 427 Ιούλ 24 19:27 /var/log/lightdm/unity-system-compositor.log
sotiris@sotiris-HP-G62-Notebook-PC:~$ sudo cat /var/log/lightdm/lightdm.log[sudo] password for sotiris:
[+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.7.4, UID=0 PID=1068
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/10-unity-system-compositor.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.01s] DEBUG: Adding default seat
[+0.01s] DEBUG: Starting seat
[+0.01s] DEBUG: Starting new display for automatic login as user sotiris
[+0.01s] DEBUG: Starting local X display
[+1.43s] DEBUG: Using VT 7
[+1.43s] DEBUG: Activating VT 7
[+1.45s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+1.45s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+1.45s] DEBUG: Launching X Server
[+1.45s] DEBUG: Launching process 1106: /usr/bin/X -core :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1.45s] DEBUG: Waiting for ready signal from X server :0
[+1.45s] DEBUG: Stopping Plymouth, no displays replace it
[+1.47s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+1.47s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+3.11s] DEBUG: Got signal 10 from process 1106
[+3.11s] DEBUG: Got signal from X server :0
[+3.11s] DEBUG: Connecting to XServer :0
[+3.12s] DEBUG: Automatically logging in user sotiris
[+3.12s] DEBUG: Started session 1122 with service 'lightdm-autologin', username 'sotiris'
[+3.62s] DEBUG: Session 1122 authentication complete with return value 0: Success
[+3.62s] DEBUG: Autologin user sotiris authorized
[+3.63s] DEBUG: Autologin using session ubuntu
[+4.02s] DEBUG: Dropping privileges to uid 1000
[+4.02s] DEBUG: Calling setresgid
[+4.02s] DEBUG: Calling setresuid
[+4.06s] DEBUG: Restoring privileges
[+4.06s] DEBUG: Calling setresuid
[+4.06s] DEBUG: Calling setresgid
[+4.07s] DEBUG: Dropping privileges to uid 1000
[+4.07s] DEBUG: Calling setresgid
[+4.07s] DEBUG: Calling setresuid
[+4.07s] DEBUG: Writing /home/sotiris/.dmrc
[+4.10s] DEBUG: Restoring privileges
[+4.10s] DEBUG: Calling setresuid
[+4.10s] DEBUG: Calling setresgid
[+4.19s] DEBUG: Starting session ubuntu as user sotiris
[+4.19s] DEBUG: Session 1122 running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+4.26s] DEBUG: New display ready, switching to it
[+4.26s] DEBUG: Activating VT 7
[+4.26s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0

Αλλάζω το αρχείο για xmir και παίρνω..
Κώδικας: Επιλογή όλων
sotiris@sotiris-HP-G62-Notebook-PC:~$ grep -i xmir /var/log/Xorg.0.log
[ 21.545] xorg-server 2:1.14.1-0ubuntu1+xmir1 (For technical support please see http://www.ubuntu.com/support)
sotiris@sotiris-HP-G62-Notebook-PC:~$ ps afx | grep unity-system-compositor
2412 pts/0 S+ 0:00 \_ grep --color=auto unity-system-compositor
sotiris@sotiris-HP-G62-Notebook-PC:~$ ls -l /var/log/lightdm/unity-system-compositor.log
-rw------- 1 root root 509 Ιούλ 24 20:04 /var/log/lightdm/unity-system-compositor.log
sotiris@sotiris-HP-G62-Notebook-PC:~$ sudo cat /var/log/lightdm/lightdm.log
[sudo] password for sotiris:
[+0.01s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.7.4, UID=0 PID=986
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/10-unity-system-compositor.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.01s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Registered seat module unity
[+0.01s] DEBUG: Adding default seat
[+1.56s] DEBUG: Compositor will replace Plymouth
[+1.56s] DEBUG: Deactivating Plymouth (attempt #1)
[+2.58s] DEBUG: Deactivating Plymouth (attempt #2)
[+3.60s] DEBUG: Using VT 7
[+3.60s] DEBUG: Logging to /var/log/lightdm/unity-system-compositor.log
[+3.60s] DEBUG: Launching process 1103: /usr/sbin/unity-system-compositor --from-dm-fd 10 --to-dm-fd 13 --vt 7
[+3.60s] DEBUG: Waiting for system compositor for 60s
[+3.60s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+3.60s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+4.66s] DEBUG: Compositor closed communication channel
[+5.97s] DEBUG: Process 1103 exited with return value 1
[+5.97s] DEBUG: Releasing VT 7
[+5.97s] DEBUG: Compositor failed to start, switching to VT mode
[+5.97s] DEBUG: Starting seat
[+5.97s] DEBUG: Starting new display for automatic login as user sotiris
[+5.97s] DEBUG: Starting X server on Unity compositor
[+5.97s] DEBUG: Using VT 7
[+5.97s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+5.97s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+5.97s] DEBUG: Launching X Server
[+5.97s] DEBUG: Launching process 1111: /usr/bin/X -core :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+5.97s] DEBUG: Waiting for ready signal from X server :0
[+7.33s] DEBUG: Got signal 10 from process 1111
[+7.33s] DEBUG: Got signal from X server :0
[+7.33s] DEBUG: Connecting to XServer :0
[+7.33s] DEBUG: Automatically logging in user sotiris
[+7.33s] DEBUG: Started session 1249 with service 'lightdm-autologin', username 'sotiris'
[+7.84s] DEBUG: Session 1249 authentication complete with return value 0: Success
[+7.84s] DEBUG: Autologin user sotiris authorized
[+7.85s] DEBUG: Autologin using session ubuntu
[+8.24s] DEBUG: Dropping privileges to uid 1000
[+8.24s] DEBUG: Calling setresgid
[+8.24s] DEBUG: Calling setresuid
[+8.28s] DEBUG: Restoring privileges
[+8.28s] DEBUG: Calling setresuid
[+8.28s] DEBUG: Calling setresgid
[+8.28s] DEBUG: Dropping privileges to uid 1000
[+8.28s] DEBUG: Calling setresgid
[+8.28s] DEBUG: Calling setresuid
[+8.28s] DEBUG: Writing /home/sotiris/.dmrc
[+8.35s] DEBUG: Restoring privileges
[+8.35s] DEBUG: Calling setresuid
[+8.35s] DEBUG: Calling setresgid
[+8.42s] DEBUG: Starting session ubuntu as user sotiris
[+8.42s] DEBUG: Session 1249 running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+8.49s] DEBUG: New display ready, switching to it
[+8.49s] DEBUG: Activating VT 7
[+8.49s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
sotiris@sotiris-HP-G62-Notebook-PC:~$


Προφανώς δεν μπορεί να ξεκινήσει ο xmir και ξεκινάει ο Χ αν κατάλαβα από το παρακάτω
Κώδικας: Επιλογή όλων
[+5.97s] DEBUG: Compositor failed to start, switching to VT mode
[+5.97s] DEBUG: Starting seat
[+5.97s] DEBUG: Starting new display for automatic login as user sotiris
[+5.97s] DEBUG: Starting X server on Unity compositor
[+5.97s] DEBUG: Using VT 7
[+5.97s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+5.97s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+5.97s] DEBUG: Launching X Server

Πράγμα που είναι σωστό προκειμένου να μην παίρνουμε μαύρη οθόνη.