無法進入WindowManager... ...

如果您覺得您的問題不屬於 debian desktop 或是 debian server 版的範圍內,請在這裡發問。

版主: mufa

無法進入WindowManager... ...

文章suskind » 週三 4月 19, 2006 5:24 pm

某天打開Debian,發現我無法進入WindowManager了(IceWM)。

現在的情況是:
輸入「startx」之後,還會出現灰灰的x畫面,以及那個滑鼠的指標「x」(能動),但是他就是無法顯示WindowManager,不一會兒,自己就跳出來Console了。

Log:

Xorg.0.log
代碼: 選擇全部
AUDIT: Wed Apr 19 17:04:37 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:39 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:41 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:43 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:45 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:47 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:49 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:51 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:53 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:55 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
(II) SIS(0): Restoring by setting old mode 0x03
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.


Aptitude(出問題前的最後一次升級)
代碼: 選擇全部
Aptitude 0.4.1: log report
Tue, Apr 18 2006 11:35:24 +0800

IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.

Will install 48 packages, and remove 0 packages.
31.5MB of disk space will be used
===============================================================================
[INSTALL, DEPENDENCIES] xfonts-100dpi
[INSTALL, DEPENDENCIES] xfonts-75dpi
[INSTALL, DEPENDENCIES] xfonts-scalable
[INSTALL, DEPENDENCIES] xkb-data
[INSTALL, DEPENDENCIES] xlibmesa-dri
[INSTALL, DEPENDENCIES] xresprobe
[INSTALL, DEPENDENCIES] xserver-xorg
[INSTALL, DEPENDENCIES] xserver-xorg-core
[INSTALL, DEPENDENCIES] xserver-xorg-input-all
[INSTALL, DEPENDENCIES] xserver-xorg-input-evdev
[INSTALL, DEPENDENCIES] xserver-xorg-input-kbd
[INSTALL, DEPENDENCIES] xserver-xorg-input-mouse
[INSTALL, DEPENDENCIES] xserver-xorg-video-all
[INSTALL, DEPENDENCIES] xserver-xorg-video-apm
[INSTALL, DEPENDENCIES] xserver-xorg-video-ark
[INSTALL, DEPENDENCIES] xserver-xorg-video-ati
[INSTALL, DEPENDENCIES] xserver-xorg-video-chips
[INSTALL, DEPENDENCIES] xserver-xorg-video-cirrus
[INSTALL, DEPENDENCIES] xserver-xorg-video-cyrix
[INSTALL, DEPENDENCIES] xserver-xorg-video-dummy
[INSTALL, DEPENDENCIES] xserver-xorg-video-fbdev
[INSTALL, DEPENDENCIES] xserver-xorg-video-glint
[INSTALL, DEPENDENCIES] xserver-xorg-video-i128
[INSTALL, DEPENDENCIES] xserver-xorg-video-i740
[INSTALL, DEPENDENCIES] xserver-xorg-video-i810
[INSTALL, DEPENDENCIES] xserver-xorg-video-imstt
[INSTALL, DEPENDENCIES] xserver-xorg-video-mga
[INSTALL, DEPENDENCIES] xserver-xorg-video-neomagic
[INSTALL, DEPENDENCIES] xserver-xorg-video-newport
[INSTALL, DEPENDENCIES] xserver-xorg-video-nsc
[INSTALL, DEPENDENCIES] xserver-xorg-video-nv
[INSTALL, DEPENDENCIES] xserver-xorg-video-rendition
[INSTALL, DEPENDENCIES] xserver-xorg-video-s3
[INSTALL, DEPENDENCIES] xserver-xorg-video-s3virge
[INSTALL, DEPENDENCIES] xserver-xorg-video-savage
[INSTALL, DEPENDENCIES] xserver-xorg-video-siliconmotion
[INSTALL, DEPENDENCIES] xserver-xorg-video-sis
[INSTALL, DEPENDENCIES] xserver-xorg-video-sisusb
[INSTALL, DEPENDENCIES] xserver-xorg-video-tdfx
[INSTALL, DEPENDENCIES] xserver-xorg-video-tga
[INSTALL, DEPENDENCIES] xserver-xorg-video-trident
[INSTALL, DEPENDENCIES] xserver-xorg-video-tseng
[INSTALL, DEPENDENCIES] xserver-xorg-video-vesa
[INSTALL, DEPENDENCIES] xserver-xorg-video-vga
[INSTALL, DEPENDENCIES] xserver-xorg-video-via
[INSTALL, DEPENDENCIES] xserver-xorg-video-vmware
[INSTALL, DEPENDENCIES] xserver-xorg-video-voodoo
[HOLD] manpages-dev
[INSTALL] x-window-system-core
===============================================================================

Log complete.


無計可施中... ... :shock:
suskind
可愛的小學生
可愛的小學生
 
文章: 26
註冊時間: 週三 3月 01, 2006 8:19 am

文章訪客 » 週三 4月 19, 2006 7:12 pm

dpkg-reconfigure xserver-xorg
訪客
 

文章yenjinc » 週三 4月 19, 2006 7:22 pm

不妨看看最近版上有一些 xorg 升到 7.0.x 之後
常發生的問題與解決辦法,會有幫助唷! :-D

解決不了再貼上來,大家可共同討論 :-)
yenjinc
懵懂的國中生
懵懂的國中生
 
文章: 190
註冊時間: 週三 7月 14, 2004 12:29 am

文章suskind » 週三 4月 19, 2006 11:07 pm

嗯嗯,我試過了。

應該說,我一開始就是懷疑那是「升級到7.0」的問題。

