C5475 1 Posted ... Using airvpn 2.9.0 (latest stable, reinstalled today) or experimental 2.10.0 (also installed today) rpm client on updated fedora 22 airvpn can't self elevate to root privileges without crashing example, running as user: ➜ ~ airvpn WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 I 2015.06.12 13:56:55 - AirVPN client version: 2.9.2, System: Linux, Name: Fedora release 22 (Twenty Two)Kernel \r on an \m (\l), Architecture: x64 . 2015.06.12 13:56:55 - Reading options from /home/luminoso/.airvpn/AirVPN.xml . 2015.06.12 13:56:55 - Restarting with admin privileges ➜ ~ WARNING: The runtime version supported by this application is unavailable. Using default runtime: v4.0.30319 ;1R Unhandled Exception: System.IO.IOException: Invalid handle to path "/home/luminoso/[Unknown]" at System.IO.FileStream.ReadData (System.Runtime.InteropServices.SafeHandle safeHandle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0 at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0 at System.TermInfoDriver.GetCursorPosition () [0x00000] in <filename unknown>:0 at System.TermInfoDriver.Init () [0x00000] in <filename unknown>:0 at System.ConsoleDriver.Init () [0x00000] in <filename unknown>:0 at System.Console.add_CancelKeyPress (System.ConsoleCancelEventHandler value) [0x00000] in <filename unknown>:0 at AirVPN.Core.Engine.Initialization () [0x00000] in <filename unknown>:0 at AirVPN.UI.Linux.Program.Main () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: Invalid handle to path "/home/luminoso/[Unknown]" at System.IO.FileStream.ReadData (System.Runtime.InteropServices.SafeHandle safeHandle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0 at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0 at System.TermInfoDriver.GetCursorPosition () [0x00000] in <filename unknown>:0 at System.TermInfoDriver.Init () [0x00000] in <filename unknown>:0 at System.ConsoleDriver.Init () [0x00000] in <filename unknown>:0 at System.Console.add_CancelKeyPress (System.ConsoleCancelEventHandler value) [0x00000] in <filename unknown>:0 at AirVPN.Core.Engine.Initialization () [0x00000] in <filename unknown>:0 at AirVPN.UI.Linux.Program.Main () [0x00000] in <filename unknown>:0 However running as "beesu airvpn" everything works as expected. I've edited /usr/share/applications/AirVPN.desktop from: Exec=/usr/bin/airvpn to: Exec=beesu /usr/bin/airvpn And it works as expected. Still, I hadn't this problem before. Quote Share this post Link to post