Here are the steps:
1. install openSSH via the puppy package manager.
2. optionally install xauth from the puppy package manager #May not be necessary. Need to experiment more.
3. install Xephyr from the puppy package manager.
4. install twm from the puppy package manager #Not necessary but it will work better for this than jwm.
5. edit /etc/hosts.allow as follows:
Code: Select all
ALL: LOCAL
ALL: 127.0.0.1
Configure your ssh client and server. My configuration files are:
/etc/ssh/sshd_config #for the server
/etc/ssh/ssh_config #for the client
clink on the above links to see my configuration. My configureation files at this point are fairly permissive because I'm just trying to get things working.
6. Start Xephyr. Here is the script that I created to do so:
Code: Select all
#!/bin/bash
set -xv
exec &> /mnt/sdc6/start_Xephyr.log
export HOME=${HOME:-/root}
export NESTDISPLAY=${NESTDISPLAY:-':10'}
export DISPLAY=${DISPLAY:-':0'}
exec /usr/bin/Xephyr \
-ac "$NESTDISPLAY" -screen 768X768 -reset -terminate \
-nolisten inet6 -keybd ephyr,,,xkbmodel=pc102,xkblayout=us,xkbrules=xorg,xkboption=keypad:pointerkeys,terminate:ctrl_alt_bksp
7. Start the ssh server:
Code: Select all
/etc/init.s/ssh start
Code: Select all
ssh -Y root@127.0.0.1
Code: Select all
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
Code: Select all
export DISPLAY=:10
Code: Select all
twm & #if you want you can use a different window manager such as jwm but twm is better here.
It seems that in an ssh shell I have to start the window manager first but if I do it in a regular console the order doesn't seem to mater. You can now start other aps:
Code: Select all
geany &
Code: Select all
rox &