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 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
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
Additional Information
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:28-Sep-2022
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com