1.安装tigervnc-server yum install tigervnc-server 2.启动vnc服务 vncserver:1 [错误提示待解决bad display name "cloud:1" in "add" command] 3.配置iptables vi /etc/sysconfig/iptables 4.增加5901端口 -A INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT 5.重启防火墙 service iptables restart 6.连接成功。
1.检查一下是否安装 rpm -qf|grep vnc 2.将系统用户加入配置文件 #vi /etc/sysconfig/vncservers vncSERVERS="1:root" vncSERVERARGS[1]="-geometry 1024x768" 3.设置的密码 4.启动vnc服务 service vnc start 5.编辑xstartup [root@vmware .vnc]# vi /root/.vnc/xstartup # twm & gnome-session & #set starting GNOME desktop 6.service vnc restart 备注:如果从vnc view登录时,提示connection refused(10061),...
redhat 一般都自动安装了vncserver了 只要在服务列表中选中启动一下就可以. 通过编辑文件$HOME/.vnc/xstartup来启动你喜欢的窗口管理器。使用 startkde & 来启动KDE,使用 gnome-session & 来启动GNOME. 使用vncserver命令为当前用户启动vnc服务(将在当前用户主目录下生成.vnc配置文件夹) [root@tech ~]# vncserver You will require a password to access your desktops. Password: Verify: New 'tech.net:1 (root)' desktop i...
redhat 一般都自动安装了vncserver了 只要在服务列表中选中启动一下就可以. 通过编辑文件$HOME/.vnc/xstartup来启动你喜欢的窗口管理器。使用 startkde & 来启动KDE,使用 gnome-session & 来启动GNOME. 使用vncserver命令为当前用户启动vnc服务(将在当前用户主目录下生成.vnc配置文件夹) [root@tech ~]# vncserver You will require a password to access your desktops. Password: Verify: New ' tech.net:1 (root)' desktop...
我用的RH enterprise4, vnc是原来系统带的。最近要更新成real vnc。 [root@MPC9 .vnc]# rpm -qa vnc vncserver [root@MPC9 .vnc]# 查找后未见有安装包。 运行命令可以打开端口: [root@MPC9 ~]# vncserver New 'MPC9:4 (root)' desktop is MPC9:4 Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/MPC9:4.log 安装real vnc: [root@MPC9 vnc-E4_4_1_r12183-x86_linux]# ./vncinstall Copyi...
redhat 一般都自动安装了vncserver了 只要在服务列表中选中启动一下就可以. 通过编辑文件$HOME/.vnc/xstartup来启动你喜欢的窗口管理器。使用 startkde & 来启动KDE,使用 gnome-session & 来启动GNOME. 使用vncserver命令为当前用户启动vnc服务(将在当前用户主目录下生成.vnc配置文件夹) [root@tech ~]# vncserver You will require a password to access your desktops. Password: Verify: New ' tech.net:1 (root)' desktop...
Linux vnc Server 3.在Linux上启动vnc Server 执行vncserver命令: [root@linux root]# vncserver You will require a password to access your desktops. Password: —-为了不想任何人都可以任意遥控此计算机。因此当第 Verify: —1次启动vnc server时,会要求设置网络遥控的密码。 New ‘X’ desktop is linux:1 —-一定要记住这一行稍后会用到。 Creating default startup script /root/.vnc/xstartup Starting applications ...
3.在Linux上启动vnc Server 执行vncserver命令: [root@linux root]# vncserver You will require a password to access your desktops. Password: —-为了不想任何人都可以任意遥控此计算机。因此当第 Verify: —1次启动vnc server时,会要求设置网络遥控的密码。 New ‘X’ desktop is linux:1 —-一定要记住这一行稍后会用到。 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/...