Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Disable Xorg loggin?

    Reply
    Page 1 of 2 | 1   2   | Next
    DaSilva | # 1 | 2010-01-04, 10:27 | Report

    Is it possible to disable "/usr/bin/Xorg -logfile /tmp/Xorg.0.log -logverbose 1 -nolisten tcp -noreset -s 0" process or is this needed for some applications? It uses 5%-8% of the CPU most of the time and is not really necessary in my eyes.
    If it is possible to disable it without a problem how can I prevent it to start after a reboot?
    Thanks.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    slender | # 2 | 2010-01-04, 10:33 | Report

    Hmm. Iīm not completely sure, but if you like using your phone only from terminal then itīs probably useless to you =)

    .edit
    I think its the main process handling the ui/xwindows.

    ..edit
    And itīs not only about logging it starts xorg but those options after that command just tell process where it should put it's log file. Google or some other can tell what the other options are.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by slender; 2010-01-04 at 10:36.
    The Following User Says Thank You to slender For This Useful Post:
    DaSilva

     
    Mentalist Traceur | # 3 | 2010-10-15, 13:18 | Report

    This is an ancient thread, but it's the only one I see on the issue. I myself have been wondering if there's any point to keep the logging going. I more than understand why Xorg itself it important - it runs the actual window system.

    But does the log itself have any importance? I get the impression it would be better on battery life and everything else if xorg wasn't constantly asking for disk writes and such.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    christoph | # 4 | 2010-10-15, 13:31 | Report

    xorg only logs on startup.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to christoph For This Useful Post:
    Mentalist Traceur

     
    pelago | # 5 | 2010-10-15, 13:32 | Report

    Originally Posted by Mentalist Traceur View Post
    But does the log itself have any importance? I get the impression it would be better on battery life and everything else if xorg wasn't constantly asking for disk writes and such.
    You'll notice the logfile is in /tmp. This is not a "real" folder on disc, and instead is just kept in memory, so the impact on battery life shouldn't be too bad. Plus it's not a very verbose log (mine is just 8k after 10 days of uptime), so it's not taking up much memory either.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by pelago; 2010-10-15 at 13:49.
    The Following User Says Thank You to pelago For This Useful Post:
    Mentalist Traceur

     
    Mentalist Traceur | # 6 | 2010-10-15, 13:40 | Report

    Ahhh. Alright. Thank you. I was looking around in the XOrg wiki, but it's always nice to see how quickly answers come on here.

    Especially the /tmp being in memory bit. I wouldn't have even known that was the case from the official X.Org documentation, or would've taken forever to find it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pelago | # 7 | 2010-10-15, 13:50 | Report

    Originally Posted by Mentalist Traceur View Post
    Especially the /tmp being in memory bit. I wouldn't have even known that was the case from the official X.Org documentation, or would've taken forever to find it.
    /tmp being in memory is a Maemo-specific thing, so you wouldn't have found it in the X.org docs.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Alex Atkin UK | # 8 | 2010-10-15, 14:30 | Report

    I was wondering if you can change that line myself for other reasons. I would like to remove the "-nolisten tcp" so I can run desktop apps with output on the N900. I realise there are other ways to do it, but its faster to do it directly rather than over SSH.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    matthew maude | # 9 | 2010-10-15, 19:32 | Report

    isn't xorg the display system?
    therefore stopping it would kill the display

    Edit | Forward | Quote | Quick Reply | Thanks

     
    dchky | # 10 | 2010-10-16, 14:32 | Report

    Originally Posted by matthew maude View Post
    isn't xorg the display system?
    therefore stopping it would kill the display
    Yup, though it doesn't just kill the display, the N900 reboots : )

    If you mess up the argument list you can quite easily end up in a reboot loop - flashing is the only fix.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout