Skip to content

Commit ca61445

Browse files
authored
Update VNC_related.md
1 parent 18d4bd2 commit ca61445

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: VNC_related.md

+12
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,15 @@ Registered connection with app
3838
- May need to update rdp?
3939
- Or run vncconfig
4040
- Disable 1) Also set primary selection 2) Send primary selection to viewers
41+
42+
## vnc setup using systemd
43+
- vncserver will be deprecated. Migration to system service is necessary in near future
44+
- Ref: https://www.ibm.com/support/pages/how-configure-vnc-server-red-hat-enterprise-linux-8
45+
- `cp /lib/systemd/system/[email protected] /etc/systemd/system/vncserver@:3.service`
46+
- No edit required
47+
- `vi /etc/tigervnc/vncserver.users`
48+
- Add `:3=USERname`
49+
- sudo -u USERname; vncpasswd; # or the USERname has configured vncpasswd already
50+
- `sudo systemctl start vncserver@:3.service`
51+
- `sudo systemctl enable vncserver@:3.service` # now restarts at reboot
52+
- As shown above, a user will not be able to launch vnc service anymore. Must be registered by admin and the display port will be given

0 commit comments

Comments
 (0)