# SliTaz package receipt. PACKED_SIZE="8.0K" UNPACKED_SIZE="12.0K" PACKAGE="fbvnc-ssh" VERSION="1.0" CATEGORY="meta" GROUP="network" SHORT_DESC="VNC client in frame buffer within a SSH tunnel." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://tiny.slitaz.org/" DEPENDS="base-tiny fbvnc-config dropbear-client busybox-net" CONFIG_FILES="/etc/init.d/local.sh" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc } config_form() { cat < SSH user for the VNC server Remove virtual consoles ? keep virtual consoles 3 to 6 keep VNC console only

Confirm VNC console launch (spare some memory)

You should add the public key in \$HOME/.ssh/authorized_keys of the VNC/SSH server.

You can get it on the client (from configuration files) with:

# dropbearkey -y -f /etc/dropbear/dropbear_dss_host_key | grep ^ssh
or
# dropbearkey -y -f /etc/dropbear/dropbear_rsa_host_key | grep ^ssh
EOT } post_install() { respawn=respawn [ "$ASKFIRST" ] && respawn=askfirst sed -i 's/\(fbvnc -bpp [0-9]*\) \([^|]*\)/\1 127.0.0.1 5900/;/kill -1 1/d' $1/etc/init.d/local.sh cat >> $1/etc/init.d/local.sh <> $1/etc/init.d/local.sh <> $1/etc/init.d/local.sh <> /etc/inittab kill -1 1 EOT }