#!/bin/execlineb
s6-envdir env
multisubstitute {
	importas -i XPRA_LOG_DIR XPRA_LOG_DIR
	importas -i display_number display_number
	importas -i HOME HOME
}
Xorg
	-displayfd 3
	-noreset
	-novtswitch
	-nolisten tcp
	-nolisten local
	+extension RANDR
	+extension RENDER
	-auth /run/Xauthority.${display_number}
	-logfile "${XPRA_LOG_DIR}/Xorg.${display_number}.log"
	-config /home/ccx/xpra.xorg.conf
	:${display_number}