Results 1 to 10 of 39

Thread: 6.2.1 .xsession-errors

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ mecho

    Nice response. Sorry I can't help out on alsa, I'm not up on that.
    I like your solution with gconftool-2, since it solves the problem.
    I'm not in favor of trashing the errors altogether, and have run across an altertative which saves the
    latest info, just not the whole history. It goes as follows:

    Knoppix 6.2.1 keeps a running log of .xsession-errors.
    Current era Ubuntus only keep current and one old session of these.
    The difference (in the current log) is only character in /etc/X11/Xsessions.

    Quoting from https://bugs.launchpad.net/+source/gdm/+bug60448

    (concerning how to revert FROM (keeping all previous .xsession-errors
    and adding that from the current boot) TO (just keeping the
    .xsession-errors for the current boot).

    Look very closely. The _only_ edit is the deletion of one '>';
    that is '>' instead of '>>' at line 94 (or nearby, anyway).

    QUOTE ***********

    Lea GRIS wrote on 2006-09-21: #3

    * Revert to previous overwrite behaviour (310 bytes, text/plain)

    The offending code is in /etc/X11/Xsession

    Some updates ago, code was changed to increment .xsession-errors instead of overwrite it.

    /etc/X11/Xsession line 94:
    exec >>"$ERRFILE" 2>&1

    Change it back to:
    exec >"$ERRFILE" 2>&1

    I think reverting to the previous overwrite behaviour would be a good enough choice.

    This bug affect any Ubuntu/Kubuntu/Xubuntu
    Offending package:
    xinit

    UNQUOTE ************

    This might be timely advice even now for Knoppix 6.2.1;
    I do not favor dumping _all_ the evidence in the trash, because these
    errors indicate something's not right.
    Hopefully it doesn't matter, but who knows?

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

  3. #3
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Thanks a lot utu - very good tip. I don't really need to have the errors from my previous sessions. I found exec >>"$ERRFILE" 2>&1 at line 77 in knoppix 6.2. I was thinking of making a small script to delete xsession-errors at shut down since it's automatically recreated at boot, but this is much more elegant solution. Perfect

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @mecho

    Most welcome. There are some other ideas in the Bug 60448 thread you may enjoy.

    Relative to the Bug 60448 mentioned earlier, the whole thread there is interesting, and still open.
    I especially enjoyed posts there #'s 40, 41, 47 and 49.

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    So here's one type, representing 3/4 of my .xsession-errors:

    (firefox-bin:####): Gdk-WARNING **: XID collision, trouble ahead

    The four digits #### are not always the same.

    This occurs using iceweasel 3.5.6-1 with Shockwave Flash Plug-in 10.1r53.

    Disabling this plug-in makes these errors stop. Re-enabling and going to
    nytimes site, for example makes the errors begin again.

    I'm unaware of what, if any performance is not correct.

    Disabling compiz and/or java have no effect I'm aware of.

    Constructive comments welcome here.
    Also, would like to confirm version numbers are standard for Knoppix 6.2.1.
    Last edited by utu; 06-16-2010 at 05:11 PM.

  6. #6
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by utu View Post
    So here's one type, representing 3/4 of my .xsession-errors:

    (firefox-bin:####): Gdk-WARNING **: XID collision, trouble ahead

    The four digits #### are not always the same.

    This occurs using iceweasel 3.5.6-1 with Shockwave Flash Plug-in 10.1r53.

    Disabling this plug-in makes these errors stop. Re-enabling and going to
    nytimes site, for example makes the errors begin again.

    I'm unaware of what, if any performance is not correct.

    Disabling compiz and/or java have no effect I'm aware of.

    Constructive comments welcome here.
    Also, would like to confirm version numbers are standard for Knoppix 6.2.1.
    [rant]This basically was what Steve Jobs was talking about re: Adobe Flash being "the number one reason Macs crash." Well, at least it's just error messages going into a logfile that can be handled (variously, as others have described) without a crash at all. I've tried Gnash, the open-source replacement for Flash, and it's bad - really bad. Now that HTML-5 native video is on the horizon, perhaps we can all move on to a future without mucn need for Flash as such, except perhaps in transcoding to the new format.[/rant]

    Cheers!
    Krishna

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System

$359.99



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$349.99



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$319.99



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs picture

IBM System x3250 M4 Server Intel Xeon E3-1220 3.10GHz 8GB RAM No HDDs

$60.56



VINTAGE IBM PC SERVER MODEL 320 8640   J picture

VINTAGE IBM PC SERVER MODEL 320 8640 J

$325.00



IBM Server eServer | IBMR1000 | UPS 1000VA 700W W/New Batteries picture

IBM Server eServer | IBMR1000 | UPS 1000VA 700W W/New Batteries

$115.00



IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD picture

IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD

$84.50



IBM QRadar xx29 Server 4412Q2A picture

IBM QRadar xx29 Server 4412Q2A

$293.99



IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU picture

IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU

$229.99