cancel
Showing results for 
Search instead for 
Did you mean: 

Can't run xeroxofficeprtmgr as root on Linux

Jump to solution
Product Name: AltaLink C8130 / C8135 / C8145 / C8155 / C8170 Color Multifunction Printer
Operating System: Linux
[prtsys]$ sudo ./xeroxofficeprtmgr
[prtsys]$ cat /tmp/XeroxOfficeprtmgr.log
--------------------------------
Application:  XeroxOffice Printer Manager

--------------------------------
Time Stamp:	09/15/22 11:51:54
Process ID:	21075
System name:	Linux
Node name:	
Release:	5.19.8
Version:	#1 SMP PREEMPT_DYNAMIC Thu, 08 Sep 2022 18:07:42 +0000
Machine:	x86_64
Log level for module ConstraintEngine is 2
Log level for module DriverFeature is 3
Log level for module GUI is 5
Log level for module Global is 2
Log level for module Installer is 4
Log level for module Networking is 1
Log level for module ProductPlugin is 4
Log level for module Prtmgr is 4
Log level for module Quemgr is 4
--------------------------------
11:51:54 - ERROR/DriverFeature:  FeatureXMLTagHandler() - No Custom Load XCPT Callback Handler element
Authorization required, but no authorization protocol specified

11:51:54 - ERROR/ComponentDirector:  ComponentDirector::parseXMLData() - Failed to create GUI object
11:51:54 - FATAL/Prtmgr:  ********** Error parsing AdminUtil GUI XML **********
Terminating logging facility

Can't figure out what to do with this fatal error. Any idea ?

I've installed x86_64 version of the driver.

Running the same binary without being root launch the "fax" app

Maybe it is related : The graphical interface is running under Wayland

0 Kudos
1 Reply

Re: Can't run xeroxofficeprtmgr as root on Linux

Jump to solution

I figured out that this is caused by xwayland (for OS running with Wayland) not allowing to run software as root. Need to run the folowing command as documented in the archlinux wiki: https://wiki.archlinux.org/title/Running_GUI_applications_as_root#Using_xhost

xhost si:localuser:root

Now I can use the GUI of `xeroxofficeprtmgr` app.

 

0 Kudos