[Bug 272618] Re: tightvncserver crashes when using tightvnc-java
Jeffrey Schwab
jeffrey.schwab1 at ge.com
Thu Oct 29 12:46:16 UTC 2009
The work-around I've found is to serve the RealVNC applet; whatever is
causing the tightvnc server to crash is apparently specific to tightvnc-
java. Unfortunately, there still seems to be some problem with multiple
RealVNC viewer connections: When a second RealVNC client connects, the
first client's viewer window immediately disappears. Fortunately,
clients of different types, e.g. tightvnc vncviewer and a RealVNC
applet-based client, can co-exist peacefully.
In case you only need to support a single web-based client (plus your
local, native client), the following works for me.
1) Launch a simple web server, to serve the VNC viewer applet; e.g., to
use lighttpd on Ubuntu:
sudo aptitude install lighttpd
2) Download and unpack the free RealVNC viewer. It's GPL, but the
download site wants your email address.
http://www.realvnc.com/products/download.html
3) Find the applet in the RealVNC download. For example:
find vnc-4_1_3-unixsrc -name vncviewer.jar
4) Copy the applet, RealVNC logo, and index file to the web server's
static content directory. The index file is HTML, but has a .vnc
extension; to make sure browsers recognize it as HTML, change the
extension. Be careful not to overwrite any existing files in the
content directory!
sudo cp vnc-4_1_3-unixsrc/common/javabin/* /var/www
cd /var/www
sudo mv index.vnc index.html
5) Start the vncserver.
vncserver
6) Test by going to http://localhost/ in your favorite web browser.
Don't forget that when you send people instructions for connecting,
they'll need to enter the full IP address in both the URL, and the X
server location. If they enter 2xx.xxx.xxx.xxx in the location bar,
they'll need to enter 2xx.xxx.xxx.xxx:1 when prompted for the X server
location.
Good luck.
--
tightvncserver crashes when using tightvnc-java
https://bugs.launchpad.net/bugs/272618
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list