06.03.2013 Views

opsi Version 3.3.1 - opsi Download - uib

opsi Version 3.3.1 - opsi Download - uib

opsi Version 3.3.1 - opsi Download - uib

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6. <strong>opsi</strong>-Module: depot server<br />

6.3. Access to the graphic user interface of the depot server via VNC<br />

Opsi depot server has no X-server for special hardware. The console of the depot<br />

server is plain text therefore. As X-server the (tight) VNC-server is in operation. So<br />

using vncviewer the X-server running on the <strong>opsi</strong> depot server is accessible from any<br />

computer in your network. This structure (without any hardware specific adaptions)<br />

allows for good standardization, which simplifies maintenance and increases stability.<br />

At starting the depot server a VNC-server is started for every administrator, who is<br />

registered in the file /etc/vncuser. If for any reason the VNC-server isn't running, it can<br />

be started from the command prompt as 'vnc-server'.<br />

Configuring the VNC-Servers:<br />

The file /etc/vncusers is the configuration file for the VNC-Server. For every user a<br />

„default“ VNC-Server can be set. This VNC-Server will start when the booting the <strong>opsi</strong><br />

depot server.<br />

#parameters for vncserver<br />

#<br />

#examples:<br />

#<br />

#username:displayno:resolution:start_at_boot:localhost:<br />

#test2:45:800x600:start_at_boot:localhost:<br />

#test3:46:800x600::: # mandatory entries<br />

#<br />

#start_at_boot and localhost can be omitted, but not the colons!<br />

#displayno should be different for each entry<br />

root:49:1260x960:start_at_boot::<br />

The file has a similar structure as the /etc/passwd (important is the number of colons<br />

for they are field delimiters).<br />

1. Field: user name<br />

2. Field: this is the display number, the port the VNC-server listens to (1-99 allowed)<br />

3. Field: display resolution. For a 1024x786 display will 1050x700 be a good choice.<br />

4. Field: start_at_boot, only with this text at the boot of the <strong>opsi</strong> depot server the VNC-<br />

server will be started automatically; (usually not necessary).<br />

5. Field: localhost, the VNC-server can be connected from localhost only. This can be<br />

used for ssh tunneling.<br />

93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!