LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 05: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, 06:06 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
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, 03: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, 12:34 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
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, 01: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, 06: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, 06:27 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
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


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

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

All times are GMT -5. The time now is 04:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration