Showing posts with label vnc. Show all posts
Showing posts with label vnc. Show all posts

Sunday, March 31, 2013

Desktop sharing in Ubuntu 12.04

by default in Ubuntu there is a desktop sharing feature: "Desktop sharing" (howto use)

Attention: as soon as you login to target PC, that PC will be unlocked as VNC does not create new session and if you screen is not switched OFF, smb close that PC will see all what you are doing.
Good comparison of VNC services - from Ubuntu, according to that page tightvnc create new session.

"Desktop sharing" but it did not work out-of-the-box for me as all should be, ubuntu 12.04 x64.

Reason was in that vnc vino server is not started and not occupied 59000 port.
>> sudo apt-get install nmap
>> nmap localhost | grep vnc

Output should be like:

5800/tcp open  vnc-http
5900/tcp open  vnc

if there is not "vnc", launch it by:
/usr/lib/vino/vino-server

In my case I used TightVNC client from my Windows PC.




Friday, November 11, 2011

ubuntu PC to PC connection x2x, vnc, vino, X11vnc


------------- X2X
https://help.ubuntu.com/community/X2xHowto
Desktop: sudo aptitude install x2x openssh-server
ssh -XC romani@192.168.0.101  x2x -west -to :0.0

You can change '-east' to '-west', '-north' or '-south' to change which side of the workstation opens up to the laptop, depending on your setup.


----------------- VNC server
read http://ubuntuforums.org/showthread.php?t=122402
follow http://grumpymole.blogspot.com/2006/12/xubuntu-remote-desktop-with-vnc4server.html
and restard PCs after installaion.

On client: vncviewer 192.168.0.100:1
---------------- vino
sudo apt-get install vino
sudo vino-preferences
Read some details from: http://layer8problem.blogspot.com/2008/10/howto-remote-desktop-to-xubuntu-710.html

How to run server: sudo /usr/lib/vino/vino-server

------------------ X11vnc
On server:
sudo apt-get install x11vnc

#! /bin/bash
/usr/bin/x11vnc -display :0 -24to32 -usepw -forever -allow 192.168.0.101 -ncache 10

On client: vncviewer 192.168.0.100:0
to scroll - use right an dleft button click on scroller!!!

AutoRun http://www.karlrunge.com/x11vnc/#faq-display-manager and search for "Continuous"
http://ubuntuforums.org/showthread.php?t=1012606&goto=newpost