Add to your /etc/profile and make sure it is sourced at the start up. #get xprint to work # needed for mozilla oofice to print XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`" export XPSERVERLIST To check if it sourced, reboot, login as usual, open terminal and execute command: $ env | grep 64 # You should see something like this: XPSERVERLIST=:64 env | grep 64