GUI applications report warnings when started from within a terminal emulator

This document (7006747) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 10 Service Pack 3
SUSE Linux Enterprise Desktop 11
SUSE Linux Enterprise Desktop 11 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 11 Service Pack 1

Situation

GUI applications report warnings when started from within a terminal emulator. To illustrate this with an example:

smt:~ # yelp&
[1] 4901
smt:~ #
(yelp:4901): Yelp-WARNING **: Failed to load config file: No such file or directory

(yelp:4901): Yelp-WARNING **: Yelper initialization failed for 0x947800

WARNING: Unknown element MultipleArgs: false
WARNING: Unknown element MultipleArgs: false
WARNING: Unknown element InitialPreference: 7
WARNING: Unknown element InitialPreference: 7
WARNING: Unknown element InitialPreference: 7
WARNING: Unknown element InitialPreference: 8
WARNING: Unknown element InitialPreference: 1
WARNING: Unknown element InitialPreference: 9
WARNING: Unknown element InitialPreference: 7
WARNING: Unknown element InitialPreference: 9
WARNING: Unknown element StartupNotification: false
[further warnings elided for the sake of brevity]

In this example, the "yelp" program is started, and outputs several warning messages to the shell session it was started from.

Resolution

Warnings such as the above and similar do not indicate a general issue with the program, and can be ignored by the user.

Additional Information

While not a problem in itself, the "noisy" console output of the program may sometimes be undesirable. To avoid it, use shell I/O redirection when starting the program:

smt:~ # yelp > /dev/null 2>&1 &
[1] 4964
smt:~ #

In the above example, both standard output and standard error have been redirected to /dev/null. As a result of this, the flood of warning messages has been prevented.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7006747
  • Creation Date: 30-Aug-2010
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Desktop
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center