Having RealVNC work on Ubuntu
I use RealVNC. So when I installed vncviewer in Ubuntu, I expected RealVNC to pop up. But no it didn’t. Something else came up, and though it let me access my desktop, yet it wasn’t something I appreciated. So began the hunt for RealVNC for Ubuntu, and this post relating my experience with the same.
Click here to visit the download page.
After downloading the tar.gz file, I untared it. There was a file called vncinstall in it. I opened a terminal and run the script file. You can do this by typing the following in the folder where you untared the tar.gz file.
sudo ./vncinstall /usr/local/bin
This copied the files vncserver, vncviewer etc to /usr/local/bin. This enabled me to open vncviewer through Run Application (Alt+F2). But to my horror nothing happened. So I opened up a terminal and tried to run vncviewer from there. You can do that by
vncviewer &
But this gave me an error.
vncviewer: error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory
I installed libstdc++6 through the terminal using
sudo apt-get install libstdc++6
But still vncviewer spit out the same error. After going through Ubuntu Forums I found the solution. There was one more package that needed to be installed. Run this command to download the deb file, and double click, to proceed with it’s installations.
wget http://ftp.uk.debian.org/debian/pool/main/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-27_i386.deb
This command will download the file. After the deb file is downloaded, install it. All dependencies should be satisfied, and the installation should be a breeze.
Now, vncviewer should work. And it worked!
Hope this solution, helps you get RealVNC working on your Ubuntu!
