본문 바로가기

3-1. Linux/::Configuration::

VNC 관련 KDE띄우기

[root@Oracle ~]# cat /etc/sysconfig/vncservers

VNCSERVERS="4:UID"
VNCSERVERARGS[4]="-geometry 800x600"



[root@host .vnc]# cat 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
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startkde &


[root@host .vnc]# vncpasswd
Password:
Verify:


[root@host .vnc]# /etc/init.d/vncserver restart