How to install x11vnc on Debian based systems. This will give you the ability to login remotely vis vnc without the need to leave the user logged in continuously.
Open a terminal
Enter the following commands in order:
sudo apt-get install x11vnc
Enter your password
Type “y” to install
Next:
sudo nano /etc/gdm/Init/Default
paste the next line of text into the end of the file before the “Exit” line if it exists
x11vnc -nopw -auth /var/lib/gdm/:0.Xauth -display :0 -noxfixes -bg -sb 11 -forever
Exit nano (ctrl+x) type “y” to save.
sudo nano /etc/gdm/gdm.conf-custom
Add the following lines, the [daemon] section might already exisit, if it does just add the middle line “KillInitClient=false”
[daemon] KillInitClients=false [security]
Exit nano (ctrl+x) type “y” to save.
Then reboot:
sudo reboot now

January 24
HOW-TO tunnel X11 over ssh with puppy linuxWow, what a trip took me 4 hours to do something that should be built-in in such a great distro.
Most of this was spent googling for help.
Here is my saga and How-to:
Step one
Install or boot from live cd, puppy linux
Step two
Find and install the “sshd-3.9p1.pup” or latest version. Some of the ones out there won’t install correctly on puppy 3.0 just keep looking or google for the workaround. Hey I can’t do all the work for you. Just accept all the default questions if any.
Step Three
Go through config options in /etc/ssh/sshd_config file and uncomment, remove the #,
AllowTcpForwarding
and
X11Forwarding options (change value to yes).
and
X11DisplayOffset 10
and
X11UseLocalhost yes
Add mkdir and sshd startup command to /etc/rc.d/rc.local script to start SSHD server
automatically when Puppy system boots
mkdir /var/empty
/usr/sbin/sshd
Now we have to setup a password for either our root account or another user. I just used root, here comes the bashing. Open a console and type “passwd” this will create a password for the account that you are currently logged in as. In Puppy this is root by default. Remember this
Step four
Xauth is required, but missing from the pupp distro, if you want to use x11 over ssh if you just want to ssh then you are done.
goto packaged.debian.com and search the package descriptions for xauth. you will find
xbase-clients package, download and extract it, copy the xauth directory to
/usr/X11R7/bin/
Step five
Reboot
If you get any errors let me know I might be able to help.
Puppy should be done, now lets work on the windows side. Skip this nextstep if you are
shelling in from another *nix box.
Step six
Install Xming for windows
Use Xlaunch, installed with Xming, and select multiple windows option.
Download Putty.exe
Step seven ~ the moment of truth
Launch putty and use these options
In the ssh options choose “x11 forwarding” option
type in the local IP of your DPF and click save your profile.
Click connect
login using your username and password we setup earlier.
test the connection by launching an x app. “xclock”
Good luck, let me know how it works


