Does someone have experience with X11 forwarding? I'm current fixing
another anomaly, but I wanted to get my thoughts straight on this. This is
the theoretical process as it makes sense to me:
1) ssh_channel_accept_x11(). Is this done between reads on the client, on a
separate thread,.. or
I am trying to get X11 forwarding working and it appears that the right support
is in libssh, but the docs are not clear as to how to make it work.
Below is the code and the resulting libssh log. Xclock does execute but I do
not see the UI display on the remote computer. There is a note in the
Hi,
I want to forward the X11 output from the remote application (e.g.
xterm) to my local computer.
From the libssh tutorial, I have used this code fragment to do so:
ssh_channel x11channel;
rc = ssh_channel_request_pty(channel);
if (rc != SSH_OK) return rc;
rc = ssh_channel_chang
Hi Dustin,
I'm not a libssh expert and truthfully it's been sometime since I've worked
with (March 2012 or so)it to create a server that had the goal of
providing X11 forwarding along with public key authentication.
I'm not clear if you're trying to create a libssh se
it's been sometime since I've
> worked with (March 2012 or so)it to create a server that had the goal of
> providing X11 forwarding along with public key authentication.
>
> I'm not clear if you're trying to create a libssh server or client.
>
> If it is the
pretty simple if you look at the
other callback-based examples (like proxy.c or samplesshd-cb.c)
Kr,
Aris
Le 12/09/13 12:58, Dustin Oprea a écrit :
> Does someone have experience with X11 forwarding? I'm current fixing
> another anomaly, but I wanted to get my thoughts straight on this. Th
k channel_open_request_x11_function;
> };
>
> I tested this in an application for a client but unfortunately don't
> have any example around. However it's pretty simple if you look at the
> other callback-based examples (like proxy.c or samplesshd-cb.c)
>
> Kr,
>
> Aris
ion for a client but unfortunately don't
> have any example around. However it's pretty simple if you look at the
> other callback-based examples (like proxy.c or samplesshd-cb.c)
>
> Kr,
>
> Aris
>
> Le 12/09/13 12:58, Dustin Oprea a écrit :
&g
> };
> >
> > I tested this in an application for a client but unfortunately don't
> > have any example around. However it's pretty simple if you look at
> the
> > other callback-based examples (like proxy.c or samplesshd-cb.c)
> >
>
uct ssh_callbacks_struct {
> > /* ... */
> > /** This function will be called when an incoming X11 request is
> > received.
> >*/
> > ssh_channel_open_request_x11_callback
> > channel_open_request_x11_f
tor_port,
> void
> > > *userdata);
> > >
> > > struct ssh_callbacks_struct {
> > > /* ... */
> > > /** This function will be called when an incoming X11
> request is
> > > received.
> > >
On Friday 13 September 2013 02:49:51 Dustin Oprea wrote:
> Thanks for that clarification, Aris.
>
> Should that change end up in MASTER, imminently?
It should be in master soon. Both of us have a day job and our time for libssh
is limited. I try to find some time next week while traveling to fix
tream to X11 yourself.
Regards
Tilo
Am 11.02.2017 um 18:27 schrieb Wesley Witt:
> I am trying to get X11 forwarding working and it appears that the right
> support is in libssh, but the docs are not clear as to how to make it work.
>
> Below is the code and the resulting libssh
Hello, Is there any working example of X11 Forwarding?
Tutorial - Chapter 7: Forwarding connections (tunnel)
<https://api.libssh.org/stable/libssh_tutor_forwarding.html> says:
*/How to establish X11 tunnels with libssh has already been described in
this tutorial./*
*//*
*/Se
On Monday, April 18, 2022 11:26:23 AM CEST Klaus Schlitt wrote:
> Hi,
Hi Klaus,
die you see the MR to add an X11 example implementation?
https://gitlab.com/libssh/libssh-mirror/-/merge_requests/236
Cheers,
Andreas
> I want to forward the X11 output from the remote application (e.g.
>
x11_callback,
.userdata = NULL,
};
static void do_exit(int i) {
//do_cleanup(0);
exit(i);
}
static void usage(void) {
fprintf( stderr,
"Usage : my_x11_client [login@]hostname [command]\n"
" sample client with x11 forwarding - libssh-%s\n"
://dcclost.com
From: lucky62
Sent: Wednesday, November 18, 2020 8:33:10 AM
To: libssh@libssh.org
Subject: Re: X11 Forwarding example
Hi,
I am trying to create x11 example by myself.
I have already created example skeleton with these steps:
* create the session
really I don't understand... "stdout from remote" ?
I think that X app connected to display (which is set by server when x11
forwarding is requested) will send the output through the x11 channel.
But this channel still not exists. It will be created when SSH server
will send
mote" ?
I think that X app connected to display (which is set by server when
x11 forwarding is requested) will send the output through the x11 channel.
But this channel still not exists. It will be created when SSH server
will send the x11 channel request.
In my case this request is de
nobody?...
On 19. 11. 2020 0:32, lucky62 wrote:
Program was executed with highest log level and this is my observation.
*Seems that after succesful EXEC polling-in is blocked, and incomming
request SSH_MSG_CHANNEL_OPEN (90) is waiting somewhere in buffer...*
When waiting loop is out, then p
20 matches
Mail list logo