RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
CentOS7下安装配置VNCServer

需要使用linux的远程桌面服务,xmanager之前用过,感觉一般,这次尝试下VNC。

创新互联从2013年创立,是专业互联网技术服务公司,拥有项目网站设计、成都网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元临县做网站,已为上家服务,为临县各地企业和个人服务,联系电话:028-86922220

我的操作系统是centos7

一服务端

安装VNCserver

#yum -y install vnc *vnc-server*

设置密码

# vncserver

You will require a password to access your desktops.

Password: 123456            #输入vnc 连接密码

Verify: 123456                 #确认vnc密码

xauth: creating new authority file /root/.Xauthority

New ‘localhost.localdomain:1 (root)’ desktop is localhost.localdomain:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log

启动服务

启动一个窗口,如1号窗口

# vncserver :1

停止服务

[root@iZ23zjkwlj8Z ~]# vncserver -kill :1
Killing Xvnc process ID 1661

安装GNOME桌面

装完后记得重启下vncserver

#yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

二客户端

我是Windows,用的客户端http://www.realvnc.com/,下载对应平台的VNC-Viewer

输入IP:窗口号,ok登录成功

网上说的修改 vi /root/.vnc/xstartup才能启动gnome桌面,我没有遇到过这种情况

我装完gnome,重启vncserver即可使用了。

 

 


文章标题:CentOS7下安装配置VNCServer
本文地址:http://www.jxjierui.cn/article/cojgjod.html