主机参考:VPS测评参考推荐/专注分享VPS服务器优惠信息!若您是商家可以在本站进行投稿,查看详情!此外我们还提供软文收录、PayPal代付、广告赞助等服务,查看详情! |
我们发布的部分优惠活动文章可能存在时效性,购买时建议在本站搜索商家名称可查看相关文章充分了解该商家!若非中文页面可使用Edge浏览器同步翻译!PayPal代付/收录合作 |
创建一个SystemD服务文件,以设置TigervNC服务器作为系统服务。 Create a new file, such as /etc/systemd/system/tigervnc.service and open it in a text editor: sudo nano /etc/systemd/system/tigervnc.service paste the following into the service file, then save and close: [unit] = Remote Desktop Services (VNC) = syslog.target.target.target.target.target your_username workingdirectory =/home/your_username pidfile =/home/your_username /.vnc/%h%i.pidexecstartpre = - /usr/bin/vncserver -kill: :%iexecstop =/usr/bin/vncserver -kill: %i [install] wantsby = multi -user.target
这几篇文章你可能也喜欢:
- 如何查看Debian SystemCtl中的所有服务
- 如何为Debian SystemCtl服务设定优先级
- 如何为Debian Systemctl配置计时器
- 如何使用debian systemctl导入服务文件
- Debian Systemctl可以分批运行
本文由主机参考刊发,转载请注明:如何加密与Debian Tigervnc的联系 https://zhujicankao.com/145640.html
评论前必须登录!
注册