[問題]關於 KDE 桌面系統的疑問~~~

歡迎提問 debian desktop 相關問題,何謂 desktop ? 舉凡您日常生活會用到的部份,如上網 ( www 、 bbs ..) 、程式設計、繪圖...等等。 通常以 X Window 環境底下問題為主。

[問題]關於 KDE 桌面系統的疑問~~~

文章Lost-Angel » 週六 2月 05, 2005 7:13 pm

請教一下各位前輩們,小生的系統是 Debian Unstable (Sid),為什麼小生再 consol 下 startkde 的指令來啟動 KDE 系統會有問題呢,下了該指令後可以進到圖形化介面,滑鼠可以正常驅動,畫面會出現一個視窗說音效裝置有問題,按下 OK 以後該視窗消失了但是畫面一片雪白只剩滑鼠游標,然後就卡住了。小生以 startkde &> xxx 來將訊息重導到文字檔中,其內容如下:

X: warning; process set to priority -11 instead of requested priority -10
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-10 20041215174925 fabbione@fabbione.net)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26 i686 [ELF]
Build Date: 15 December 2004

This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way. Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting >.

We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.

Before filing a bug report, you may want to consult the Debian X FAQ:
XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz

Module Loader present
OS Kernel: Linux version 2.4.29 (root@Lost-Empire) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Fri Feb 4 00:11:25 CST 2005 T
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/XFree86.0.log", Time: Sat Feb 5 19:05:49 2005
(==) Using config file: "/etc/X11/XF86Config-4"
Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
startkde: Starting up...
/usr/bin/startkde: line 183: kreadconfig: command not found
/usr/bin/startkde: line 199: ksplash: command not found
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
kbuildsycoca running...
Launched ok, pid = 1481
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
warning: leaving MCOP Dispatcher and still 14 object references alive.
- Arts::SampleStorage
- Arts::Synth_MULTI_ADD
- Arts::Synth_MULTI_ADD
- Arts::Synth_PLAY
- Arts::StereoVolumeControl
- Arts::StereoEffectStack
- Arts::Synth_BUS_DOWNLINK
- Arts::SoundServerV2
- Arts::Synth_BUS_UPLINK
- Arts::AudioManagerClient
- Arts::Synth_AMAN_PLAY
- Arts::Synth_BUS_UPLINK
- Arts::AudioManagerClient
- Arts::Synth_AMAN_PLAY
warning: leaving MCOP Dispatcher and still 151 types alive.
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
klauncher: Exiting on signal 1
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
ICE default IO error handler doing an exit(), pid = 1488, errno = 104
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
startkde: Done.
xinit: connection to X server lost.



waiting for X server to shut down

請教一下前輩這到底是怎麼一回事呢??? 該要怎麼解決才好呢??? 非常的感謝各位!!!
The most beautiful thing we can experience is mysterious.
It is the source of all true art and science.

--- Albert Einstein, 1930
頭像
Lost-Angel
活潑的高中生
活潑的高中生
 
文章: 265
註冊時間: 週二 1月 25, 2005 1:29 am
來自: 臺灣民國高雄縣

re:[問題]關於 KDE 桌面系統的疑問~~~

文章訪客 » 週六 2月 05, 2005 10:15 pm

請先把 ~/.xinitrc 和 ~/.xsession 拿掉,執行底下幾個指令試試
1. X
2. xinit (可能要先安裝 xterm)
3. startx (可能要先把 KDE 換掉, 例如安裝個 icewm)
正常的話表示 X 沒問題, 再把音效跟 KDE 搞定

kernel 先用官方提供的版本...建議先用 2.4.27 或 2.6.8,
因為官方的 2.6.10 還怪怪的...2.6.9 昨天被拿掉了...

還有 X 的 priority 怪怪的...記得執行 dpkg-reconfigure xserver-common
如果 kernel 用 2.4, 設定為 -10
如果 kernel 用 2.6, 設定為 0
訪客
 

re:[問題]關於 KDE 桌面系統的疑問~~~

文章Lost-Angel » 週六 2月 05, 2005 11:04 pm

感謝前輩的指點,不好意思小生可能遺漏了一些訊息,小生的系統原本是 Woody 可以正常登入 KDE 環境中,但是先前利用 APT 把整個系統更新到 Sid 之後就出現這樣的問題,用 startx 仍然可以正常進入 Gnome 系統,只是當小生建立一個檔案 .xinitrc 放到 home directory 中並在該檔案中寫入 startkde 這一行敘述之後,就會出現這樣的問題。總之,以下是小生照前輩的指示所做的結果:

●執行 X 以後,進入到圖形畫面中,滑鼠游標為 X 形狀,並無桌面環境,並且於 consol 下產生如下訊息:
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-10 20041215174925 fabbione@fabbione.net)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26 i686 [ELF]
Build Date: 15 December 2004

This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way. Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting >.

We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.

Before filing a bug report, you may want to consult the Debian X FAQ:
XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz

Module Loader present
OS Kernel: Linux version 2.4.29 (root@Lost-Empire) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Fri Feb 4 00:11:25 CST 2005 T
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/XFree86.0.log", Time: Sat Feb 5 22:46:18 2005
(==) Using config file: "/etc/X11/XF86Config-4"
Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0


