maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Disable Xorg loggin? (https://talk.maemo.org/showthread.php?t=39205)

DaSilva 2010-01-04 10:27

Disable Xorg loggin?
 
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.

slender 2010-01-04 10:33

Re: Disable Xorg loggin?
 
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.

Mentalist Traceur 2010-10-15 13:18

Re: Disable Xorg loggin?
 
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.

christoph 2010-10-15 13:31

Re: Disable Xorg loggin?
 
xorg only logs on startup.

pelago 2010-10-15 13:32

Re: Disable Xorg loggin?
 
Quote:

Originally Posted by Mentalist Traceur (Post 841897)
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.

Mentalist Traceur 2010-10-15 13:40

Re: Disable Xorg loggin?
 
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.

pelago 2010-10-15 13:50

Re: Disable Xorg loggin?
 
Quote:

Originally Posted by Mentalist Traceur (Post 841919)
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.

Alex Atkin UK 2010-10-15 14:30

Re: Disable Xorg loggin?
 
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.

matthew maude 2010-10-15 19:32

Re: Disable Xorg loggin?
 
isn't xorg the display system?
therefore stopping it would kill the display

dchky 2010-10-16 14:32

Re: Disable Xorg loggin?
 
Quote:

Originally Posted by matthew maude (Post 842144)
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.


All times are GMT. The time now is 18:55.

vBulletin® Version 3.8.8