Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I installed tightvncserver on one Linux machine and xtightvncviewer on another Linux machine.

I can connect from client computer to server computer without problems. There are two problems:

  1. The screens are different. On the client computer I can see on desktop all the files from my $HOME folder.
  2. I can't see on server computer what is being done from client computer. Cursor movements, opening files, everything.

I'm using Ubuntu 11.04 with Xmonad. Could the problems 1 and 2 be solved and tightVNC will work as teamviewer?

share|improve this question
    
I'm not sure I understand you correctly. Have a look at this, is (1) supposed to mean "seamless windows" and (2) "remote assistance"? If so, scrolling up tells you that TightVNC is not able to do (1) but should be able to do (2). –  sr_ Apr 6 '12 at 16:38
    
point 1 means that on the server the desktop is empty because it shows files from $HOME/desktop but the client sees files from $HOME directory. This difference wouldn't be such problem, but I'd like to see what actions the other person is doing on my computer (problem 2) –  xralf Apr 6 '12 at 17:02

1 Answer 1

up vote 2 down vote accepted

tightvnc is designed to present an independent session. What you want is something like the vnc server extension for xorg which exports the running console X11 session via RFB. It is packaged for a number of Linux distributions (try the vnc4server package on Debian or Ubuntu).

The X11VNC package can also do it and is considerably more flexible, although it's also rather complex and initial setup can be bewildering; the website provides some canned recipes for common usages, though.

share|improve this answer
    
I'm using tightVNC because it's multiplatform. –  xralf Apr 11 '12 at 7:03
    
The VNC protocol is substantially compatible (in particular everyone has picked up the "tight" extensions — and X11vnc is based on the tightvnc codebase, although libvnc is based on the realvnc codebase), so clients remain cross platform. Your server is Ubuntu, you said; it's that that would run X11vnc or libvnc. –  geekosaur Apr 11 '12 at 7:08
    
OK, so it's sufficient to install vnc4server and tightVNC client from Windows platform will be able to connect to my Ubuntu machine? –  xralf Apr 11 '12 at 7:20
1  
Should be, yes. Note that you really want some kind of security (VNC protocol itself has none); PuTTY on Windows can tunnel VNC, and the documentation for your client should describe how to do it (last time I checked the Windows TightVNC client docs did). –  geekosaur Apr 11 '12 at 7:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.