This content has been marked as final. Show 9 replies
Hmm, i guess you could do it by using Xvfb (virtual framebuffer) or possibly Xvnc ?
Also you could have a look at NX Machine :-)
This guide will cover how to setup a basic VNC connection to a Solaris 11 machine. There is also an optional step to allow for persistent VNC connections.
Configure GDM to include ‘[security] DisallowTCP=false’ and ‘[xdmcp] Enable=true’.
$ sudo gedit /etc/gdm/custom.conf
# GDM configuration storage
Configure X-Server to accept remote connections.
# svccfg -s application/x11/x11-server
svc:/application/x11/x11-server> setprop options/tcp_listen = boolean: true
Configure the VNC service (you could change the ‘-geometry 1280×720′ to whatever resolution you would like).
# svccfg -s xvnc-inetd
svc:/application/x11/xvnc-inetd> setprop inetd_start/exec = astring: "/usr/bin/Xvnc -desktop sol11:0 -geometry 1024x768 -inetd -query localhost -once securitytypes=none"
svc:/application/x11/xvnc-inetd> setprop inetd/wait = boolean: true
** 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:
# svcadm enable gdm
# svcs gdm
offline 10:24:03 svc:/application/graphical-login/gdm:default
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
If only we could get Sun Ray Services software running in a zone...
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.
It is hard to explain.But you have me curious. If I understand you correctly, it was installed in the global zone and then something was done to migrate it to a non-global zone? Do tell.
Google solaris DTW
The security labels are zones.
Ah, Trusted Solaris.
Does any of that translate to plain old Solaris 11?
I don't think so. You associate zones with labels and you get to a zone by changing your security label.
Bummer. Thanks for the info.