remotedesktop

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAgentOS

func GetAgentOS() string

func GetSupportedRemoteDesktop

func GetSupportedRemoteDesktop(agentOS string) string

func IsWaylandDisplayServer added in v0.9.0

func IsWaylandDisplayServer() bool

func UltraVNCEncrypt

func UltraVNCEncrypt(pin string) string

Types

type RemoteDesktopService

type RemoteDesktopService struct {
	Name             string
	StartCommand     string
	SystemctlCommand string
	StopCommand      string
	StopCommandArgs  []string
	Configure        func() error
	SavePIN          func(pin string) error
	RemovePIN        func() error
	Proxy            *echo.Echo
	ProxyCert        string
	ProxyKey         string
	ProxyPort        string
	RequiresVNCProxy bool
	StartService     func(vncPort string) error
	StopService      func() error
}

func GetSupportedRemoteDesktopService

func GetSupportedRemoteDesktopService(agentOS, sid, proxyPort string) (*RemoteDesktopService, error)

func New

func New(certPath, keyPath, sid, proxyPort string) (*RemoteDesktopService, error)

func (*RemoteDesktopService) Start

func (rd *RemoteDesktopService) Start(pin string, notifyUser bool)

func (*RemoteDesktopService) StartVNCProxy

func (rd *RemoteDesktopService) StartVNCProxy(port string)

func (*RemoteDesktopService) Stop

func (rd *RemoteDesktopService) Stop()

Jump to

Keyboard shortcuts

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