Giter VIP home page Giter VIP logo

zerotier-gui's Introduction

ZeroTier-GUI

License: GPL v3 Donate

A Linux front-end for ZeroTier

Manage Networks

Manage Peers

Installation

You can download the software from the AUR.

paru -S zerotier-gui-git

If you are in an Ubuntu/Debian based distribution, you can download the source code and run the make_deb.sh script.

./make_deb.sh

You may need to mark it as executable first:

chmod +x make_deb.sh

The script must be ran on the project's root folder, make sure to cd into it.

The script will generate a ZeroTier-GUI.deb package in the root directory. Simply install it with sudo apt install ./ZeroTier-GUI.deb.

Building binaries with Docker

Objective

This alternative aims to make ZeroTier-GUI available for multiple platforms using immutable infrastructure benefits, to avoid unexpected results depending where you are running these commands above.

Setup

  • install docker
  • install Make (if not available)

How-to

With Docker and Makefile available, you just need to run the following command:

make run

The expected result both rpm and deb files in project root. If you don't have Make available, you can run these commands line by line, as follows:

docker build . -t zero-tier-platforms-build:latest
docker create -ti --rm --name zero-tier-platforms-build zero-tier-platforms-build bash
docker cp zero-tier-platforms-build:/tmp/ZeroTier-GUI.deb ZeroTier-GUI.deb
docker cp zero-tier-platforms-build:/tmp/ZeroTier-GUI.rpm ZeroTier-GUI.rpm
docker rm -f zero-tier-platforms-build

Dependencies

None of the packages contains the back-end, zerotier-one. Arch has it in the community repo. For Ubuntu based distributions, you'll need to install it manually from their website. On top of that, you'll need python3.6 or greater, and the tkinter module. This however should be handled by the packaging software. Service management depends on SystemD. You will not be able to enable or disable the ZeroTier service without it.

zerotier-gui's People

Contributors

landrash avatar maxwellfire avatar tralph3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zerotier-gui's Issues

ZeroTier isn't installed!

First, I would like to thank you for the great project! I try to install the ZeroTier-GUI on ubuntu 20.04 and make sure the GLIBC version and python version which the ZeroTier-GUI required. Unfortunately, it showed "ZeroTier isn't installed!". Do I need to install other plug-ins? Thx

https://ibb.co/Qb7YKL7

Flatpak Version

Hi,

it is good to see that someone tries to create a GUI for ZeroTier on linux. It would be great to have this available as a flatpak for easy installing and updating.

Thank you for your work.

Best regards

Heiko Gimbel

zerotier-gui expected but zerotier-gui.py is the one being redistributed.

Hello. Is a pretty simple detail and with an extremely simple fix, but someone may not notice it a first and fail. In the install script and the .desktop file you have zerotier-gui and the name of the file is zerotier-gui.py. So without a minor user intervention it is not working as expected. I report it just so you know, very nice gui, thanks.

Way to see peer IP address

on Pop_os 21.04 The app works great! only immediate improvement i see is wishing it could dispaly peer IP addresses somewhere. I see their external IP, and I see the IP ranges for the network, but not what I can use to direct connect. which would be really helpful. Amazing work.

zerotier service isn't enabled bug

i'm getting this error every time i want to use zerotier-gui, but zerotier-one service is running, and works perfectly through cli.
i'm using zerotier-gui-git from aur

Screenshot_2021-09-30_00-05-06

problem with launching

installed on a debian 12:

Traceback (most recent call last):
File "/usr/bin/zerotier-gui", line 1248, in
tmp = tk.Tk()
^^^^^^^
File "/usr/lib/python3.11/tkinter/init.py", line 2326, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: no display name and no $DISPLAY environment variable

DNS Config checkbox

Since version 1.6.0 of zerotier there is a way to configure DNS servers. It has to be enabled by clients.

I'd like to propose adding a checkbox to network settings to enable or disable DNS configuration, similar to 1.8.1-windows version of zerotier client.(Image below).
image

Can't get access to ZeroTier

Hi

I hang in a loop

"This user doesn't have access to ZeroTier!" and "In order to grant myuser access to ZeroTier ..."

As far as I can say

  • The key was copied correctly to the user home directory ~/.zeroTierOneAuthToken
  • The rights are set correctly -rw------- 1 myuser root
    but I still get the error "This user doesn't have access to ZeroTier!"

The ZeroTier-Gui runs nice, when I start it as root sudo zerotier-gui

System: Ubuntu 21.10
ZeroTier: 1.8.4
ZeroTier-Gui: 1.3.0

Any Idea?

KarmaMonk

Thanks

Not a proper issue but not less important. Thanks for your project, is a valuable tool to study the ZeroTier-one API and to ease self owned controller networks.

And to waste no more this issue space, you can reach me when you add localization to your project. I can help with American Spanish translation.

Botón para encender o apagar ZeroTier

Hola, como sugerencia estaría bien poner un botón para activar o desactivar el servicio de ZeroTier, en vez tener que hacer cada vez:
systemctl start zerotier-one
systemctl stop zerotier-one

GLIBC_3.2 not found

Hi Ralph,
I'm trying to run this on Ubuntu 20.04 LTS with GLIBC 2.31:
ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.1) 2.31
Can't get it to run so did sudo /usr/bin/zerotier-gui and I get this:
[72928] Error loading Python lib '/tmp/_MEI20WXUz/libpython3.8.so.1.0': dlopen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /tmp/_MEI20WXUz/libpython3.8.so.1.0)

In /lib/x86_64-linux-gnu/ I see libc-2.31.so & libc.so.6

You mentioned that it should work with GLIBC 2.31 upwards and I can't find version 2.32 to install or upgrade to

Any help you can offer here?

PS: This is just what I need as I usually have to ssh in to my customers Linux workstations to join/leave up to 5 ZT networks

Zerotier-gui not working correctly on Ubuntu 22.04

Hi Ralph,
I followed your install instructions and after install, clicking on the Zerotier GUI icon goes as follows:
1 - Zerotier-One Service prompt appears
The 'zerotier-one' service isn't running.
Do you wish to grant root access to enable it?
Yes - No
2 - clicking yes brings up password prompt
3 - entered password and clicked on authenticate
4 - Prompt windows closes and nothing more happens.


When I run this command /usr/bin/./zerotier-gui
I have to follow the same steps as above and below is what I get in terminal:


/usr/bin/./zerotier-gui
Traceback (most recent call last):
File "/usr/bin/./zerotier-gui", line 1246, in
mainWindow = MainWindow()
File "/usr/bin/./zerotier-gui", line 156, in init
self.refresh_networks()
File "/usr/bin/./zerotier-gui", line 273, in refresh_networks
networkData = self.get_networks_info()
File "/usr/bin/./zerotier-gui", line 322, in get_networks_info
return json.loads(check_output(["zerotier-cli", "-j", "listnetworks"]))
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['zerotier-cli', '-j', 'listnetworks']' returned non-zero exit status 1.


I then ran sudo /usr/bin/zerotier-gui in terminal and the Zerotier-GUI opens and I can now work as before - join - leave.....all functions work correctly.
Here is what I get in terminal after above command:


vms@vms-52492c98f8:~$ sudo /usr/bin/zerotier-gui
can't invoke "event" command: application has been destroyed
while executing
"event generate $w <>"
(procedure "ttk::ThemeChanged" line 6)
invoked from within
"ttk::ThemeChanged"


Note:
Ubuntu 20.04 - no problems whatsoever
I'm forced to go to Ubuntu 22.04 now

Feature: Gtk + Adwaita app look and feel

I'm currently working on a libadwaita version of the app, I need some feedback of the mockups.

imagen
imagen

Current Workaround of the mockups:
imagen
imagen

I'm not sure about what peers option do.

does not launch anymore

hey after loging on and trying to use the zerotier gui it does not work anymore i dont know why and it does not make a prosess in bashtop i need help

systemd hard dependency

Thanks for making zerotier-gui!
This hard depends on systemd because it uses systemctl to check if zerotier is running.
what about running zerotier-cli instead?

Not running

$ zerotier-cli listnetworks
Error connecting to the ZeroTier service: connection failed

Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.

Running

$ zerotier-cli listnetworks
200 listnetworks <nwid> <name> <mac> <status> <type> <dev> <ZT assigned ips>
200 listnetworks xxxxxxxxxxxxx xxxxxx xx:xx:xx:xx:xx:xx OK PRIVATE xxxxxxxxxx xxxx:xxxx:xx:xxxx:xxxx::x/xx,xxx.xxx.xxx.xxx/xx

Maybe checking listened ports with netstat? detecting interface with ip addr? Abstract the check for multiple init systems?

root privileges

Hi,
I'm facing a problem running zerotier-gui using Ubuntu (20.04).
The problem is with root privileges, zerotier-gui isn't asking for password, just throwing "zerotier-cli: authtoken.secret not found or readable in /var/lib/zerotier-one (try again as root)"
For sure "sudo zerotier-gui" works but I think that GUI app should be run from os GUI.....
Tried to chenge .desktop file exec line with: "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/zerotier-gui" , after running and entering password zerotier-gui doesn't show, entering "pkexec...." from command line works.
Any idea how to solve this puzzle?

Thanx.

Treeview is unreadable on HiDPI screens

When UI scaling is enabled in gnome fonts become too big for treeview rows:
image

I've fixed it by adding self.style.configure('Treeview', rowheight=40) in TreeView class.

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.