$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

GKsu Alternative for Ubuntu 22.04

September 10, 2023 | By the+gnu+linux+evangelist.

GNU/Linux Ubuntu 22.04 GKsu Alternative Guide

Hi! The Tip shows you How to use a GKsu Alternative in Ubuntu 22.04 Jammy LTS GNU/Linux Desktop.

The GKsu Alternative is pkexec a Tool that allows an Authorized User to execute PROGRAM as Another User.

If username is not specified, then the program will be executed as the Admin Super User, root.

Finally, this Setup is valid for all the Ubuntu-based Distros like:

  • Linux Mint
  • Zorin OS
  • Lubuntu
  • Elementary OS
  • Kde Neon
  • Pop_OS!
  • Xubuntu
  • Linux Lite
  • Bodhi
  • Puppy
  • Kubuntu
  • LXLE
  • Trisquel
  • Voyager Ubuntu
  • feren OS
  • Peppermint
  • Linux Ultimate Edition
  • (You may just need to Discover what’s the Parent Release)
Featured
  1. Running Program

    Hence to Run GUI App as another User on Ubuntu
    The General Command is:

    sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY [MYPROGRAM]
    Like:
    sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/local/bin/hardinfo