x11

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2019 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package x11 contains the X11 sandbox surrogate and other X11 related sandboxing routines.

Index

Constants

View Source
const SockDir = "/tmp/.X11-unix"

Variables

This section is empty.

Functions

This section is empty.

Types

type SandboxedX11

type SandboxedX11 struct {
	Display    string
	Xauthority []byte

	Surrogate *Surrogate
	// contains filtered or unexported fields
}

func New

func New(display, hostname, pSock string) (*SandboxedX11, error)

func (*SandboxedX11) LaunchSurrogate

func (x *SandboxedX11) LaunchSurrogate() error

func (*SandboxedX11) Socket

func (x *SandboxedX11) Socket() string

type Surrogate

type Surrogate struct {
	// contains filtered or unexported fields
}

func (*Surrogate) Close

func (p *Surrogate) Close()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL