整个流程如下~ 1.首先,检查下本机是否安装了vnc: 提示没有安装,那么开始装吧: 2.先关闭防火墙 查看防火墙状态: 关闭防火墙: 注:要切到root下 [carsonzhu@localhost 桌面]$ yum install vnc vnc-server Loaded plugins: fastestmirror, refresh-packagekit, security You need to be root to perform this command. [carsonzhu@lo
安装vncserver后,默认的配置下只有一个很"朴素"的图形界面(没有抓图,就一个黑白窗口),要支持Ubuntu的桌面,并且支持和windows之前复制粘贴文字,需要修改xstartup配置文件如下: root@myserver:~/.vnc$ cat xstartup#!/bin/sh # Uncomment the following two lines for normal desktop:# unset SESSION_MANAGER# exec /etc/X11/xinit
1.安装vnc和vncserver #yum install tigervnc tigervnc-server 2.启动VNC服务# vncserverYou will require a password to access your desktops.Password:Verify:会提示输入密码,这个密码是远程登录时所需要输入的密码. 我尝试无密码登录,好像还不行,必须整个密码.这里要关闭防火墙,/etc/init.d/iptables stop 3.编辑VNC配置文件vi /etc/sy
1.安装Gnome桌面 这里是使用的脚本安装.代码如下: 加附件 #!/bin/sh #This script is FREE and written by www.vpsyou.com # install yum-fastestmirror yum -y install yum-fastestmirror # Create new soft download dir mkdir -p /backup/www.vpsyou.com; cd /backup/www.vpsyo
1. 检查vnc客户端和服务器是否已经安装: [gavin@centos ~]$ rpm -q vnc vnc-server package vnc is not installed vnc-server-4.0-8.1 cent os 5已包含vnc的安装包 2. 将用户名称加入到配置文件: (注:这里的“用户名”是指linux系统用户的名称) [gavin@centos ~]# vi /etc/sysconfig/vncservers # # Uncomment the line below