[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to vnc to not log?



On 10/29/2006 01:11 PM, Steve Lamb wrote:
    Anyone know how to get VNC to not log it's errors?  I have gotten into the
habit of using VNC as my main interface on my server machine.  Every few weeks
the log fills up root forcing me to shut down VNC so it'll close the log file
and allow it to be deleted.  As you can see, a tad large...

grey@teleute:~/.vnc} ls -lh
total 4.5G
-rw------- 1 grey shared    8 2004-12-15 17:31 passwd
-rw-r--r-- 1 grey shared 1.8K 2004-12-15 17:31 teleute:10.log
-rw-r--r-- 1 grey shared 2.0K 2004-12-15 17:31 teleute:11.log
-rw-r--r-- 1 grey shared  90K 2004-12-15 17:31 teleute:16.log
-rw-r--r-- 1 grey shared    6 2004-12-15 17:31 teleute:16.pid
-rw-r--r-- 1 grey shared 4.5G 2006-10-29 11:04 teleute.dmiyu.org:10.log
-rw-r--r-- 1 grey shared    5 2006-09-19 19:13 teleute.dmiyu.org:10.pid
-rw-r--r-- 1 grey shared 2.9K 2005-10-21 03:44 teleute.dmiyu.org:12.log
-rwxr-xr-x 1 grey shared  169 2005-10-21 06:52 xstartup

    4.5Gb for a log file I never even look at.  When I check the log file to
see what is going on it is pretty much the same line over and over:
DeliverEventsToWindow: client index is zero for PWin 0x81ca4f8
DeliverEventsToWindow: client index is zero for PWin 0x81ca4f8

    Given I have seen no errors that have blown up anything I use it's not
critical, it's not needed, it's just annoying the crap outta me.  Any clues?
I couldn't find an obvious answer either in the man pages or on a Google
search the last time I had to shut down my VNC server (a few weeks ago).



I don't know how to get vnc not to log, but if there is no way to stop it, I think you can either echo an empty string to the log file (in a cronjob), or you can put the log file onto a small ram disk (using either symbolic links or mount). Most probably vnc will not freeze or crash when the ram disk is filled to capacity.

--
paduille.4060.mumia.w@earthlink.net



Reply to: