Tiny Core Extensions > TCE Q&A Forum

X Server SSH (X11 Forwarding) Live CD

(1/2) > >>

limeblack:
I'm booting TCL 6 from a live cd/iso.
Following these guides: http://goo.gl/p1OaP6,http://goo.gl/n5jd2B, http://goo.gl/FYtD67, http://goo.gl/LsjHu3, http://goo.gl/wxd1Bp
I've gathered the following.  Run

tce-load –wi openssh.tcz
tce-load -wi Xorg-7.7-bin.tcz

inside .Xsession replace
-nolisten tcp
with
-ac

edit /usr/local/etc/ssh/sshd_config to include

X11Forwarding Yes
X11UseForwarding Yes

change  /etc/sysconfig/Xserver to Xorg

but I'm still unable to run

ssh -X user@ip
apps
Can't open display:

curaga:
The X changes were unnecessary - the host doesn't even need to be running X, and the tcp listening is related to non-ssh X networking.

If you restarted your SSH server so it could use the new config, check its logs.

limeblack:
How do I restart the sever?  I've created a question with a bounty here
http://stackoverflow.com/q/32773774

gerald_clark:
t is not clear what machines you are ssh-ing from and to.
The machine you are ssh-ing to is the one that needs changes to the sshd_config file and the sshd restart.
How you restart the server depends on what version of Linux it is running.

The machine you are ssh-ing from is the one that needs X running.

limeblack:
I'm sshing from a remote machine and yes you are technically right X Server is referring to the remote machine, but I believe it is technically  true that both need some form of X running.

I know I'm running the right commands because the only thing different is the ip of debian vs the Tiny Core Linux ip address.
I'm doing something different with TinyCoreLinux.

Navigation

[0] Message Index

[#] Next page

Go to full version