Class: Y2Remote::Modes::VNC

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

Constant Summary collapse

SOCKET =
"xvnc".freeze

Instance Method Summary collapse

Methods included from SocketBased

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

Methods inherited from Base

#installed?

Constructor Details

#initializeVNC


30
31
32
33
# File 'src/lib/y2remote/modes/vnc.rb', line 30

def initialize
  super()
  Yast.import "Packages"
end

Instance Method Details

#required_packagesObject


35
36
37
# File 'src/lib/y2remote/modes/vnc.rb', line 35

def required_packages
  Yast::Packages.vnc_packages
end

#socket_nameObject


39
40
41
# File 'src/lib/y2remote/modes/vnc.rb', line 39

def socket_name
  SOCKET
end