Bug 133815

Summary: [PATCH] pxeos and pxeboot require X despite they're command line tools
Product: Red Hat Enterprise Linux 3 Reporter: Bastien Nocera <bnocera>
Component: redhat-config-netbootAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-21 20:10:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
rcnb-pxeos-non-gui.patch none

Description Bastien Nocera 2004-09-27 17:57:34 UTC
$ echo $DISPLAY
:0.0
$ pxeos
pxeos - Python pxeos commandline tool

Usage: pxeos [-a|-m|-d|-l] [-h] [-i <description> ] [-p <protocol> ]
[-D<1|0>] [-s <server>] [-L <location>] [-A <1|0>] [-u <user>] [-P
<password>] name
$ unset DISPLAY
$ pxeos
Unable to initialize graphical environment. Most likely cause of failure
is that the tool was not run using a graphical environment. Please either
start your graphical user interface or set your DISPLAY variable.
Caught exception: could not open display

Attached patch below fixes this problem.

Comment 1 Bastien Nocera 2004-09-27 17:58:49 UTC
Created attachment 104387 [details]
rcnb-pxeos-non-gui.patch

Comment 2 Daniel Walsh 2004-09-28 11:20:24 UTC
Did basically the same thing yesterday.

system-config-netboot-0.1.4-1 Has the fix.


Comment 5 Jay Turner 2004-11-01 15:03:28 UTC
Issue is resolved with 0.1.5-1.

Comment 6 John Flanagan 2004-12-21 20:10:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-573.html