[winswitch] Q: how to attach to remote Xpra session through SSH with password auth.?
Antoine Martin
antoine at nagafix.co.uk
Tue Oct 30 06:37:33 GMT 2012
(snip)
> Worth noticing that man page do not suggest that "ssh:[USER@]HOST:DISPLAY" can
> be used as well and as my miserable experience proved it may not be very
> obvious.
Thanks, I've updated the man page:
https://www.xpra.org/trac/changeset/1995
(snip)
> I was trying to connect from someone's keyboard to my session on server where
> user also had an account.
>
> bash: .xpra/run-xpra: No such file or directory
> cannot write using ['ssh', '-T', 'HOST']:
> the SSH process has terminated with exit code=127
>
> I got the above error message which is just indicate that user didn't have a
> Xpra session on server (I just typed "xpra attach ssh:HOST:DISPLAY"
> automatically and therefore was mistakenly trying to connect to user's
> session, not mine. Without password prompt (user also have a public key
> authentication to the server) I misunderstood the issue as problem with
> password authentication. It was totally stupid but I didn't realised it back
> then in the late afternoon when I was tired and had no time.
>
> I hope the lesson from this experience may help to improve the error message
> in case when remote session don't exist.
>
> At the moment one can tell that remote Xpra session do not exist only from
> prior experience (which I'm lacking as well because I usually connect to
> session that is running). As you can see the attempt to connect to non-
> existent session gives two errors:
>
> bash: .xpra/run-xpra: No such file or directory
>
> cannot write using ['ssh', '-T', 'HOST']:
> the SSH process has terminated with exit code=127
>
> neither of which is clear about the real issue (cause).
I will try to do something about that.
Cheers
Antoine
>
> Cheers,
> Dmitry.
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
More information about the shifter-users
mailing list