From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.3) Gecko/20041207 Description of problem: According to the manual for up2date-nox: "-nox do not even attempt to display the gui." This is not true: [root@sharon njh]# up2date-nox X11 connection rejected because of wrong authentication. The application 'up2date-nox' lost its connection to the display localhost:10.0; most likely the X server was shut down or you killed/destroyed the application. [root@sharon njh]# Version-Release number of selected component (if applicable): up2date-2.8.40-3.7.3 How reproducible: Always Steps to Reproduce: 1. ssh to a machine 2. su 3. up2date-nox Actual Results: [root@sharon njh]# up2date-nox X11 connection rejected because of wrong authentication. The application 'up2date-nox' lost its connection to the display localhost:10.0; most likely the X server was shut down or you killed/destroyed the application. [root@sharon njh]# Expected Results: up2date should run Additional info:
Workaround (bash): DISPLAY= up2date-nox
That tells me to run rhn_register (which is fair enough), but, there is no rhn_register-nox! [root@sharon njh]# DISPLAY= up2date-nox Error Message: Please run rhn_register (or up2date --register on Red Hat Enterprise Linux 3 or later) as root on this client Error Class Code: 9 Error Class Info: Invalid System Credentials. Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem. [root@sharon njh]# rhn_register X11 connection rejected because of wrong authentication. The application 'rhn_register' lost its connection to the display localhost:10.0; most likely the X server was shut down or you killed/destroyed the application. [root@sharon njh]# rhn_register-nox bash: rhn_register-nox: command not found [root@sharon njh]#
Try (in bash): # DISPLAY= rhn_register --nox
I am closing this bug as it is not a security issue, and up2date on rh7.3 is pretty much useless now anyway.