Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to connect using "ssh -X [email protected]" fails to export .Xauthority #83

Open
VikOlliver opened this issue Oct 10, 2016 · 0 comments

Comments

@VikOlliver
Copy link

I have installed the latest GnuRoot Debian and X on my Samsung Note 10, stock ROM.

Having followed all the usual "ForwardX11 yes..." config that I know and love, when I SSH into a remote host from an xterm on the Android I get:

root@localhost:/# ssh -X vik@robin
vik@robin's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-38-generic x86_64)

9 packages can be updated.
0 updates are security updates.

Last login: Mon Oct 10 16:13:57 2016 from 192.168.1.6
vik@robin:$ ls -l .Xauthority
-rw------- 1 vik vik 101 Oct 10 16:18 .Xauthority
vik@robin:
$

I believe this may be because my Android localhost .Xauthority permissions are incorrect. However, I am unable to use chmod to change them because chroot. How then can I use ssh -X to establish a secure X session?

Vik :v)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant