Giter Site home page Giter Site logo

sdyby2006 / ubuntu-remote-control-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soulteary/ubuntu-remote-control-helper

0.0 0.0 0.0 300 KB

Make Ubuntu Native Remote Control Easy to use and Reliable.

Home Page: https://soulteary.com/2023/04/11/make-ubuntu-native-remote-control-reliable-with-urch.html

License: Apache License 2.0

Shell 11.66% Go 88.34%

ubuntu-remote-control-helper's Introduction

Ubuntu Remote Control Helper

Make Ubuntu Native Remote Control Easy to use and Reliable.

Usage

UBUNTU_REMOTE_USER=soulteary UBUNTU_REMOTE_PASS=soulteary ./urch

Run the program only once to check if the remote control settings in the system are correct and set the username and password of incorrectly configured settings to the values expected by the user.

You can combine the program with your preferred scheduling tasks or other programs to accomplish periodic checking tasks.

UBUNTU_DAEMON=true UBUNTU_REMOTE_USER=soulteary UBUNTU_REMOTE_PASS=soulteary ./urch

If you set the program directly to daemon mode, it will continuously check whether the remote control settings in the system are correct and set the username and password of incorrectly configured settings to the values expected by the user.

Environment Variables

The program has only three variables: UBUNTU_REMOTE_USER, UBUNTU_REMOTE_PASS, and UBUNTU_DAEMON.

UBUNTU_REMOTE_USER

Default value: soulteary

Usage:

# set remote control username to `soulteary`
UBUNTU_REMOTE_USER=soulteary

This variable represents the username used for connecting to Ubuntu remote control functionality. The program will set and continuously check if the system configuration matches the content specified by the user.

UBUNTU_REMOTE_PASS

Default value: soulteary

Usage:

# set remote control password to `soulteary`
UBUNTU_REMOTE_PASS=soulteary

This variable represents the password used for connecting to Ubuntu remote control functionality. The program will set and continuously check if the system configuration matches the content specified by the user.

UBUNTU_DAEMON

Default value: false

Usage:

# enable the Ubuntu Remote Control Helper running as daemon
UBUNTU_DAEMON=1
# or
UBUNTU_DAEMON=on
# or
UBUNTU_DAEMON=true

By default, the program runs as a simple command line interface that checks and corrects situations where the username and password in the system are different from what is expected. If this environment variable is set to "yes", the program will run continuously in the background and check the system settings every minute to ensure that your remote connection configuration is always correct.

ubuntu-remote-control-helper's People

Contributors

soulteary 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.