当前位置:网站首页>tigervnc的使用
tigervnc的使用
2022-07-27 06:10:00 【hawanglc】
tigervnc是个很不错的远程连接软件。以前,我工作的时候,使用自己的电脑去连接远程的服务器,通过ssh去登录命令行的方式。现在,如果服务器端,比如是centos,启动的模式是X Window的窗口模式,我们就可以使用tigervnc来连接远程的服务器,并且看到的是桌面,而不是命令行了,是不是很神奇?
软件准备
服务器端(centos)
安装tigervnc和tigervnc-server
yum install tigervnc tigervnc-server
客户端(macos)
安装tigervnc
下载路径是:https://bintray.com/tigervnc/stable/tigervnc/1.11.0
服务器端的配置
安装好软件之后,输入命令:vncserver,这里省略掉参数,默认的是1号,然后输入密码即可
在服务器端测试
在命令行输入:vncviewer localhost:1
然后输入密码,即可以看到本机的桌面了。
修改防火墙的配置,使远程主机可以连接vncserver。如下:

在mac端使用tigervnc连接服务器
安装好软件之后,在server的地方输入192.168.231.3:1,这个ip就是远程服务器的地址,后面的数字1就是远程vncserver对应的参数编号。
然后输入密码,即可连接到远程服务器的桌面了。

如果客户端将桌面设置成了全屏模式的话,可以输入F8来退出全屏模式。
边栏推荐
- Watermelon book learning Chapter 5 --- neural network
- Common problems in converting pytorch to onnx
- 优炫数据库主要线程有哪些?
- Synchronized锁
- 2021 interview question of php+go for Zhongda factory (1)
- Vscode creates golang development environment and debug unit test of golang
- 一个优先级顺序的SQL问题
- A Competitive Swarm Optimizer for Large Scale Optimization
- Codeforces Round #787 (Div. 3)(7/7)
- Misunderstanding of slice slice in golang
猜你喜欢

把Excel转换成CSV/CSV UTF-8

SQLite 常用功能整合

Jmeter:接口自动化测试-BeanShell对数据库数据和返回数据比较

C4D动画如何提交云渲染农场快速渲染?

35. Search Insert Position 搜索插入位置

docker安装MySQL8.0.28

Digital image processing -- Chapter 3 gray scale transformation and spatial filtering

ESP8266(ESP-12F) 第三方库使用 -- SparkFun_APDS9960 (手势识别)

端口转发小结

(posted) comparison of Eureka, consumer and Nacos 2
随机推荐
VIM editor deletes all file contents
使用反射实现动态修改@Excel的注解属性
C4D云渲染平台选哪家合作?
Pg_relation_size 问题
算法--斐波那契数列(Kotlin)
Golang encapsulates the packages involved in MySQL and the differences between sqlx and Gorm
Oracle database problems
Ci framework learning of PHP
指令集 x 数澜科技丨加速政企数字化转型,打造DT领域独角兽企业联盟
Jest single test style problem [identity obj proxy] NPM package
Brief introduction of simulation model
sql-labs SQL注入平台-第1关Less-1 GET - Error based - Single quotes - String(基于错误的GET单引号字符型注入)
线性表 -- 栈和队列
内部类--看这篇就懂啦~
tableau prep连接maxcompute,只是书写很简单的sql,为啥报这个错误呢?
Usage of string class
Visual horizontal topic bug1:filenotfounderror: could not find module 'mvcameracontrol dll‘ (or one of it
【golang学习笔记2.0】 golang中的数组和切片
ShowDoc漏洞学习——CNVD-2020-26585(任意文件上传)
Confluence漏洞学习——CVE-2021-26084/85,CVE-2022-26134漏洞复现