Linux系统安装VNC的过程

Linux系统安装VNC的过程,第1张

这篇文章主要介绍“Linux系统安装VNC的过程”,在日常枝伍 *** 作中,相信很多人在Linux系统安装VNC的过程问题上存在疑惑,我查阅了各式资料,整理出简单好用的 *** 族升作方法,希望对猛穗或大家解答”Linux系统安装VNC的过程”的疑惑有所帮助!接下来,请跟着西昆云我一起来学习吧!

启动服务一次,生成 /home/visitor/.vnc/xstartup

VNC 服务是以用户启动搜段,并配置一个新的密码,然后远端使用 VNC 协议访问。

一、在Linux上安装vncserver

# rpm -qa|grep vnc

# yum -y install tigervnc-server

二、启用vncserver

# vncserver

You will require a password to access your desktops.

Password: 这里输入密码

Verify: 这里输入密码

New 'shihuan:1 (root)' desktop is shihuan:1

Creating default startup script /root/.vnc/xstartup

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/森兄ohs12:1.log

# netstat -an|grep 5901

tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN

# service iptables stop

# chkconfig iptables off

三、重新启动vncserver的方法

# vncserver -kill :1

# vncserver

四、在VNCViewer中连接vncserver

五、重置 VNC 密世春誉码

输入一下命令

cd /root/.vnc/

rm -rf passwd

输入 vncserver

重新设置密码


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/tougao/12525383.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-26
下一篇 2023-05-26

发表评论

登录后才能评论

评论列表(0条)

保存