Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2548

su - does not set the environment correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • Security

      When you become the "agl-driver" user with 'su - agl-driver' the environment variables are not complete.

      • systemctl --user complains about not being able to find the dbus. the fix is:

       

      export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus
      • pipewire utiliities and clients cannot connect to pipewire. the fix is:

       

      export XDG_RUNTIME_DIR=/run/user/1001

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            gkiagia Georgios Kiagiadakis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: