Files
netbird/client/vnc/server/server_x11.go

24 lines
499 B
Go

//go:build (linux && !android) || freebsd
package server
import "net"
func (s *Server) platformInit() {
// no-op on X11
}
// serviceAcceptLoop is not supported on Linux.
func (s *Server) serviceAcceptLoop(ln net.Listener) {
s.log.Warn("service mode not supported on Linux, falling back to direct mode")
s.acceptLoop(ln)
}
func (s *Server) platformSessionManager() virtualSessionManager {
return newSessionManager(s.log)
}
func (s *Server) platformShutdown() {
// no-op on this platform
}