2009年10月14日 星期三

Use XDM with LXDE

ref : Arch WIki Install LXDE on Archlinuxgcin man page XDM Problems kill xconsole after login

因為昨天 system update 後 gdm 跑出一堆錯誤訊息,功能也不太正常,乾脆換成用 xdm 登入,順便將啟動 X11 的方式改成 inittab method,過程紀錄如下

edit ~/.xinitrc
-------------------------------------
#!/bin/sh
#
# lefthaha's xinitrc
# ~/.xinitrc
#
#
export LC_CTYPE="zh_TW.UTF-8"

# for GCIN input method
export XMODIFIERS=@im=gcin
export GTK_IM_MODULE=gcin
export QT_IM_MODULE=gcin
gcin &

#stop system beep
xset b off

exec ck-launch-session startlxde
-----------------------------------------
exit editor
chmod +x ~/.xinitrc (!!!!! important !!!!!)

edit /etc/inittab (remember to backup)
from " id:3:initdefault: " change to " id:5:initdefault: "

edit /etc/X11/xdm/Xsetup_0
comment xconsole

after login , if recieve message "GTK+ icon theme is not properly set"
use lxapperance ,apply again

沒有留言: