Getting vnc4server on ubuntu 8.10 working

1) From inside a gdm session:

System > Administration > Login Window
Remote Tab: Change “Style” from “Remote Login Disabled” to “Same as Local”

2) Install vnc4server and xinetd
apt-get install vnc4server xinetd

3) Set VNC passwd
sudo vncpasswd /root/.vncpasswd

4) Copy the following into /etc/xinetd.d/Xvnc (new file)
service Xvnc
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
wait = yes
user = root
server = /usr/bin/Xvnc
server_args = -inetd :2 -query localhost -geometry 1680x1050 -depth 16 -once -fp /usr/share/fonts/X11/misc -DisconnectClients=0 -NeverShared passwordFile=/root/.vncpasswd -extension XFIXES
port = 5902
}

5) Restart xinetd
sudo /etc/init.d/xinetd restart

6) To fix gnome-settings-daemon crash issue, we need to install xvnc >= 4.1.2, which as of this post is not in ubuntu repos. So, using rpmfind.net, get the latest vnc-libs, and vnc-server rpms (4.1.3 as of this post), and convert them to ubuntu friendly .deb packages with alien
wget ftp://rpmfind.net/linux/fedora/updates/9/x86_64.newkey/vnc-libs-4.1.3-1.fc9.x86_64.rpm
wget ftp://rpmfind.net/linux/fedora/updates/9/x86_64.newkey/vnc-server-4.1.3-1.fc9.x86_64.rpm
sudo apt-get install alien
sudo alien vnc-libs-4.1.3-1.fc9.x86_64.rpm
sudo alien vnc-server-4.1.3-1.fc9.x86_64.rpm
sudo dpkg -i vnc-libs_4.1.3-2_amd64.deb
sudo dpkg -i vnc-server_4.1.3-2_amd64.deb

These packages require libcrypto++7, and with a specific filename to boot, so:
sudo apt-get install libcrypto++7 libcrypto++-utils
sudo ln -snf /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.7

Note that this step creates all sorts of dependency issues since the 2 fedora packages overwrite the ubuntu ones without uninstalling vnc4server, oops. I’ll update this post one day to make this a bit cleaner to install. Just keep in mind when ubuntu finally updates its xvnc to do a bit of cleanup.

7) Finalle, restart xinetd again, and it should be working
sudo /etc/init.d/xinetd restart

References:
http://ubuntuforums.org/showthread.php?t=122402
http://www.motionstandingstill.com/setting-up-a-resumable-remote-login-to-ubuntu-with-vnc/2008-10-13/

Tags: , , , , ,

26 Responses to “Getting vnc4server on ubuntu 8.10 working”

  1. Avgust says:

    comment…

    Приятно читать блог…

  2. Yuri says:

    comment…

    Спасибо за информацию !…

  3. Narkoman says:

    Поздравляю…

    С наступающим

  4. Dmitry says:

    ……

    Подписался на RSS

  5. Elena says:

    ……

    .С Наступающей Пасхой

  6. Diana says:

    ……

    Бизнесмен из Вас отличный…

  7. Сергей says:

    Мда.

    С одной стороны сообщение интересное, но с другой очень мало фактических обоснований..< a href=”htt…

  8. Monah says:

    http://rel” rel=”nofollow”>хм…

    Что то со ссылками…

  9. Сергей says:

    http://rel” rel=”nofollow”> Спасибо,…

    Хотя новость уже читал…

  10. Light says:

    http://rel” rel=”nofollow”>Даже не знаю…

    Ссылки как то странно отображаются…

  11. Soviet says:

    http://rel” rel=”nofollow”>Хм…..…

    Ссылки как то непонятно отображаются…

  12. Webmaster says:

    Hello! Please e-mail me your contacts. I have a question webmaster@bravto.ru” rel=”nofollow”>……

    Thank you!!!…

  13. Arkadii says:

    uuuqiym@iuugoio.ru” rel=”nofollow”>1…

    no more…

  14. CAMERON says:

    Medicamentspot.com International Legal RX Medications. Special Internet Prices (up to 40% off average US price). NO PRIOR PRESCRIPTION REQUIRED!…

    Combivir@buy.online” rel=”nofollow”>.…

  15. RON says:

    Pillspot.org. Canadian Health&Care.Special Internet Prices.No prescription online pharmacy.PillSpot.org. Herbal-supplements@buy.online” rel=”nofollow”>.…

    Categories: Anxiety/Sleep Aid.Weight Loss.Mental HealthAntiviral.Womens Health.Antibiotics.Skin Care.Blood Pressure/Heart.Stop SmokingEye Care.Pain Relief.Antidepressants.Mens Health.Stomach.Vitamins/Herbal Supplements.Antidiabetic.Anti-allergic/A…

  16. JEFFREY says:


    Pillspot.org. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. No prescription pills. Order drugs online

    Buy:Advair.Benicar.Prozac.Wellbutrin SR.Seroquel.Female Cialis.Amoxicillin.Cozaar.Female Pink Viagra.SleepWell.Buspar.Lipothin.Aricept.Acomplia.Zocor.Lasix.Zetia.Ventolin.Nymphomax.Lipitor….

  17. LANCE says:


    PillSpot.org. Canadian Health&Care.Best quality drugs.No prescription online pharmacy.Special Internet Prices. Low price pills. Order drugs online

    Buy:Acomplia.Seroquel.Buspar.Prozac.Female Cialis.Advair.Female Pink Viagra.Amoxicillin.Cozaar.SleepWell.Zocor.Benicar.Zetia.Ventolin.Lasix.Nymphomax.Lipothin.Wellbutrin SR.Lipitor.Aricept….

Leave a Reply