The Maverick.NET SSH API

ForwardingClient.AllowX11Forwarding Method (String, String)

Configures the forwarding client for requesting X forwarding for subsequent session channel requests.

[Visual Basic]
Overloads Public Sub AllowX11Forwarding( _
   ByVal display As String, _
   ByVal magicCookie As String _
)
[C#]
public void AllowX11Forwarding(
   string display,
   string magicCookie
);

Parameters

display
The display for all x forwarding requests e.g "localhost:0"
magicCookie
An MIT-MAGIC_COOKIE-1 value for the X server

Remarks

This method sets the actual MIT-MAGIC_COOKIE-1 to be used for the X server session. The client will actually spoof the cookie and replace fake cookie with the real cookie when a connection is made to the X server.

See Also

ForwardingClient Class | Maverick.Forwarding Namespace | ForwardingClient.AllowX11Forwarding Overload List