Archive for the ‘X11’ Category

Remote X11 desktop and SSH X11 forwarding in Puppy

February 26, 2008

Haq que instalatar tres cosas:

1.- SSHD server
Se baja y se instala con PupGet. Tambien se puede conseguir en:
www.openssh.org y compilar la fuente.
Luego habilitar:
config options in /etc/ssh/sshd_config file and enable AllowTcpForwarding and X11Forwarding options (value yes).

Uncomment “X11DisplayOffset 10″ and “X11UseLocalhost yes” lines.

Add sshd startup command to /etc/rc.d/rc.local script to start SSHD server automatically when Puppy system boots
/usr/sbin/sshd

2.- UNDEB application to extract the debian package
Search this forum to find UNDEB Puppy package. Install it with Puppy’s RoxFiler tool and you’ll get undeb and unrpm applications.

3.- XAUTH application
XAuth is missing from Puppy distro so I used one from Debian package.
Use packages.debian.org and search for a Debian package with xauth keyword (latest is xbase-clients_4.3.0.dfsg.1-14sarge2_i386.deb package).

mkdir /tmp/xbase
cd /tmp/xbase
undeb /your-download-dir/xbase-clients-xxxx_i386.deb
cp /tmp/xbase/usr/X11R6/bin/xauth /usr/X11R7/bin


xauth application is required in X11 to enable secured “X11 forwarding” feature of SSH. If you don’t need (believe me, you do need) secured SSH tunnelled remote X11 desktop then you don’t need xauth. However, after you SSH login to Puppy system, you need to manually set DISPLAY option. Xauth does this automatically plus it allows you to use secured SSH tunneling.

Tomado de:

http://narnia.cs.ttu.edu/drupal/node/195

http://www.murga-linux.com/puppy/viewtopic.php?t=13357

Detener la escucha TCP del X11 servidor

February 25, 2008
Opcion de arranque:
startx -- -nolisten tcp

Puertos implicados:
6000-6063 tcp/udp x11 X Window System


Mas permanente:

/usr/pkg/xorg/bin/startx :

serverargs="-nolisten tcp"
exec X -nolisten tcp

Restart X y ya esta listo.

Mas informacion sobre startx:

http://www.xfree86.org/current/startx.1.html

http://www.xfree86.org/current/Xserver.1.html





Follow

Get every new post delivered to your Inbox.