Class: Y2Remote::Modes::Web

Inherits:
Base
  • Object
show all
Includes:
SocketBased
Defined in:
src/lib/y2remote/modes/web.rb

Overview

Class responsible of handle the systemd socket for vnc web access

Constant Summary collapse

SOCKET =

Name of the systemd socket

"xvnc-novnc".freeze
PACKAGES =

Packages required by the systemd socket

["xorg-x11-Xvnc-novnc"].freeze

Instance Method Summary collapse

Methods included from SocketBased

#disable!, #enable!, #enabled?, #restart!, #socket, #stop!

Methods inherited from Base

#initialize, #installed?

Constructor Details

This class inherits a constructor from Y2Remote::Modes::Base

Instance Method Details

#required_packagesArray<String>

Return a list of names of the required packages of the running mode


37
38
39
# File 'src/lib/y2remote/modes/web.rb', line 37

def required_packages
  PACKAGES
end

#socket_nameString

Name of the socket


44
45
46
# File 'src/lib/y2remote/modes/web.rb', line 44

def socket_name
  SOCKET
end