不過顯然不是,因為還是有問題 :(
suskind
可愛的小學生
可愛的小學生
 
文章: 26
註冊時間: 週三 3月 01, 2006 8:19 am

文章suskind » 週四 4月 20, 2006 1:54 am

執行「startx」之後,系統訊息為:
代碼: 選擇全部
root@Debian:/etc/X11# startx
xauth:  creating new authority file /root/.serverauth.6141
xauth: (stdin):2:  unknown command "fdf9e90f05c22a7a0002f7f38e10912f"


X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.12-1-686 i686
Current Operating System: Linux Debian 2.6.16-1-686 #2 Sat Apr 15 20:45:20 UTC 2006 i686
Build Date: 16 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 20 01:28:06 2006
(==) Using config file: "/etc/X11/xorg.conf"
AUDIT: Thu Apr 20 01:28:12 2006: 6158 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server


最後那幾行似乎是關鍵,不過我看不太懂。
suskind
可愛的小學生
可愛的小學生
 
文章: 26
註冊時間: 週三 3月 01, 2006 8:19 am

文章yenjinc » 週四 4月 20, 2006 8:51 am

你是因為某一次 dist-upgrade 之後才發生這樣的問題是嗎?
還是因為有更動過系統什麼檔案或設定之類

如果是因為 dist-upgrade後,而無法進入 X
那可能表示目前你的系統,X 部分應該有問題
有可能是什麼新的 X 相關的東西沒有安裝到.. 等

如果你不使用 startx 來啟動 X
直接改用 window management(如 kdm、xdm等) 會有什麼樣訊息呢?

我的意思是指可以 /etc/init.d/xdm start or /etc/init.d/kdm start
這樣試試看!

先前我也有類似問題,最終原因是 startx scripts 爛了...
不過後來過兩天,又重新 dist-upgrade 後,X 相關已更新不少東西
因此又解決了問題,startx 已恢復正常

另外,不妨把
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server
貼到 Google 去查看看...
也許這世界上也有人跟你發生同樣的問題唷!
yenjinc
懵懂的國中生
懵懂的國中生
 
文章: 190
註冊時間: 週三 7月 14, 2004 12:29 am

文章訪客 » 週四 4月 20, 2006 9:08 am

一般的 WM 應該是用 :0 而不是 :0.0
訪客
 

文章suskind » 週四 4月 20, 2006 5:12 pm

yenjinc 寫:你是因為某一次 dist-upgrade 之後才發生這樣的問題是嗎?
還是因為有更動過系統什麼檔案或設定之類

如果是因為 dist-upgrade後,而無法進入 X
那可能表示目前你的系統,X 部分應該有問題
有可能是什麼新的 X 相關的東西沒有安裝到.. 等

如果你不使用 startx 來啟動 X
直接改用 window management(如 kdm、xdm等) 會有什麼樣訊息呢?

我的意思是指可以 /etc/init.d/xdm start or /etc/init.d/kdm start
這樣試試看!

先前我也有類似問題,最終原因是 startx scripts 爛了...
不過後來過兩天,又重新 dist-upgrade 後,X 相關已更新不少東西
因此又解決了問題,startx 已恢復正常

另外,不妨把
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server
貼到 Google 去查看看...
也許這世界上也有人跟你發生同樣的問題唷!



你好,
小弟每次登入系統,都習慣先upgrade看看有無新版軟體,
所以upgrade指令是一定有下的,
但是我沒有更動的任何x的設定。

小弟的系統啟動預設方式,即是「XDM」...

如果以「XDM」的啟動方式,
系統會不斷要求輸入使用者名稱、密碼... ...
而且並非使用者名稱或密碼錯誤(因為沒有出現IncorrectLogin的字樣。),而是不斷的以「重新啟動XDM」的方式出現。

這時如果按「Ctrl + Alt +F1」,
會「不斷的」出現以下訊息:
代碼: 選擇全部
AUDIT: Wed Apr 19 17:04:37 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:39 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:41 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:43 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:45 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:47 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:49 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:51 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:53 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
AUDIT: Wed Apr 19 17:04:55 2006: 12625 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1


輸入「startx」則同小弟上一篇文章一樣,訊息為:
代碼: 選擇全部
root@Debian:/etc/X11# startx
xauth:  creating new authority file /root/.serverauth.6141
xauth: (stdin):2:  unknown command "fdf9e90f05c22a7a0002f7f38e10912f"


X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.12-1-686 i686
Current Operating System: Linux Debian 2.6.16-1-686 #2 Sat Apr 15 20:45:20 UTC 2006 i686
Build Date: 16 March 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 20 01:28:06 2006
(==) Using config file: "/etc/X11/xorg.conf"
AUDIT: Thu Apr 20 01:28:12 2006: 6158 X: client 1 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to ":0.0" refused by server
Xlib: Protocol not supported by server


所以,
目前小弟嘗試過的作法有:

1、移除/etc/X11/xorg.conf並且重新dpkg-reconfigure xserver-xorg

2、
代碼: 選擇全部
#aptitude install xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics


3、
代碼: 選擇全部
#aptitude install xserver-xorg-input-kbd xkb-data xserver-xorg-input-all


4、參考過前面大大的這篇文章。
  http://moto.debian.org.tw/viewtopic.php?t=8801&highlight=xorg

5、
代碼: 選擇全部
#aptitude purge xserver-xorg

代碼: 選擇全部
#aptitude install xserver-xorg


什麼都做了,實在是無計可施。 :shock:
suskind
可愛的小學生
可愛的小學生
 
文章: 26
註冊時間: 週三 3月 01, 2006 8:19 am


回到 debian misc

誰在線上

正在瀏覽這個版面的使用者:Google [Bot] 和 1 位訪客