博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[转]Linux Mint启用VNC
阅读量:7200 次
发布时间:2019-06-29

本文共 1036 字,大约阅读时间需要 3 分钟。

hot3.png

This tutorial was adapted from

1. Remove the default Vino server:

sudo apt-get -y remove vino

2. Install x11vnc:

sudo apt-get -y install x11vnc

3. Create the directory for the password file:

sudo mkdir /etc/x11vnc

4. Create the encrypted password file:

sudo x11vnc --storepasswd /etc/x11vnc/vncpwd

You will be asked to enter and verify the password.  Then press Y to save the password file.

5. Create the systemd service file for the x11vnc service:

sudo xed /lib/systemd/system/x11vnc.service

Copy/Paste this code into the empty file:

[Unit]

Description=Start x11vnc at startup.
After=multi-user.target

[Service]

Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -rfbport 5900 -shared

[Install]

WantedBy=multi-user.target
6: Reload the services:

sudo systemctl daemon-reload

7. Enable the x11vnc service at boot time:

sudo systemctl enable x11vnc.service

8. Start the service:

Either reboot or

sudo systemctl start x11vnc.service

转载于:https://my.oschina.net/kelvinxupt/blog/1529484

你可能感兴趣的文章
通过js给android控件WebView设padding
查看>>
make2 > &1 | tee 命令解读
查看>>
文件MD5计算
查看>>
整数对象池
查看>>
《Robot Framework自动化测试修炼宝典》道长
查看>>
Android中获取应用程序(包)的信息-----PackageManager的使用(一)
查看>>
动力节点Java培训告诉你Java线程的多功能用法
查看>>
js 点击其他地方 关闭div 转
查看>>
转载:SVN分支合并
查看>>
在eclipse总是会运行之前的错误项目
查看>>
算法导论day3
查看>>
WPF之数据触发器 改变控件背景色或闪烁
查看>>
ABP(现代ASP.NET样板开发框架)系列之21、ABP展现层——Javascript函数库
查看>>
获取url总结
查看>>
九零后女孩币圈变形记
查看>>
BZOJ3165 & 洛谷4097:[HEOI2013]Segment——题解
查看>>
ansible 的user模块
查看>>
简单Java类 全网最详细讲解 !!!
查看>>
javascript作用域和作用域链
查看>>
【IntelliJ Idea】idea下hibernate反向生成工具,根据数据表生成实体
查看>>