LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-24-2012, 11:14 AM   #1
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 103

Rep: Reputation: 16
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
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,627

Rep: Reputation: 1442Reputation: 1442Reputation: 1442Reputation: 1442Reputation: 1442Reputation: 1442Reputation: 1442Reputation: 1442Reputation: 1442Reputation: 1442
This should help:

http://manpages.ubuntu.com/manpages/...3/stdin.3.html

and maybe this:

http://stuff.mit.edu/iap/perl/slides..._standard.html
 
Old 08-25-2012, 02:49 AM   #3
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 103

Original Poster
Rep: Reputation: 16
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?
 
  


Reply

Tags
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


All times are GMT -5. The time now is 01:39 AM.

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