LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2005, 04:37 PM   #1
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
root-tail working only in rootGUI. window id option in user mode does not solve issue


Hi,

I can only get root-tail v 1.2 to work if I login as root with kdm (red background) root GUI
# root-tail -f -g 720x250+15+30 /var/log/messages

Any suggestion, thanks? I am stuck now despite some googling and man pages
saying that window id could be the key. I have removed the desktop background picture. I have only a blue screen + icons. I have enabled "allow program in desktop windows"

Otherwise if I login as a user, and then su in a terminal this does not work
# root-tail -f -g 720x250+15+30 /var/log/messages -id 0x48
nor does
# root-tail -f -g 720x250+15+30 /var/log/messages

root-tail just fork to the background

# xdpyinfo | grep "window id"
root window id: 0x48

As user or root I get from xwininfo
xwininfo: Window id: 0x1e00009 "KDE Desktop"

This does not work
# root-tail -f -g 720x250+15+30 /var/log/messages -id 0x1e00009
# root-tail -f -g 720x250+15+30 /var/log/messages -id "KDE Desktop" (this give an error)


xwininfo: Window id: 0x1e00009 "KDE Desktop"

Absolute upper-left X: 0
Absolute upper-left Y: 0
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 1280
Height: 1024
Depth: 24
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +0+0 -0+0 -0-0 +0-0
-geometry 1280x1024+0+0
 
Old 11-15-2005, 04:41 PM   #2
XeroxONE
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 4
Posts: 21

Rep: Reputation: 15
Im not that good with linux
What a root tail? Maybe a dumb question
 
Old 11-15-2005, 05:00 PM   #3
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Original Poster
Rep: Reputation: 53
root-tail is eye candy, real eye candy
It is a utility to display text from files (typically logs)
to the background image of X directly

see for pics
http://www.lynucs.org/?root-tail
see for info
http://goof.com/pcg/marc/root-tail.html

This utility has forked a few times

Name: root-tail
Version: 1.2-2mdk
Size: 29 KB

Summary: Root-tail prints text directly to an X11 root window

Description: Displays a given file anywhere on your X11 root window with a transparent background. It was made because I am very lazy and this was easier than making a new rxvt pixmap each time I changed my background to simulate that transparent effect.


BTW: red rootGUI has no icone in the background. Mandriva 2005LE as normal user does.
It may matter to root-tail

Last edited by Emmanuel_uk; 11-15-2005 at 05:53 PM.
 
Old 11-16-2005, 02:04 AM   #4
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Original Poster
Rep: Reputation: 53
Not solved, but one step closer
Disabled desktop option "show icons"

Desktop1? becomes a dreadfull gnome-like background
(icones are still there), and it reverts to some mandriva
background image
xwininfo gives a new window ID wich is not 0x48 nor 0x1e00009
A terminal command such as below does not work
# root-tail -f -g 720x250+15+30 /var/log/messages -id newID_number


Desktop2 (or the other) revert to a uniform background color only
and now root-tail works with commands
# root-tail -f -g 720x250+15+30 /var/log/messages
# root-tail -f -g 720x250+15+30 /var/log/messages -id 0x48

In fact this desktop is such that xwininfo gives a window ID wich root 0x48

EDIT SOLVED see
http://www.linuxquestions.org/questi...hreadid=383583

Last edited by Emmanuel_uk; 11-16-2005 at 05:33 PM.
 
  


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
auto login as root (or other user) in console mode Peter_Peck Linux - General 4 05-01-2009 03:05 AM
window id, gnome-like desktop when show icons disabled (KDE, 2005 LE) + root-tail Emmanuel_uk Mandriva 1 11-16-2005 01:27 PM
running root-tail from shell script not working Nuk Linux - Newbie 1 04-09-2004 09:56 AM
X Display problems for user (and not root) after suspend mode Rukhin Linux - Laptop and Netbook 3 03-10-2004 09:31 PM
Super User mode, my root password doesn't work? kko88 Linux - Newbie 8 05-20-2003 07:01 PM


All times are GMT -5. The time now is 02:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration