ubuntu-remote-control-helper

command module
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL