tralph3 / zerotier-gui Goto Github PK
View Code? Open in Web Editor NEWA Linux front-end for ZeroTier
License: GNU General Public License v3.0
A Linux front-end for ZeroTier
License: GNU General Public License v3.0
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.
Is there a way to add my user to the zerotier group?
I tried adding my user to it, but the issue persists after re-login
(Fedora-40-Gnome)
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.
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
~/.zeroTierOneAuthToken
-rw------- 1 myuser root
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
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
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
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
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
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?
Since make_deb.sh is included in the packaging directory, it gets moved to the computer root when installing the created deb.
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
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
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.