question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linux Client Permissions Issue

See original GitHub issue

Describe the bug The Outline-Client.AppImage application for Linux has a permissions issue. The client states that it needs administrative privileges (assuming they are to make needed network interfaces). But launching the client with administrative privileges is prohibited by the client itself.

To Reproduce Steps to reproduce the behavior:

  1. Install Outline-Manager.AppImage and setup server.
  2. Download the Linux client
  3. Make the client executable with chmod u+x Outline-Client.AppImage
  4. Launch the client application with ./Outline-Client.AppImage
  5. Click the connect button.
  6. Observe the error.

Expected behavior I expected the client to connect to me to my server.

Screenshots 2019-12-16_01-00

Desktop (please complete the following information):

  • OS: Arch Linux, i3wm
  • Browser: N/A
  • Version: 1.22

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
afaikiaccommented, Aug 1, 2022

I had the same bug. The problem appeared after a kernel update. It happens because there is no kernel module TUN. This can be checked with the following command:

$ sudo dmesg | grep TUN
[   26.091113] tun: Universal TUN/TAP device driver, 1.6

Outline needs to create a TUN interface to work properly.

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.31.1    0.0.0.0         UG    304    0        0 wlan0
10.0.85.0       0.0.0.0         255.255.255.0   U     0      0        0 outline-tun0
192.168.31.0    0.0.0.0         255.255.255.0   U     0      0        0 wlan0

If you don’t get this output, simply reboot and check again.

If it is still missing, add a TUN kernel module and reboot.

sudo modprobe tun
lsmod | grep tun
reboot

I hope it helps.

0reactions
ragazzonecommented, Dec 4, 2022

I make it run it using this command:

sudo outline-client --no-sandbox

Very annoying, but it worked.

Doesn’t work for me. Just a blank window. Ubuntu 22.04

UPDATE: xhost + local: Solved the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix 'permission denied' error in Linux? [Solutions]
For solving this error, you need to add the correct permissions to the file to execute. However, you need to be a “root”...
Read more >
How to resolve the "Permission Denied" error in Linux
While using Linux, you may encounter the error, “permission denied”. This error occurs when the user does not have the privileges to make...
Read more >
How to Solve File Permissions Issues on Linux - HostAdvice
1.. 2. In terminal type the following commands: for p in $(rpm -qa); do rpm --setperms $p; done for p in $(rpm -qa); do rpm...
Read more >
Troubleshoot Permission Issues - Bitnami Documentation
For more information about permissions, see this guide. A permission issue occurs when an application (or system user) is performing an unauthorized operation...
Read more >
Fix file permission errors on Linux - Opensource.com
Fix file permission errors on Linux · 1. Determine the correct user · 2. Get the current owner · 3. Change permissions to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found