Bug 78744 - Command gives gtk-WARNING on server installs
Command gives gtk-WARNING on server installs
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-proc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-11-28 10:06 EST by Mike Chambers
Modified: 2007-04-18 12:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-01-29 11:15:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike Chambers 2002-11-28 10:06:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 

Description of problem:
On server installs, command gives gtk warning, instead of telling user they 
aren't setup to run this command on their system, due to no GUI running.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Perform server install
2.Run redhat-config-proc

Actual Results:  Gtk-WARNING **: cannot open display:

Expected Results:  Should just tell user X isn't running, or this command 
can't be used when in this tyep environment or something along those lines.

Additional info:

CC'ing Brent Fox as he is aware and wanted bugs file against each redhat-
config packages until they can't find a solution.
Comment 1 Harald Hoyer 2003-10-24 10:04:26 EDT
this is gtk_init() ... not much I can do about, instead of checking env(DISPLAY)
and argument(-display)... reassigning
Comment 2 Owen Taylor 2003-10-24 10:26:49 EDT
The GTK+ piece is there: gtk_init_check(). You can do with it whatever
you want.
Comment 3 Harald Hoyer 2003-10-24 10:33:25 EDT
ok.. will do later..
Comment 4 Mike Chambers 2004-01-29 08:34:40 EST

Just checking the status on this so can possibly close or not.
Comment 5 Harald Hoyer 2004-01-29 11:15:41 EST
fixed in system-config-proc-0.25

Note You need to log in before you can comment on or make changes to this bug.