For some reason, my Debian installation has started providing me with a DISPLAY variable even in console logins (and when logging in over the serial line...), which renders my scripts that use DISPLAY to check whether to fire up a X program or a console programs non-working.
Why? And is there any better way to check whether you're actually running X or not? -- \\// peter - http://www.softwolves.pp.se/