[root@localhost ~]# vim /etc/tigervnc/vncserver.users # :2=andrew # :3=lisa :9=kiosk
1 2 3 4 5 6 7 8 9 10 11 12 13
切换成kiosk用户,设置vnc的密码 [kiosk@localhost ~]$ vncpasswd Password:【redhat】 Verify:【red】 Would you like to enter a view-only password (y/n)? 【y】 '设置为只读的密码,不要读写' Password:【123456】 Verify:【123456】
[root@Jylai ~]# vim /etc/tigervnc/vncserver-config-defaults # Default to GNOME session # Note: change this only when you know what are you doing session=gnome geometry=1920x1080