outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

Support Outline Client on Linux Elementary OS

Open PlatonB opened this issue 1 year ago • 32 comments

Describe the bug Approximate English translation of the messages that the program shows when trying to connect: Connect

You may need administrator rights to run Outline. Continue?

OK

Failed to start Outline. Send feedback through the app.

To Reproduce

  1. Insert the link given by the provider.
ss://[email protected]:11130#BlancVPN_Хельсинки_Финляндия
  1. Try to connect.

Expected behavior In the Android version of the Outline Client, the connection is almost seamless.

Client System

  • Outline Client Version: 1.10.1 (Flatpak)
  • Operating System: elementary OS 6.1

Provider BlancVPN

Flatpak log (G_MESSAGES_DEBUG=all)

(flatpak run:4351): flatpak-DEBUG: 12:16:47.372: Running 'bwrap --args 40 outline-client'
LaunchProcess: failed to execvp:
xdg-settings
LaunchProcess: failed to execvp:
xdg-settings
(outline-client:2): GLib-GIO-DEBUG: 12:16:47.829: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
Gtk-Message: 12:16:47.849: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:16:47.850: Failed to load module "canberra-gtk-module"
[2:0329/121647.871683:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Нет такого файла или каталога
[2:0329/121647.871744:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: Нет такого файла или каталога
(outline-client:2): GLib-GIO-DEBUG: 12:16:47.873: _g_io_module_get_default: Found default implementation keyfile (GKeyfileSettingsBackend) for ‘gsettings-backend’
Outline is starting
loading web app from file:///app/outline-client/resources/app.asar/www/index_electron.html?appName=Outline
Could not load active tunnel:  [Error: ENOENT: no such file or directory, open '/home/platon/.var/app/org.getoutline.OutlineClient/config/Outline/connection_store'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/platon/.var/app/org.getoutline.OutlineClient/config/Outline/connection_store'
}
APPIMAGE env is not defined, current application is not an AppImage
connecting to 8c34e765-fa0d-421c-8979-bb49f9ea7b14...
using tun2socks to check connectivity
[EXIT - tun2socks]: Exited with code 0
UDP support: true
starting routing daemon
Routing daemon socket setup failed Error: connect ENOENT /var/run/outline_controller
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'connect',
  address: '/var/run/outline_controller'
}
could not connect: w (routing daemon is not running)
[EXIT - tun2socks]: Exited with code 12
could not stop tun2socks: Process terminated by non-zero exit code: 12
tun2socks terminated due to Error: Process terminated by non-zero exit code: 12
disconnected from 8c34e765-fa0d-421c-8979-bb49f9ea7b14
installing outline routing service...
copying service installation files to /tmp/hoFKzd
all service installation files copied to /tmp/hoFKzd successfully
trying to run command as root:  trap "/usr/bin/chattr -R -i /tmp/hoFKzd" EXIT; /usr/bin/chattr -R +i /tmp/hoFKzd && /usr/bin/echo "e0644a3750b6c770e4f2f2e2e7de0de1e46386eed733d7841f35d9e4aa53c1cd  /tmp/hoFKzd/install_linux_service.sh" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "00886c3a6d4289109e014078c4b99d569708939269d9070eae798f0cddbea2e7  /tmp/hoFKzd/OutlineProxyController" | /usr/bin/shasum -a 256 -c && /usr/bin/echo "8bfab08036441bcbb558927bdecd97eebf8c2d365a2a7fdb6c0032c2afc965a2  /tmp/hoFKzd/outline_proxy_controller.service" | /usr/bin/shasum -a 256 -c && "/tmp/hoFKzd/install_linux_service.sh" "platon"
undefined
undefined
command is running as root but failed:  Error: Unable to find pkexec or kdesudo.
    at e (/app/outline-client/resources/app.asar/build/electron/electron/index.js:2:410275)
    at /app/outline-client/resources/app.asar/build/electron/electron/index.js:2:410428
    at FSReqCallback.oncomplete (node:fs:198:21)

PlatonB avatar Mar 29 '23 09:03 PlatonB