GithubHelp home page GithubHelp logo

system25 / gecoshc-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gecos-team/gecoshc-server

0.0 2.0 0.0 627 KB

Help Channel Server deployment and configuration for GECOS integration

Makefile 0.37% Shell 2.12% M4 0.14% Perl 3.33% CSS 2.53% JavaScript 82.81% HTML 7.70% Python 0.99%

gecoshc-server's Introduction

gecoshc-server

Help Channel Server deployment and configuration for GECOS integration.

This project is basically a noVNC + UVNC Repeater server to allow technical support to GECOS workstations. GECOS workstations users may use a VNC client to connect to the UVNC Repeater server and the technical support person may use noVNC to manage the VNC session of the user.

The UVNC Repeater server has been modified to validate the IDs against the GECOS Control Center.

Relathionship with other projects

This project includes:

This project is part of the GECOS environment.

Building

To build this project just run build_rpm.sh script in CentOS to build a RPM package: ./build_rpm.sh

Installing

To install this project use the RPM package by: yum install gecos-help-channel-server-<version>.noarch.rpm

IMPORTANT: Probably you will need to add epel repository to your system before installing gecos-help-channel-server

After installing you will need to restart the computer or start the services manually:

 systemctl start nginx
 systemctl start gecoshc_repeater
 systemctl start gecoshc_ws_client
 systemctl start gecoshc_ws_server

Probably you will also need to open the SSL port (443) in your firewall.

Configuring

After installing is important to configure the GECOS CC address in the UVNC repeater server. If the GECOS CC address is not configured the system will work fine but the IDs will not be validated. That means that your installation will be at risk since anybody can use it.

To configure the GECOS CC address edit the start script called "gecoshc_repeater" and add "-g https://gecoscc.yourdomain.com" to PROGRAM_OPTS in your /etc/init.d/gecoshc_repeater script. Or, in case that you use systemd, adding it to your /usr/lib/systemd/system/gecoshc_repeater.service file.

# Using start scripts
/etc/init.d/gecoshc_repeater stop
sed -i 's|PROGRAM_OPTS="-d -l $LOGS"|PROGRAM_OPTS="-d -l $LOGS -g https://gecoscc.yourdomain.com"|g' /etc/init.d/gecoshc_repeater 
/etc/init.d/gecoshc_repeater start

# Using systemd
 systemctl stop gecoshc_repeater
 sed -i 's|ExecStart=/usr/bin/ultravnc_repeater -p /var/run/gecoshc_repeater.pid -d -l /var/log/gecos/gecoshc_repeater.log|ExecStart=/usr/bin/ultravnc_repeater -p /var/run/gecoshc_repeater.pid -d -l /var/log/gecos/gecoshc_repeater.log -g https://gecoscc.yourdomain.com"|g' /usr/lib/systemd/system/gecoshc_repeater.service
 systemctl daemon-reload
 systemctl start gecoshc_repeater

If your SSL certifcate is not valid you may have to set PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0 (it depends on your Perl version).

The GECOS workstation user must start the Help Channel client and the technical support person must open the noVNC site in is browser in less than 5 minutes. This timeout is configured in /etc/gecos/helpchannel/nginx.conf:

# Connection timeout
proxy_read_timeout     300;
proxy_connect_timeout  300;

gecoshc-server's People

Contributors

alfem avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.