Daily Archives: November 11, 2014

Build x11vnc (VNC Server) for Tiny Core Linux 5.3

Introduction:

With this VNC Server one can control real x-display desktop remotely.

Prerequisites:

1. Xorg-7.7-dev.tcz
2. compiletc.tcz
3. squashfs-tools-4.x.tcz
4. openssl-1.0.0-dev.tcz

Build:

1. Download x11vnc source:

~$ wget http://downloads.sourceforge.net/project/libvncserver/x11vnc/0.9.13/x11vnc-0.9.13.tar.gz

2. Extract tarball:

~$ tar xzvf x11vnc-0.9.13.tar.gz

3. Configure:

~$ cd x11vnc-0.9.13
~/x11vnc-0.9.13$ ./configure

4. Make:

~/x11vnc-0.9.13$ make

5. Install:

~/x11vnc-0.9.13$ make install

Create Tiny Core Linux Extension:

1. Create a new directory:

~/x11vnc-0.9.13$ cd ~
~$ mkdir x11vnc

2. Prepare sub directories:

~$ mkdir -p x11vnc/usr/local/bin
~$ mkdir -p x11vnc/usr/local/man/man1
~$ mkdir -p x11vnc/usr/local/share/applications

3. Copy files and directories into newly created directories:

~$ cp /usr/local/bin/x11vnc x11vnc/usr/local/bin/.
~$ cp /usr/local/man/man1/x11vnc.1 x11vnc/usr/local/man/man1/.
~$ cp /usr/local/share/applications/x11vnc.desktop x11vnc/local/share/applications/.
~$ cp -R /usr/local/share/x11vnc x11vnc/local/share/.

4. Create extension module:

~$ mksquashfs x11vnc x11vnc.tcz

Install:

1. Copy x11vnc.tcz to /mnt/sda1/tce/optional/.
2. Copy startvnc to /home/tc/.X.d/.
3. Reboot.

Enjoy!