Terminal -x question
houghi
houghi at houghi.org
Wed Oct 20 16:54:48 CEST 2010
On Wed, Oct 20, 2010 at 07:23:47AM -0600, Duke Normandin wrote:
> On Wed, 20 Oct 2010, Yves-Alexis Perez wrote:
>
> > On mar., 2010-10-19 at 13:31 -0600, Duke Normandin wrote:
> > > I installed `root-tail' using "Synaptic Package Mgr". Fired up
> > > `root-tail' but nothing happens. How does that culprit work?
> >
> > try root-tail /var/log/syslog ?
>
> I did -- the very first time I run it! I tried again just now - still
> nothing. Should it be bringing up a terminal with root privileges and
> running `tail' /var/log/syslog? Because if _that_ is what's suppose to
> happen, then this package is hosed - on my system anyway.
1) Run xwinfo and click somewhere on the desktop
2) Look at the WindowID (e.g. 0x1a00024 in my case)
3) See that you have rights to read the file you want to tail, or use sudo
4) Run e.g. `sudo root-tail -id 0x1a00024 /var/log/messages`
5) Look at the original post and answer the question asked:
I want to run in a script:
#!/bin/bash
terminal --geometry=86x79-7+7 --hide-menubar --hide-borders -T \
Terminal.below -x sudo /usr/bin/tail -f /var/log/messages | grep \
--color root
However that halts at the pipe '|'. Is there a way to get this working
without the usage of an external script?
6) Re-do step 5
7) If this does not solve your root-tail issue, start with a new subject.
8) Redo stap 5
HTH ;-)
houghi
--
This is written under the inluence of the following:
> Artist : Black Sabbath
> Song : Rat Salat
> Album : Paranoid
More information about the Xfce
mailing list