Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-24-2012, 11:14 AM   #1
Registered: Jun 2007
Posts: 164

Rep: Reputation: 18
Perl Screensavers: Where does STDERR go in Ubuntu?

The Natty and later Ubuntus don't log to /var/log/messges. So where does STDERR go now. I'm playing with Perl screensavers and I can't get log info out for debugging.

Also, I can't even create my own directories or files in /tmp. Is there some systemic reason that keeps gnome-screensaver from allowing that?
Old 08-24-2012, 09:13 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,341
Blog Entries: 18

Rep: Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512Reputation: 3512
This should help:

and maybe this:
Old 08-25-2012, 02:49 AM   #3
Registered: Jun 2007
Posts: 164

Original Poster
Rep: Reputation: 18
True, those are the standard definitions for stdin, stdout, and stderr. But that's not what I'm asking.
When screensavers run, there is no console IO and the userid is ROOT. And ROOT isn't logged in.
So where do these things go?
Also complicating the issue with Ubuntu is that the latest versions (after 10?) no longer write to /var/log/messages. The claim is that errors are written to /var/log/syslog. But I see nothing there from the screensavers.
I can possibly change /etc/rsyslog.conf, but I'd be surprised if screensavers don't already go someplace. So where is that place?
I tried 'grep -iR screensaver /var/log' but no joy.
So is STDERR just getting dumped to /dev/null or something?
I'm using Ubuntu 11.04.
Thanks for trying.
BTW: Is this a good forum to ask this question?


natty, perl, screensavers, stderr, ubuntu 11.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Perl: redirect STDERR from system() call to /dev/null totaluser Linux - Newbie 2 11-25-2011 02:30 AM
Perl stderr&stdout redirect question Fredde87 Programming 5 03-26-2009 04:43 AM
what is wrong with this perl code ? STDOUT / STDERR issue ? rtspitz Programming 4 10-08-2007 06:53 PM
No Screensavers. Screensavers Diaspearerd! raid517 Linux - Software 1 04-23-2005 01:32 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration