# create new # session=(display manager you use) # securitytypes=(security options) # geometry=(screen resolution) session=gnome securitytypes=vncauth,tlsvnc geometry=1920x1080
编写链接端口和远程用户 /etc/tigervnc/vncserver.users
1 2 3 4 5 6 7 8 9 10 11 12
# add to the end # specify [:(display number)=(username] as comments # display number 1 listens port 5901 # display number n + 5900 = listening port # # This file assigns users to specific VNC display numbers. # The syntax is <display>=<username>. E.g.: # # :2=andrew # :3=lisa :1=fedora :2=redhat