https://access.redhat.com/solutions/4201371
How to configure VNC Server in Red Hat Enterprise Linux 8?
SOLUTION UNVERIFIED - 已更新 2019年六月6日11:25 -
环境
- Red Hat Enterprise Linux 8
- tigervnc-server
问题
- How to configure Virtual Network Computing (VNC) in Red Hat Enterprise Linux 8 ?
决议
Below are the steps to configure Xvnc server on RHEL8 systems:
-
Copy this file to ~/.config/systemd/user/
$ mkdir -p ~/.config/systemd/user $ cp /usr/lib/systemd/user/vncserver@.service ~/.config/systemd/user/ -
Reload user's systemd
$ systemctl --user daemon-reload -
Set vnc password for root user
$ vncpasswd -
Start the service immediately and enable it at boot
$ systemctl --user enable vncserver@:<display>.service --nowNote: Make sure you do not use display number 0 or 1. You can user number between 2 to 99.
-
Enable lingering
$ loginctl enable-linger
Note: For more details, refer "mand Xvnc" and "man loginctl".
本文档详细介绍了如何在Red Hat Enterprise Linux 8上配置虚拟网络计算(VNC)服务器。步骤包括复制必要的服务文件到用户目录下,设置VNC密码,启动并启用VNC服务,以及设置持久登录。请注意,避免使用0或1作为显示号。
1390

被折叠的 条评论
为什么被折叠?