●執行 xinit 之後畫面和執行 X 類似,其產生訊息如下:
X: warning; process set to priority -11 instead of requested priority -10
XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-10 20041215174925 fabbione@fabbione.net)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.26 i686 [ELF]
Build Date: 15 December 2004

This version of XFree86 has been extensively modified by the Debian
Project, and is not supported by the XFree86 Project, Inc., in any
way. Bugs should be reported to the Debian Bug Tracking System; see
<URL: http://www.debian.org/Bugs/Reporting >.

We strongly encourage the use of the "reportbug" package and command
to ensure that bug reports contain as much useful information as
possible.

Before filing a bug report, you may want to consult the Debian X FAQ:
XHTML version: file:///usr/share/doc/xfree86-common/FAQ.xhtml
plain text version: file:///usr/share/doc/xfree86-common/FAQ.gz

Module Loader present
OS Kernel: Linux version 2.4.29 (root@Lost-Empire) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Fri Feb 4 00:11:25 CST 2005 T
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/XFree86.0.log", Time: Sat Feb 5 22:46:57 2005
(==) Using config file: "/etc/X11/XF86Config-4"
Skipping "/usr/X11R6/lib/modules/fonts/libspeedo.a:spencode.o": No symbols found
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

xinit: connection to X server lost.

●執行 dpkg-reconfigure xserver-common 之結果如下:
dpkg-reconfigure: cannot connect to X server

可否煩請前輩再度指點一下不才的小生好嗎,小生實在是毫無頭緒,非常的感謝各位!!!
The most beautiful thing we can experience is mysterious.
It is the source of all true art and science.

--- Albert Einstein, 1930
頭像
Lost-Angel
活潑的高中生
活潑的高中生
 
文章: 265
註冊時間: 週二 1月 25, 2005 1:29 am
來自: 臺灣民國高雄縣

re:[問題]關於 KDE 桌面系統的疑問~~~

文章訪客 » 週六 2月 05, 2005 11:51 pm

很久沒用 KDE 了...不想試...:P

剛看了一下, 沒有 ksplash 蠻奇怪的...(雖然不裝應該沒關係)
猜測如下: 可能是 woody -> sid 的過程中很多老舊套件還在...
相依性可能很奇怪...

建議1:
用 root 權限執行 dselect 看看是不是有些舊套件該丟掉, 或是新套件該安裝...原則上所有 Req 類別的都要裝...

建議2: 安裝 debfoster (可以直接用 apt-get 裝, 不用加裝其他有的沒的)
用 root 權限執行 debfoster -n 把 KDE 相關的東西都先移除
(看到 k 開頭還有 qt 字樣的都選 N, 問題回答完後就會把那些套件移除) (重要的系統元件 debfoster 是不會去動的, 完全不用擔心)

用 debfoster 把 KDE 清完後, 再用 apt-get 安裝 kde-core (會把重要的套件自動裝上) 之後試試 KDE 能不能用

建議3:
執行 dpkg-reconfigure xserver-common 的錯誤訊息不太可能是那個...
請用 root 權限再執行一次 (這個比較不急, priority 怪還是可以玩 X)
訪客
 

文章maxsolar » 週日 4月 03, 2005 6:59 pm

對不起我也想請教一個問題...
我是用ubuntu hoary,本來我只有用預設安裝的gnome,後來想裝個不同的xwindow來玩,所以就安裝了kde。
我是下apt-get install kde,整個安裝,可是我從gdm進入kde卻全部是英文介面。
我試著apt-cache search kde | zh-tw
可是大概套件太多,他找了非常的久...我就懶得等了,
請問是要在家安裝什麼套件,還是作那些設定可以變中文呢?
第二個問題是,安裝了kde之後,在gnome的應用程式也會多很多kde的程式,
可是那些程式的icon都顯示不出來,我upgrade後有些icon就出來了,
但是大部分的icon還是空白...請問這是為什麼呢?
謝謝!
老闆:你的電腦怎麼長得跟我的不一樣?
員工:報告老闆,這是Debian...
老闆:什麼是Debenm??
員工:是一套很棒的Linux...
老闆:哦?跟我的那台華碩比起來,誰比較好?
員工:當然是老闆你的棒阿...+.+|||
頭像
maxsolar
懵懂的國中生
懵懂的國中生
 
文章: 131
註冊時間: 週三 12月 01, 2004 10:39 pm
來自: 台灣共和國

文章d2207197 » 週一 4月 04, 2005 2:52 am

參數可以一次列列出來,最好不要用 zh-tw 之類的參數,誰知道他寫 zh-tw 還是 zhtw。
apt-cache search kde zh

如果自己都不想等,那還有臉叫人幫你找阿。
自己電腦搜尋太慢,那就到 http://www.debian.org/distrib/packages 去搜尋
頭像
d2207197
鑽研的研究生
鑽研的研究生
 
文章: 1763
註冊時間: 週二 5月 27, 2003 9:57 pm
來自: 火星


回到 debian desktop

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客

cron