MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / StartX11ForwardClient

Method StartX11ForwardClient

agentprotocol/server.go:650–661  ·  view source on GitHub ↗
(singleConnection bool, screen string, authProtocol string, authCookie string)

Source from the content-addressed store, hash-verified

648}
649
650func (c *ForwardCtx) StartX11ForwardClient(singleConnection bool, screen string, authProtocol string, authCookie string) (chan *Connection, error) {
651 setupPacket := SetupPacket{
652 ConnectionType: CONNECTION_TYPE_X11,
653 Protocol: "tcp",
654 SingleConnection: singleConnection,
655 Screen: screen,
656 AuthProtocol: authProtocol,
657 AuthCookie: authCookie,
658 }
659
660 return c.startReverseForwardingClient(setupPacket)
661}
662
663func (c *ForwardCtx) StartReverseForwardClient(bindHost string, bindPort uint32, singleConnection bool) (chan *Connection, error) {
664 setupPacket := SetupPacket{

Callers 1

setupX11Method · 0.80

Calls 1

Tested by

no test coverage detected