[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vnc server



ChadDavis wrote:
> I'm a bit confused about what package is the vnc server that I need to run
> in order to remote desktop into my machine.

With VNC there are two parts, the client and the server.  Normally you
start the server first and then connect to it with a client.

  $ vncserver
  New 'localhost:1 (rwp)' desktop is localhost:1
  Starting applications specified in /home/rwp/.vnc/xstartup
  Log file is /home/rwp/.vnc/localhost:1.log

Then connect to it.  It said :1 above so connect to :1.  (You can also
specify the display to start.)

  $ xvncviewer :1
  Password: .......

The vncserver and xvncviewer names use the Debian Alternatives
system.  You can read more about that here:

  http://wiki.debian.org/DebianAlternatives

Those names will always point to the "best" or "manually selected"
currently installed vnc client and server.  It could be "vnc4".  It
could be "tightvnc".  It could be a different one.

Same as:
  $ vnc4server
  $ xvnc4viewer
Or:
  $ tightvncserver
  $ tightxvncviewer

At different times different projects leapfrog each other.  At one
time I liked the performance of tightvnc and preferred it.  But recent
versions are buggy for me and so currently I recommend vnc4 as best
for the most trouble free operation.  Historically there will be a
lot of documentation about both of those available on the web.

And then people found that starting a server was inconvenient.
Wouldn't it be better to export the current desktop?  Instead of
exporting a new, unique and different desktop?  It is possible.  There
have been various techniques.  Previously it was needed to load the
x11vnc X11 module when starting X and then you could use xvncviewer to
connect to the primary desktop instead of starting a new one.  GNOME 2
and some others now do this automatically.  (I don't know about GNOME
3.)  It is disabled by default for security.  If you walk through the
menus you will find something about desktop sharing where you can
enable it.

Here is the Debian wiki page with more information and pointers.

  http://wiki.debian.org/VNCviewer

> Installed by default is a "vino" and it says that it is a "VNC
> server for Gnome".  But when I search about how to set up a vnc
> server on the internet, I keep finding vnc4server package referenced
> instead.
> 
> Is vino a server?

Sorry I know nothing about vino.  But I hope sharing the above about
vnc in general was helpful.  The package page says that vino is a vnc
server for GNOME 2 and isn't available with GNOME 3.  If you are using
GNOME 2 then walk through the menus and turn it on and then connect to
it using xvncviewer.  If you are using GNOME 3 then I think you are
out of luck and would need to do something different.  What I have no
idea.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: