Code Monkey home page Code Monkey logo

qomui's Introduction

Hi!

I am proficient in Python, but am learning other languages like C(++/#), Golang and Rust. I dabble around with other languages with various amounts of success (usually little).

https://samicrusader.me

Metrics

qomui's People

Contributors

corrad1nho avatar nret avatar precla avatar realorangeone avatar samicrusader avatar shutdown57 avatar zx2c4 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

chamalis zebdo

qomui's Issues

Numerous issues on Ubuntu 22.04 / mint 21.1

EDIT: The other problem I describe below was simply operator error; I didn't realize ufw was running. The only real issues here then are 1.) the cgroup error and 2.) the deprecation of systemd-resolve. I found workarounds for both.

  • I've had great luck with this fork on Mint 19 which is based on Ubuntu 18.04, however I've recently started from scratch on Mint 21.1 based on Ubuntu 22.04. I'm using awesome window manager in a custom session script that also contains mate-settings-daemon and lxpolkit 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

  • I've installed the deb from the releases page. Here's what I've hit in the logs:

  File "/usr/lib/python3/dist-packages/dbus/service.py", line 715, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/qomui/qomui_service.py", line 228, in disconnect
    self.restore_default_dns()
  File "/usr/lib/python3/dist-packages/qomui/qomui_service.py", line 288, in restore_default_dns
    Popen([
  File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'systemd-resolve'

So far the above was the easiest issue to work around, the systemd-resolve command has been deprecated and its replacement is almost 100% synonymous so I work around via sudo ln -s /usr/bin/resolvectl /usr/bin/systemd-resolve

2023-06-12 23:45:50,225 - WARNING - iptables: failed to apply: Command '['iptables-legacy', '--wait', '-t', 'mangle', '-D', 'OUTPUT', '-m', 'cgroup', '--cgroup', '0x00110011', '-j', 'MARK', '--set-mark', '11']' returned non-zero exit status 1.

This one above is a little more cryptic for me, I assume it's related to what follows. For this I'd really appreciate any feedback. It only hits the log when I enable bypass, and it comes with numerous dbus errors in my desktop notifications:

['firewall', 'autoconnect', 'minimize', 'ipv6_disable', 'alt_dns', 'bypass', 'ping', 'auto_update', 'no_dnsmasq', 'dns_off']
org.freedesktop.DBus.Python.PermissionError: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 715, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/qomui/qomui_service.py", line 447, in bypass
    bypass.create_cgroup(
  File "/usr/lib/python3/dist-packages/qomui/bypass.py", line 41, in create_cgroup
    with open("{}/net_cls.classid".format(cgroup_path), 'w') as setcid:
PermissionError: [Errno 13] Permission denied: '/sys/fs/cgroup/net_cls/bypass_qomui/net_cls.classid'

The issue persists after installing cgroup-tools and even trying to run qomui as sudo. I get error cgroup change of group failed if I try to execute cgexec -g net_cls:bypass_qomui

I really appreciate this project and would be grateful for any assistance you can provide. Hopefully I'm overlooking something super obvious

Typo in one file which causes error when initializing GUI

Hello,

There are typos in the qomui_gui.py, which cause error when initializing GUI.

Line 120 to Line 124 in qomui_gui.py:

            if ret == 0:
                self.initalize_service("enable", "--now")

            elif ret == 1:
                self.initalize_service("start")

It should be self.initialize_service.

Thanks.

Plans to maintain?

This appears to be the "most active fork". Do you have plans to continue to maintain this and overtake the original repo?

[Question] Release ?

Hello,

If you fixed support for latest distros, could you please publish a release ?

Especially AppImage or deb.

Thanks

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.