Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
VNC 設定 - ~fumi/ChangeLog
[go: Go Back, main page]

ftnk.jp -> ~fumi -> ChangeLog -> VNC 設定
Prev / Next / ~fumi/ChangeLog

2007-07-02 / VNC 設定 [Linux]

昨日インストールした CentOS に VNC server の設定.

1. /etc/sysconfig/vncservers の編集

VNCSERVERS="2:fumi"
VNCSERVERARGS[2]="-geometry 800x600"

2. vncpasswd

ログインするユーザで vncpasswd を実行し,パスワードを設定.

3. ~/.vnc/xstartup を編集

デフォルトで twm が起動するように設定されたファイルが作られるので,
twm をコメントアウトして,かわりに kde を起動するように変更.

#!/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
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
# twm &
startkde

Blog Widget by LinkWithin
blog comments powered by Disqus