is it possible to open a ssh connection passing through Paramiko, as if we had used the command "ssh -X ...", for X11 management by the Server X ?

Thank you for your help,

Regards

link|improve this question
Not sure why this was migrated here. If we tag this with python, would it be possible to move it back to SO? – fideli Dec 2 '10 at 5:40
The kind you ask may confuse some of the admin. Paramiko is not that flying word I think. And the rest of that question is ssh related superuser stuff X) – zzeroo Dec 2 '10 at 6:34
The thing is that Paramiko is a Python module and to open an SSH connection with it, you need to write Python code. It's not really a question about SSH. – fideli Dec 2 '10 at 6:52
feedback

migrated from stackoverflow.com Dec 2 '10 at 5:12

This question came from our site for professional and enthusiast programmers.

2 Answers

From the paramiko.Channel documentation:

request_x11(self, screen_number=0, auth_protocol=None, auth_cookie=None, single_connection=False, handler=None)

Request an x11 session on this channel. If the server allows it, further x11 requests can be made from the server to the client, when an x11 application is run in a shell session.

link|improve this answer
feedback

I have tried this function but nothing appened. My window freezes and the x11 window that should appear do not appear anymore. The only new thing I have is inside the debug log. I now have the fact that a first "normal channel" is opened and that a second x11 channel is opened.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown