** The line highlighted red is optional – only do this if you want your VNC connection to persist (as well as any potential security issues)
# svccfg -s xvnc-inetd
search for # setprop inetd_start/exec = astring: "/usr/bin/Xvnc
copy the line, uncomment the copy, makethe changes above, write the file out.
svcadm refresh xvnc-inetd
Disable and the re-enable the GDM and VNC-inetd services for the changes to take effect.
$ su root
# svcadm disable gdm xvnc-inetd; svcadm enable gdm xvnc-inetd
If still in maintenance, reboot (I had to, don't know why).
Point your favourite VNC client at your Solaris server and test if it accepts your VNC connection – you should be presented with a Username/Password login screen.
If you performed the optional step to make your connections persist – close your favourite VNC client and then reconnect – if you remained logged in you have a persistent connections.
Greg on said:
After a fresh text install of Solaris-11 (11/11) both xvnc-inetd and gdm are not present. After installing them (# pkg install xvnc-inetd gdm) I can’t get gdm to start:
Ron on said:
You are missing some X packages. Do the following:
pkg install slim_install # installs 400+ packages
svcadm enable gdm && exit # gdm now works
pkg uninstall slim_install # uninstalls the installer package only
I have the Sun Ray Server running on a spares root zones at work. Thought it a Solaris 10 TX server. It is really on the global zone but when you change the label (each zone is a different label) you are running programs and work from that zone. It is hard to explain.