Share your OpenSolaris 2008.11 screen to Mac Os X

Tech tipsComputer Tricks

I found some info on how to share your OpenSolaris Screen with vnc, and those manuals just didn’t do it for Mac Os X unless you use a vnc viewer. But I wanted to use the build in screen sharing build in to Mac Os X which support vnc but it didn’t seem to work.. The resolution was Mac Os X wants authentication and thus the fix was easy, here you go:

svccfg -s x11-server
svc:/application/x11/x11-server> setprop options/server = “/usr/X11/bin/Xvnc”
svc:/application/x11/x11-server> setprop options/server_args = astring: (“-SecurityTypes” “Vncauth” “-RfbAuth” “/etc/X11/.vncpasswd”)
svc:/application/x11/x11-server> end

vncpasswd /etc/X11/.vncpasswd
chown root:root /etc/X11/.vncpasswd
chmod 400 /etc/X11/.vncpasswd

svcadm restart gdm

I found out gdm will go into maintenance mode after a while, so just do this when this happens

svcadm clear gdm

Now you want bonjour to pick this service up so add this to /etc/avahi/services/rfb.service

<?xml version=”1.0″ standalone=’no’?><!–*-nxml-*–>
<!DOCTYPE service-group SYSTEM “avahi-service.dtd”>
<service-group>
<name replace-wildcards=”yes”>%h</name>
<service>
<type>_rfb._tcp</type>
<port>5900</port>
</service>
</service-group>

and then restart the avahi daemon

svcadm restart avahi-bridge-dsd

and then you should have something like this

VN:F [1.9.3_1094]
Rating: 9.5/10 (2 votes cast)
Share your OpenSolaris 2008.11 screen to Mac Os X, 9.5 out of 10 based on 2 ratings

6 Responses to "Share your OpenSolaris 2008.11 screen to Mac Os X"

Leave a Comment