You are not logged in.

#1 2009-09-06 09:22:45

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

GDM no logging to /var/log complains

I have a simple warning coming up:

gdm-binary[pidnum]: WARNING: gdn_config_parse: Logdir /var/log/gdm does not exist or isn't a directory. Using ServAuthDir /var/lib/gdm

Now if I create that directory and restart gdm everyone is happy. But since I use tmpfs to mount /var/log - Its a netbook, I dont want to log the drive to death ;-) it complains everytime it boots. I wouldnt mind if it went ahead and created its logdir but for some reason it doesnt.

Is there anyway to stop gdm from even writing logs? syslog isnt running as a demon on the box.

Thanks,

Offline

#2 2009-09-06 09:41:01

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: GDM no logging to /var/log complains

You could use the inittab method instead, then gdm wouldn't be used at all.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2009-09-06 09:49:26

brendan
Member
From: UK
Registered: 2009-05-16
Posts: 130
Website

Re: GDM no logging to /var/log complains

I am using the innitab method

the line is :
x:5:respawn:/usr/sbin/gdm -nodaemon

I could dump all output to /dev/null but thats ugly. I'd rather get rid of the loggin entirely

Offline

Board footer

Powered by FluxBB