Giter Club home page Giter Club logo

arch-hexchat's Introduction

Application

HexChat

Description

HexChat is an IRC client based on XChat, but unlike XChat it’s completely free for both Windows and Unix-like systems. Since XChat is open source, it’s perfectly legal. For more info. HexChat was originally called XChat-WDK which in turn was a successor of freakschat.

Build notes

Latest stable HexChat release from Arch Linux.

Usage

docker run -d \
    -p 5900:5900 \
    -p 6080:6080 \
    --name=<container name> \
    --privileged=true \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e WEBPAGE_TITLE=<name shown in browser tab> \
    -e VNC_PASSWORD=<password for web ui> \
    -e ENABLE_STARTUP_SCRIPTS=<yes|no> \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-hexchat

Please replace all user variables in the above command defined by <> with the correct values.

Example

docker run -d \
    -p 5900:5900 \
    -p 6080:6080 \
    --name=hexchat \
    --privileged=true \
    -v /apps/docker/hexchat:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e WEBPAGE_TITLE=Tower \
    -e VNC_PASSWORD=mypassword \
    -e ENABLE_STARTUP_SCRIPTS=yes \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-hexchat

If you do specify a password for the web ui via the env var 'VNC_PASSWORD' then it MUST be 6 characters or longer, otherwise it will be ignored.

Access via web interface (noVNC)

http://<host ip>:<host port>/vnc.html?resize=remote&host=<host ip>&port=<host port>&&autoconnect=1

e.g.:-

http://192.168.1.10:6080/vnc.html?resize=remote&host=192.168.1.10&port=6080&&autoconnect=1

Access via VNC client

<host ip>::<host port>

e.g.:-

192.168.1.10::5900

Notes

ENABLE_STARTUP_SCRIPTS when set to yes will allow a user to install additional packages from the official Arch Repository or the Arch User Repository (AUR) via scripts located in the folder /config/home/scripts/. A sample script is located at /config/home/scripts/example-startup-script.sh with comments to guide the user on script creation.

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum

arch-hexchat's People

Contributors

binhex avatar

Stargazers

 avatar

Watchers

 avatar  avatar

arch-hexchat's Issues

VNC no longer connects?

Hi,

Been using this container for over a year and no issues. Now I've started getting an error:
'start' stderr output:
bookirc | tint2: could not open display!

and VNC will not connect. I made no changes to the container.

Any ideas?

Container does not work after latest update

After the release pushed yesterday (2.16.0-3-01), I can no longer access the web UI. I just get an empty response.

Docker logs

hexchat
binhex/arch-hexchat
RUNNING





Created by...

___.   .__       .__

\_ |__ |__| ____ |  |__   ____ ___  ___

 | __ \|  |/    \|  |  \_/ __ \\  \/  /

 | \_\ \  |   |  \   Y  \  ___/ >    <

 |___  /__|___|  /___|  /\___  >__/\_ \

     \/        \/     \/     \/      \/

   https://hub.docker.com/u/binhex/


2021-12-12 23:04:08.049945 [info] System information Linux Stormlight 5.13.0-rc1-next-20210513-microsoft-cbl #1 SMP Thu May 13 18:43:09 MST 2021 x86_64 GNU/Linux

2021-12-12 23:04:08.079260 [info] OS_ARCH defined as 'x86-64'

2021-12-12 23:04:08.105829 [info] PUID defined as '1000'

2021-12-12 23:04:23.673637 [info] PGID defined as '1001'

2021-12-12 23:04:23.709076 [info] UMASK defined as '022'

2021-12-12 23:04:23.734014 [info] Permissions already set for '/config'

2021-12-12 23:04:23.768771 [info] Deleting files in /tmp (non recursive)...

2021-12-12 23:04:23.798137 [info] WEBPAGE_TITLE defined as 'HexChat'

2021-12-12 23:04:26.572902 [info] Starting Supervisor...

2021-12-12 23:04:26,741 INFO Included extra file "/etc/supervisor/conf.d/novnc.conf" during parsing

2021-12-12 23:04:26,742 INFO Set uid to user 0 succeeded

2021-12-12 23:04:26,743 INFO supervisord started with pid 7

2021-12-12 23:04:27,745 INFO spawned: 'start' with pid 80

2021-12-12 23:04:27,745 INFO reaped unknown pid 8 (exit status 0)

2021-12-12 23:04:27,759 DEBG 'start' stderr output:

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.


2021-12-12 23:04:27,759 INFO success: start entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)

2021-12-12 23:04:27,759 DEBG 'start' stderr output:


Xvnc TigerVNC 1.12.0 - built Nov 13 2021 18:03:45

Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)

See https://www.tigervnc.org for information on TigerVNC.

Underlying X server release 12009000, The X.Org Foundation



Sun Dec 12 23:04:27 2021

 vncext:      VNC extension running!


2021-12-12 23:04:27,759 DEBG 'start' stderr output:

 vncext:      Listening for VNC connections on all interface(s), port 5900

 vncext:      created VNC server for screen 0


2021-12-12 23:04:27,812 DEBG 'start' stderr output:

Traceback (most recent call last):

  File "/usr/sbin/websockify", line 33, in <module>


2021-12-12 23:04:27,813 DEBG 'start' stderr output:

    sys.exit(load_entry_point('websockify==0.9.0', 'console_scripts', 'websockify')())

  File "/usr/sbin/websockify", line 22, in importlib_load_entry_point

    for entry_point in distribution(dist_name).entry_points

  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 919, in distribution

    return Distribution.from_name(distribution_name)

  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 518, in from_name

    raise PackageNotFoundError(name)

importlib.metadata.PackageNotFoundError: No package metadata was found for websockify


2021-12-12 23:04:31,758 DEBG 'start' stdout output:

[info] tint2 not running


2021-12-12 23:04:31,775 DEBG 'start' stderr output:

tint2: Using glib slice allocator (default). Run tint2 with environment variable G_SLICE=always-malloc in case of strange behavior or crashes


2021-12-12 23:04:31,782 DEBG 'start' stderr output:

tint2: xRandr: Found crtc's: 1


2021-12-12 23:04:31,783 DEBG 'start' stderr output:

tint2: xRandr: Linking output VNC-0 with crtc 0, resolution 1024x768, DPI 96


2021-12-12 23:04:31,783 DEBG 'start' stderr output:

tint2: No XSETTINGS manager, tint2 uses config option 'launcher_icon_theme'.

tint2: Loading config file: /home/nobody/.config/tint2/theme/tint2rc


2021-12-12 23:04:31,784 DEBG 'start' stderr output:

tint2: real transparency on... depth: 32


2021-12-12 23:04:31,784 DEBG 'start' stderr output:

tint2: panel items: TSC

tint2: Systray composited rendering on

tint2: nb monitors 1, nb monitors used 1, nb desktops 4

tint2: panel 1 uses scale 1 


2021-12-12 23:04:31,803 DEBG 'start' stderr output:

tint2: Kernel uevent interface initialized...


2021-12-12 23:04:31,803 DEBG 'start' stderr output:

tint2: systray window 8388621


2021-12-12 23:04:31,803 DEBG 'start' stderr output:

tint2: systray started

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.