diff options
author | Daniel Levin <daniel.levin@amd.com> | 2023-08-08 20:31:56 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-08-14 10:16:29 -0500 |
commit | 9220f00412b1cce5c3904ffda19c4ad87d8e83e4 (patch) | |
tree | 563778e410a5bb64b9e2b680ff08b959fc7ef28f /meta-xilinx-core/recipes-bsp/ai-engine/aie-rt.inc | |
parent | ef56d304f5fcf24020c3cd4cd62ce2d16247abb6 (diff) | |
download | meta-xilinx-9220f00412b1cce5c3904ffda19c4ad87d8e83e4.tar.gz |
monitor-hotplug.sh: Fix detecting XAUTHORITY
Previously XAUTHORITY location was detected by filtering Xorg process command
line, which is not available in busybox ps implementation.
Instead detect correct Xorg commnad line by grepping for the "Xorg :displaynum"
and extract -auth argument.
If no -auth argument present then Xorg is running without display manager, thus
XAUTHORITY env var should remain undefined.
Signed-off-by: Daniel Levin <daniel.levin@amd.com>
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-bsp/ai-engine/aie-rt.inc')
0 files changed, 0 insertions, 0 deletions