Skip to content

Commit

Permalink
build: update xquartz preferences plist filename
Browse files Browse the repository at this point in the history
  • Loading branch information
jashlu authored and rythorpe committed Nov 24, 2023
1 parent 7554bbb commit e9dd3a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 44 deletions.
1 change: 0 additions & 1 deletion installer/docker/authorized_keys

This file was deleted.

38 changes: 0 additions & 38 deletions installer/docker/id_rsa_hnn

This file was deleted.

1 change: 0 additions & 1 deletion installer/docker/id_rsa_hnn.pub

This file was deleted.

8 changes: 4 additions & 4 deletions scripts/docker_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2140,13 +2140,13 @@ function config_xquartz_for_tcp {
local __xquartz_nolisten

# check if xquartz needs to be restarted to access preferences
__xquartz_output=$(output_run_command "defaults read org.macosforge.xquartz.X11.plist")
__xquartz_output=$(output_run_command "defaults read org.xquartz.X11.plist")
if [[ $? -ne 0 ]]; then
__restart_xquartz=1
return 1
elif [[ -z "$__xquartz_output" ]]; then
echo "*failed*" | tee -a "$LOGFILE"
echo -e "\nNo valid output from org.macosforge.xquartz.X11.plist" | tee -a "$LOGFILE"
echo -e "\nNo valid output from org.xquartz.X11.plist" | tee -a "$LOGFILE"
cleanup 2
fi

Expand All @@ -2167,13 +2167,13 @@ function config_xquartz_for_tcp {
if [[ "$__xquartz_nolisten" == "1" ]]; then
__restart_xquartz=1
print_header_message "Setting XQuartz preferences to listen for network connections... "
run_command_print_status_failure_exit "defaults write org.macosforge.xquartz.X11.plist nolisten_tcp 0"
run_command_print_status_failure_exit "defaults write org.xquartz.X11.plist nolisten_tcp 0"
fi

if [[ "$__xquartz_noauth" == "1" ]]; then
__restart_xquartz=1
print_header_message "Setting XQuartz preferences to use authentication... "
run_command_print_status_failure_exit "defaults write org.macosforge.xquartz.X11.plist no_auth 0"
run_command_print_status_failure_exit "defaults write org.xquartz.X11.plist no_auth 0"
fi
else
check_x_port_netcat
Expand Down

0 comments on commit e9dd3a9

Please sign in to comment.