Here is a howto that might help.
http://www.ibiblio.org/mdw/HOWTO/Remote-X-Apps.html
Does it work to run a application rather then running an entire session through SSH. In other words, with Xwindows running on the remote host. And running Xwindows on the local machine, just run the programs that you want to do through the tunnel.
If you can't do this, try the -X option to the ssh command. This will enable X11 forwarding for the session.
Also, the :6 in your command doesn't look right. SSH uses :10 I believe on one end and :0 on the other.
---
As an experiment, log in using SSH and check the value of the DISPLAY variable.
echo $DISPLAY
Then try:
xinit -- `$DISPLAY`
= = = = =
I tried a little experiment myself. I went to vt/2 and logged in as root. I was logged into KDE as a normal user on vt/7. I typed in 'xinit -- :1' and it failed. It gave a message about an invalid '-n' option to xvt. So instead I type in: 'xinit /usr/X11R6/bin/rxvt -- :1'
This almost worked but there was a message about rxvt not supporting UTF8 encoding.
So I tried 'xinit /usr/X11R6/bin/xterm -- :1'.
This brought up X-windows on vt/8. I then entered the window manager in xterm to start a session.
You could try:
ssh -X 10.255.240.103
xinit /usr/bin/startkde-- $(DISPLAY)
You might need to manually enter the value of DISPLAY.
When I tried
DISPLAY=':1.0'
xinit /usr/bin/startkde-- $(DISPLAY)
and
xinit /usr/bin/startkde-- `$DISPLAY`
Both attempts failed with a message about display :0 begin in use.
However
xinit /usr/bin/startkde-- :1
was successful.