LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-20-2005, 04:49 PM   #1
barton
Member
 
Registered: Nov 2004
Posts: 78

Rep: Reputation: 15
Configuring Root-Tail


For those of you that use root-tail what is your command "string". I am trying to set it up and right now I am typing
Code:
root-tail \var\log\sys
but there is now output on the screen or anything. I opened up a second kernel and ran 'updatedb' to have the computer log something. I would like to setup this up I think this an awesome tool. How have you guys done it?

Thanks.
 
Old 02-20-2005, 05:06 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well, first of all you're using backslashes ... :)
Secondly none of the distros I know has a logfile called sys...


And here's what my startup for it looks like ...
Code:
root-tail --noinitial  -g  800x250+100+50  /var/log/messages,green,'messages'  /var/log/debug,yellow,'debug' /var/log/secure,red,'secure' /var/log/syslog,red,'syslog'


Cheers,
Tink
 
Old 02-21-2005, 02:42 AM   #3
barton
Member
 
Registered: Nov 2004
Posts: 78

Original Poster
Rep: Reputation: 15
Did you just insert into a rc.local script? How did you get start when start an X-session in your window system?
 
Old 02-21-2005, 11:34 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
from my Fluxbox-menu's startup ...
That's a per-session thing, you can't run it from
rc.local (that would be before X).


Cheers,
Tink
 
Old 02-21-2005, 12:33 PM   #5
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
Here's mine:

Code:
root-tail -g 1200x150+3+20 /var/log/messages,white /var/log/secure,red,'ALERT'
You must also make sure the user has permissions to access the logs. I created a group called "logreaders", added the users I wanted to allow access to the logs to that group, and then changed the group of the logs to logreaders. Voila.
 
Old 02-21-2005, 05:23 PM   #6
barton
Member
 
Registered: Nov 2004
Posts: 78

Original Poster
Rep: Reputation: 15
Cool, has anyone have sucess with this on Xfce?
 
Old 02-22-2005, 05:27 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Yes, first locate your desktop window id :
xwininfo
Then click on the desktop window, my id is : 0xc00003

You indicate this window to root-tail with -id option, like :
root-tail -id 0xc00003 --noinitial \
-g 800x250+50+50 \
/var/log/apache/access_log,green,'HTTPD Access'
 
  


Reply



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
root tail scylla Linux - Software 9 08-03-2005 04:44 PM
Fonts in root-tail danielf Debian 0 08-02-2004 07:37 PM
root-tail help! perry Linux - Software 3 07-25-2004 04:35 PM
root-tail for gnome epoo Linux - Software 3 01-20-2004 01:20 PM
root-tail -help Streams Linux - Software 2 04-26-2003 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration