Programs unable to open display via sudo or pkexec (linssid not working)
#4
(07-24-2021, 08:23 AM)nelstomlinson Wrote: Zeb, I found that sudo -EH gedit lets me open gedit as root. It is likely to work for most everything, I think.

Found it here: https://unix.stackexchange.com/questions...hical-sudo

Interesting. It works with gedit, but unfortunately does not work for linssid - the latter is invoked with the executable "linssid-pkexec" so it seems that program invokes pkexec internally, which clobbers the environment variables saved by sudo -EH. There is no option I can find to change that behavior.
  Reply


Messages In This Thread
RE: Programs unable to open display via sudo or pkexec (linssid not working) - by Zebulon Walton - 07-24-2021, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobile internet via cellular network mostly not working Anna 18 10,242 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 1,006 01-17-2024, 05:53 PM
Last Post: anonymous
  Unable to wake up from suspend xavi92 5 1,124 10-26-2023, 03:02 PM
Last Post: xavi92
  Unable to do initial setup of Weather due to keyboard LibrePhoneUser 2 1,096 07-07-2023, 03:29 AM
Last Post: jojuma
  APN settings not working with new operator SIM card user641 1 1,026 03-01-2023, 04:43 PM
Last Post: anonymous
  Mobian + phosh firefox ublock and other overlays display bugs tuxcall 3 1,789 02-24-2023, 12:11 AM
Last Post: nexion
  Possible Solution for Microphone Not Working Ferriah 0 947 02-13-2023, 01:09 PM
Last Post: Ferriah
  Mobian external display woes Hiraghm 5 2,512 12-09-2022, 12:12 PM
Last Post: gregb49
  Squeekboard stopped working Zebulon Walton 2 1,180 11-24-2022, 08:41 PM
Last Post: Zebulon Walton
  suspend inhibit no longer working jsch 3 1,984 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser

Forum Jump:


Users browsing this thread: 1 Guest(s)