LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2009, 05:32 AM   #1
vasmakk
Member
 
Registered: Jan 2009
Distribution: Debian Lenny, Ubuntu 9.04
Posts: 87

Rep: Reputation: 16
X-manager annoying messages !


Hi everybody ...



I use Debian lenny AMD64

I have an .xsession-errors file in my home directory that was getting bigger and bigger each time i logged-in. I assume these errors created by X-manager to report me , that it cannot find all necessary components to load propperly! Anyway Gnome works fine thereafter ...

I hacked into /etc/X11/Xsession file, and found the line of trouble ...
exec >>"$ERRFILE" 2>&1 , which appends errors to .xsession-errors file, so I changed it to exec >"$ERRFILE" 2>&1 Now each time I log-in .xsession-errors is rewritten.

That is a solution to prevent .xsession-errors file become very big (many GB) with the danger to fil all my free partition space.

The question is why X-manager should create those errors in first place,(note: some errors are created, even after an automated installation process) and how can i tell it which components to load so to stop generate errors. In other words, which configuration files should i focus on?

Here's a sample ...
...
/etc/gdm/Xsession: Beginning session setup...
SESSION_MANAGER=local/debian:/tmp/.ICE-unix/2391
Window manager warning: Failed to read theme from file /usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml: Failed to open file '/usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory
Window manager warning: Failed to load theme "Clearlooks": Failed to open file '/usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory
Window manager warning: Failed to read saved session file /home/vasmakk/.metacity/sessions/default0.ms: Failed to open file '/home/vasmakk/.metacity/sessions/default0.ms': No such file or directory
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Gnome-Message: gnome_execute_async_with_env_fds: returning -1
Unable to open desktop file epiphany.desktop for panel launcher


Regards!
Vas

Last edited by vasmakk; 01-25-2009 at 05:33 AM.
 
Old 01-25-2009, 07:17 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
In my experience with at least a dozen distributions X session errors are common. I've always blamed the distribution creators. Let' face it. If you are using a distribution with a huge software repository, such as Debian or SuSE or Red Hat, it is almost impossible for the distribution creators to resolve all problems with each package. If you read the developers' notes you will see that a lot of errors that don't break something are put on a lower priority than errors that prevent things from working. I think that it is simply the result of our software being so huge and so complex that it is not practical for a limited team of people to resolve all of the possible problems in a limited amount of time when they are collecting a large number of applications to create a distribution.

My response to noncritical errors is generally as follows:
Code:
alias application="application >/dev/null 2>&1"
:-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Annoying messages in consoles (F2 to F6) harmattan Debian 3 08-04-2007 12:17 PM
Annoying CD-rom driver error messages dinges Linux - Software 11 02-05-2006 03:54 PM
Annoying eth0-console messages.. Laffo Debian 1 08-18-2005 08:29 AM
annoying messages from passwordless rsh kevingpo Fedora 5 08-10-2005 05:00 PM
annoying messages from rsh kevingpo Linux - Networking 2 08-03-2005 05:37 AM


All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration