先寫好 /usr/NX/bin/GNOME.sh
#!/bin/sh
# 2007-09-27 alston
# from http://ycfunet.blogspot.com/2007/01/nx.html
export LANG=zh_TW.UTF-8
export XMODIFIERS='@im=gcin'
export GTK_IM_MODULE="gcin"
/usr/bin/dbus-launch --exit-with-session gnome-session
寫好之後,變更 script 檔權限,如下:
chmod +x /usr/NX/bin/GNOME.sh
再來修改設定檔 /usr/NX/etc/node.cfg,如下:
將
CommandStartGnome="/usr/bin/dbus-launch --exit-with-session gnome-session"
改為
CommandStartGnome="/usr/NX/bin/GNOME.sh"
即可。
沒有留言:
張貼留言