is_gui needed for root check