linux的vnc配置

vncserver

/root/.vnc/xstartup:

xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &

/etc/sysconfig/vncservers:

 VNCSERVERS="1:root"
 VNCSERVERARGS[1]="-geometry 1024x768"


yum安装RedHat Linux的桌面

显示系统已经安装的组件,和可以安装的组件:

#yum grouplist

如果系统安装之初采用最小化安装,没有安装xwindow,那么先安装:

#yum groupinstall "X Window System"

安装GNOME桌面环境

yum groupinstall "GNOME Desktop Environment"

安装KDE桌面环境

yum groupinstall "KDE (K Desktop Environment)"

卸载GNOME桌面环境

yum groupremove "GNOME Desktop Environment"

卸载KDE桌面环境

yum groupremove "KDE (K Desktop Environment)

你可能感兴趣的:(运维)