Hi,

I'm trying to run printtool on a Red Hat 6.1 machine.  I'm logged into
an X session under my normal user account.  I su to root access.  When I
issue 'printtool' as root, I get this error:

Application initialization failed: no display name and no $DISPLAY
environment variable
Couldn't load bindings.tcl
Start from control-panel or set environment variable
CONTROL_PANEL_LIB_DIR to the control-panel library dir.
(normally this is /usr/lib/rhs/control-panel)


Before I su'ed, I did 'xhost +localhost'.  After seeing this error
message, I set the variable $DISPLAY to :0.0, and $CONTROL_PANEL_LIB_DIR
to /usr/lib/rhs/control-panel.  printtool still gives the same error.  I
really don't want to kill my current X session just to re-login as root
to run printtool.  How can I run printtool without exiting my current
session?  Thanks,



Hidong



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to