Easy VNC

If you ever need to share your desktop, OpenSolaris comes pre-installed with a VNC server. You can find it under System > Preferences > Desktop Sharing:


The beauty of the OpenSolaris approach is that the Remote Desktop server includes a Java based VNC client, so you only have to provide a URL to those with whom you wish to share your desktop (that is, they do not need to first install a VNC Viewer).

On the client, you simply browse to that URL (Note, the hostname "opensolaris" is not resolved on my local network, so I'm entering the IP address of my OpenSolaris machine instead):


And after a brief moment you'll see the VNC Viewer Connection Dialog:

When you click OK, assuming you configured the server to ask for confirmation, back on OpenSolaris you'll see the following:



Once allowed, the remote desktop will appear back on the client:


And back on the server, there's a basic notification icon to give you the status on the number of machines viewing your machine:

Which has a basic menu for managing the those connections:

I've also noticed the Remote Desktop Sharing options are dynamic, so, for example, you can dynamically allow and disallow other users to control your desktop without requiring them to re-connect.

Comments:

Hi,

is there any way to have VNC start & accept connections befor a user logs in?

I have my homeserver running headless and (although reboots are seldom) would like to be able to connect through VNC right away without needing to log into gnome locally first.

Cheers,
-bastian

Posted by bastian on July 02, 2009 at 02:29 AM GMT #

Your desktop is only reachable over the local network. Others can access your computer using the address at [IP Address]

Is my ISP blocking me from using VNC?

Posted by Paul Harper on August 08, 2009 at 05:59 AM GMT #

I noticed that the Remote Desktop Preferences window has changed in the newer development versions. In the original 2009-06 OpenSolaris version it seemed to work fine, as did the actual application. But since then, it's been hit and miss with actually getting remote connections to work (on the local network). I notice that the Preferences window no longer shows what port a client should connect to. Instead, in my case, it just says ... "using the address 192.168.2.100 or sws01.local". I think it should show the entire URL that a client should connect to, something it used to do, e.g. "http://192.168.2.100:5800" .

Also, regarding the question posed by Paul Harper if his ISP is blocking him from using VNC. When the preferences window says "Your desktop is only reachable over the local network." that isn't necessarily true. What I think it is determining is if the local IP address is one which is \*directly\* reachable from the internet. Some address ranges such as 192.168.X.X aren't reachable directly from the internet, but may be reachable through a firewall or router which does NAT (Network Address Translation). Perhaps someone can say exactly what the preferences window has discovered when it says "only reachable over the local network."

Posted by Marnix A. van Ammers on December 15, 2009 at 12:41 PM GMT #

Paul Harper, this is a couple of years late but I stumbled on your question searching for something else. Here is a how-to I wrote to connect to VNC before a user is logged in. It was written for OpenSolaris 2006.9, but I've verified that it works for Solaris Express 11 svn_151a as well.

http://jimcollier.blogspot.com/2010/03/2kc83jor.html#idEnableVncServer

Posted by Jim Collier on January 18, 2011 at 09:03 AM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
29
30
   
       
Today