This procedure starts VNC at system boot from the dtlogin, displaying the dtlogin login screen.
Become superuser, or assume the appropriate role.
Add an instance of x11-server service called display1 for configuration, and configure it to run Xvnc.
svccfg -s application/x11/x11-server add display1 svccfg -s application/x11/x11-server:display1 addpg options application svccfg -s application/x11/x11-server:display1 addpropvalue options/server astring: "/usr/X11/bin/Xvnc" svccfg -s application/x11/x11-server:display1 addpropvalue options/server_args astring: '"SecurityTypes=None"' |
Configure dtlogin to start it.
mkdir -p /etc/dt/config cp /usr/dt/config/Xservers /etc/dt/config/Xservers echo " :1 Local local_uid@none root /usr/X11/bin/Xserver :1" >> /etc/dt/config/Xservers pkill -HUP dtlogin |
Connect from another machine and verify that you see the login screen and can log in to a desktop session.
# vncviewer domU:0 |