Skip to content

Commit

Permalink
Fix graphics system detection when launched on a headless system usin…
Browse files Browse the repository at this point in the history
…g remote X windows
  • Loading branch information
v1s1t0r1sh3r3 committed Jul 4, 2024
1 parent e57e569 commit 342a7f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15932,6 +15932,11 @@ function check_graphics_system() {
"tty"|*)
if [ -z "${XAUTHORITY}" ]; then
xterm_ok=0
if hash xset 2> /dev/null; then
if xset -q > /dev/null 2>&1; then
xterm_ok=1
fi
fi
fi
;;
esac
Expand Down

0 comments on commit 342a7f9

Please sign in to comment.