星空网 > 软件开发 > 操作系统

linux vncserver配置

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

我的操作系统是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即可使用了。

linux vncserver配置images/loading.gif' data-original="http://images2015.cnblogs.com/blog/983099/201607/983099-20160702134233718-1652960825.png" />

 

 linux vncserver配置

 




原标题:linux vncserver配置

关键词:linux

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流