You are not logged in.
I have installed openssh on both PC
ssh -X can connekt, works, but only commandline
when try any grafical application run, I get:
tux@slitaz:~$ ssh -X kitty@......
Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.
kitty@.....'s password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Welcome to the Open Source World!
SliTaz GNU/Linux is distributed in the hope that it will be useful,
but with ABSOLUTELY NO WARRANTY.
kitty@Kitty_:~$ leafpad
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyleafpad: Can not open display:
(Google hints me about "xhost +" but "xhost not found")
Can anybody succesfully use X-forwarding in Slitaz, and tell how to do it? Thank you for any hint
Offline
Same error here with openssh client on slitaz 4 and cooking:
ssh -Y host@i.p. address
/etc/ssh/ssh_config :
ForwardX11Trusted yes
ForwardX11 yes
Slitaz 3.0 and debian clients run X apps on the same server with no problem.
Offline
Nothing change; all errors the same ><
Can you tell me, please, step-by-step, what I need to do, after install slitaz-core 4.0?
Offline
root@slitaz:/home/tux# strings /usr/bin/ssh | grep xauth
/usr/X11R6/bin/xauth
xauthlocation
No xauth program.
%s/xauthfile
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
[c]# mkdir -p /usr/X11R6/bin[/c]
[c]# ln -s /usr/bin/xauth /usr/X11R6/bin[/c]
Works:
[c]ssh -Y host@ip address[/c]
Fails:
[c]ssh -X host@ip address[/c]
Offline
I am happy now! thank you very very much!
it works! (some note for newbies: it require openssh and most be executed on both PC)
This is one reason why I love so much Slitaz - here a very friendly community, which quickly and immediately and thoroughly explains all for newbies (as I) This is a huge advantage over other Linux distributions. ^^
Offline
Try:
$ sshx host@ip address
Or upgrade xorg-xauth
http://hg.slitaz.org/wok-stable/rev/c703ad69b608
http://hg.slitaz.org/wok/rev/6d1e49695497
Offline
Mr. Bellard, thank you very much for your wok-changeset!
Offline
or add in /etc/ssh/ssh_config
Host *
XAuthLocation /usr/bin/xauth
it also works
Offline
[ Generated in 0.017 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]