pkexec fails to communicate output and misses start signal when launching Oblivion-Helper

Author: mk0xf1e6eCreated Jul 18, 2025Updated Jul 21, 2025
LabelsLinuxhelper

Attention | توجه

  • I searched and no similar issues were found | جستجو کردم و هیچ گزارش مشابهی پیدا نشد

What Happened? | چه اتفاقی افتاده؟

Bug Report: pkexec Fails to Launch Oblivion-Helper, Causing App Hang

Description

The application fails to launch the Oblivion-Helper using pkexec. This results in the app hanging and failing to connect in TUN mode.

Details

  • When pkexec is used to start the helper, the communication/output capturing fails.
  • Consequently, the app does not receive the start signal from the helper and hangs indefinitely.

How I Fixed It

  • Replaced the pkexec binary call with sudo.
  • Added the Oblivion-Helper to the sudoers file to allow passwordless execution.
  • After this change, the helper launches correctly and the app connects successfully in TUN mode.

Notes

  • I am not sure how the helper is originally launched internally.
  • This workaround is a dirty fix but works reliably on my system.
  • Environment: Ubuntu 25.04 x86_64

Summary: Replacing pkexec with passwordless sudo resolved the launch and communication issues with the Oblivion-Helper.

Minimal Reproducible Example | چه پروسه‌ای برای مشاهده این مشکل طی کرده‌اید؟

  1. Start the Oblivion app.
  2. Set the connection mode to TUN mode instead of System Proxy.
  3. The app hangs and fails to connect because the Oblivion-Helper does not launch properly.

Relevant log output | لاگ برنامه

bash
[2025-07-18 05:56:37.011] [info] Deleted past logs for new connection.
[2025-07-18 05:56:37.526] [info] Setting up configs...
[2025-07-18 05:56:37.528] [info] ------------------------MetaData------------------------
[2025-07-18 05:56:37.528] [info] running on: Ubuntu (25.04) x64
[2025-07-18 05:56:37.529] [info] at od: v2.101.0
[2025-07-18 05:56:37.529] [info] at wp: v1.2.6
[2025-07-18 05:56:37.529] [info] at hp: v1.2.2
[2025-07-18 05:56:37.529] [info] ls assets/bin: LICENSE,README.md,oblivion-helper,warp-plus,zag-netStats
[2025-07-18 05:56:37.530] [info] method: gool
[2025-07-18 05:56:37.530] [info] proxyMode: tun
[2025-07-18 05:56:37.530] [info] routingRules: Default
[2025-07-18 05:56:37.530] [info] endpoint: custom
[2025-07-18 05:56:37.530] [info] ipType: v4
[2025-07-18 05:56:37.530] [info] tunAddrType: v64
[2025-07-18 05:56:37.531] [info] dataUsage: true
[2025-07-18 05:56:37.531] [info] asn: UNK
[2025-07-18 05:56:37.531] [info] reserved: true
[2025-07-18 05:56:37.531] [info] geo Ip: ir, Site: ir, Block: false, NSFW: false
[2025-07-18 05:56:37.531] [info] testUrl: https://connectivity.cloudflareclient.com/cdn-cgi/trace
[2025-07-18 05:56:37.531] [info] dns: 1.1.1.1
[2025-07-18 05:56:37.531] [info] exe: /opt/oblivion-desktop/oblivion-desktop
[2025-07-18 05:56:37.531] [info] userData: /home/<USERNAME>/.config/oblivion-desktop
[2025-07-18 05:56:37.531] [info] logs: /home/<USERNAME>/.config/oblivion-desktop/logs
[2025-07-18 05:56:37.531] [info] ------------------------MetaData------------------------
[2025-07-18 05:56:37.533] [info] ------------------------MetaData------------------------
[2025-07-18 05:56:37.533] [info] running on: Ubuntu (25.04) x64
[2025-07-18 05:56:37.533] [info] at od: v2.101.0
[2025-07-18 05:56:37.533] [info] at wp: v1.2.6
[2025-07-18 05:56:37.533] [info] at hp: v1.2.2
[2025-07-18 05:56:37.533] [info] ls assets/bin: LICENSE,README.md,oblivion-helper,warp-plus,zag-netStats
[2025-07-18 05:56:37.533] [info] method: gool
[2025-07-18 05:56:37.533] [info] proxyMode: tun
[2025-07-18 05:56:37.534] [info] routingRules: Default
[2025-07-18 05:56:37.534] [info] endpoint: custom
[2025-07-18 05:56:37.534] [info] ipType: v4
[2025-07-18 05:56:37.534] [info] tunAddrType: v64
[2025-07-18 05:56:37.534] [info] dataUsage: true
[2025-07-18 05:56:37.534] [info] asn: UNK
[2025-07-18 05:56:37.534] [info] reserved: true
[2025-07-18 05:56:37.534] [info] geo Ip: ir, Site: ir, Block: false, NSFW: false
[2025-07-18 05:56:37.534] [info] testUrl: https://connectivity.cloudflareclient.com/cdn-cgi/trace
[2025-07-18 05:56:37.534] [info] dns: 1.1.1.1
[2025-07-18 05:56:37.534] [info] exe: /opt/oblivion-desktop/oblivion-desktop
[2025-07-18 05:56:37.534] [info] userData: /home/<USERNAME>/.config/oblivion-desktop
[2025-07-18 05:56:37.534] [info] logs: /home/<USERNAME>/.config/oblivion-desktop/logs
[2025-07-18 05:56:37.535] [info] ------------------------MetaData------------------------
[2025-07-18 05:56:37.535] [info] ExportList config created at /home/<USERNAME>/.config/oblivion-desktop/sbExportList.json
[2025-07-18 05:56:37.539] [info] Sing-Box config file has been created at /home/<USERNAME>/.config/oblivion-desktop/sbConfig.json
[2025-07-18 05:56:37.553] [info] od is ready!
[2025-07-18 05:56:37.592] [info] Starting Oblivion-Helper...
[2025-07-18 05:56:37.609] [info] trying to disable system proxy...
[2025-07-18 05:56:37.624] [info] gsettings found!
[2025-07-18 05:56:37.663] [error] Error disabling proxy settings for GNOME: Error: Command failed: gsettings set org.gnome.system.proxy.socks host
Usage:
gsettings [--schemadir SCHEMADIR] set SCHEMA[:PATH] KEY VALUE
Set the value of KEY to VALUE
Arguments:
SCHEMADIR A directory to search for additional schemas
SCHEMA The name of the schema
PATH The path, for relocatable schemas
KEY The key within the schema
VALUE The value to set
[2025-07-18 05:56:37.663] [error] Failed to disabled proxy for GNOME
[2025-07-18 05:56:37.693] [info] kwriteconfig6 found!
[2025-07-18 05:56:37.716] [info] Proxy settings disabled for KDE
[2025-07-18 05:56:37.716] [info] Disabled proxy for KDE.

here waits for ever ...............

Source: bepass-org/oblivion-desktop