2009-05-09

Fedora-vnc遠端啟用輸入法gcin

十分簡單…但我找了好久…

進入home_dir/.vnc
編輯xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
export XMODIFIERS=@im=gcin
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
gcin &
#twm &

粗體是可以啟用輸入法gcin的重點

沒有留言: