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, 12:14 PM   #1
Registered: Jun 2007
Posts: 136

Rep: Reputation: 17
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, 10:13 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint, FreeBSD
Posts: 9,833
Blog Entries: 6

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
This should help:

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

Original Poster
Rep: Reputation: 17
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 03:30 AM
Perl stderr&stdout redirect question Fredde87 Programming 5 03-26-2009 05:43 AM
what is wrong with this perl code ? STDOUT / STDERR issue ? rtspitz Programming 4 10-08-2007 07:53 PM
No Screensavers. Screensavers Diaspearerd! raid517 Linux - Software 1 04-23-2005 02:32 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 09:09 PM

All times are GMT -5. The time now is 10:42 PM.

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