LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions change but dont??? (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-change-but-dont-505084/)

paul123 11-28-2006 03:47 AM

file /usr/X11R6/bin/xearth


/usr/X11R6/bin/xearth: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped

matthewg42 11-28-2006 08:07 AM

Doh, I'm so so stupid. I meant to say
Code:

( IFS=: ; for d in $PATH; do ls -l $d/xearth 2>/dev/null; done )
I used bash in my test that I had the syntax correct because I don't have an xearth binary on my system, and then copy-pasted without changing it! For your system, we want to locate xearth files, not bash... sorry - my fault! Please can you execute the command with xearth in this post, and post the results. Thanks.

paul123 11-28-2006 09:47 AM

well its all gone tits! :rolleyes:

I embarked upon changing the security level....wish I hadnt:mad:

Mandriva say you can change security level via Draksec GUI but I failed to find it.

So I faked and installation to allow me to get at security level. Along the way I installed some extra software...wish I hadnt....should of just stuck to the issue in hand but I thought I could resolve anothe rissue at the same time....er wrong. Went right wrong! :scratch:

Anyway ive reinstalled and when I get back home tonite I will put xearth back on but check first that it isnt already there.

paul123 11-29-2006 03:12 AM

AAAAAaaaaaaaaaargh! the xearth saga continues!

Ive re-installed Mandriva 2007 from ISO DVD.

Checked my system for the xearth files. Double checked /usr/X11R6/bin, not there.

Ok into GUI software installation selection to install package...... er :scratch:

System doesnt find xearth anywhere on my pc or DVD .... :scratch:

No xtraceroute, no xfishtank, no xplanet, no xearth :scratch:

You know, I gave up smoking about 6 months ago and im actually thinking about getting a cigarette right now.:mad:

Excuse the pun but where on earth did I get it? I didnt download it for sure.

paul123 11-29-2006 06:21 AM

ok I gave up on finding it and ran urpmi xearth.

It loaded into directory with x permission for user. I tried to run but no go so what am I doing wrong? do I have to build it ./config xearth, make, make install ????

Im sure im being a complete twit somewhere :newbie:

ran this:

( IFS=: ; for d in $PATH; do ls -l $d/xearth 2>/dev/null; done )

got this

-rwxr-xr-x 1 root root 183592 Jan 1 2006 /usr/X11R6/bin//xearth*

ran this:

file /usr/X11R6/bin/xearth

got this:

/usr/X11R6/bin/xearth: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped

what enviroment do I have to be in? the KDE desktop runs in X dont it? Totally confused :scratch:

paul123 11-29-2006 06:23 AM

Oh and I ran this in kde command line and got knowhere aswell.

kdesu /usr/X11R6/bin/xearth

matthewg42 11-29-2006 07:07 AM

Yes, KDE runs on top of, or inside X. X is the basic graphical system. It provides the basic hardware abstraction which allows programs to draw objects, access the mouse and keyboard etc. It also provides a way to display programs on remote machines overe the network, but that's another story. On this basic graphics system, KDE an other desktop environments are built. KDE provides a standard set of widgets (file dialogs etc), window decoration, configuration, IPC system, etc etc for graphical programs. Somewhat smaller scope "window managers" also exist which don't do as much.

OK, enough boring stuff. To the problem. I think it's solved. I think xearth is running properly... except that KDE is not letting you see the root window. X provides this thing called the root window which is the background of the display. However, KDE paints over the root window. If you right-click on the background and select "Configure Desktop...", you can control what KDE puts there.

Click the "Advanced Options" button and you should get a dialog which allows you to hand over background painting to another program. Check the "Use the following program to draw the background" box. With luck, the Mandriva people will have set up the xearth package so that xearch appears in the list. If so, just select it. If not we have some more work to do, but I don't want to research it unless it's not in the list.

paul123 11-29-2006 12:42 PM

Ok I will try this when I get back home this evening.

To be honest doesnt it dont bother me whether I have xearth or not, the thing is when stuff is acting strange and I dont have the answers it bugs the sh*t out of me. lol.

matthewg42 11-29-2006 12:51 PM

Quote:

Originally Posted by paul123
Ok I will try this when I get back home this evening.

To be honest doesnt it dont bother me whether I have xearth or not, the thing is when stuff is acting strange and I dont have the answers it bugs the sh*t out of me. lol.

Absolutely my position. It's the crucial geeky difference - it's not that something works which matters, it's why and how.

paul123 11-29-2006 05:26 PM

So it was hiding behind the bloody wallpaper! lol.

I really cant believe that! 7 years ago I ran xearth on my pc and it never hid behind the wallpaper....now I will be forever wondering whats going on behind my desktop! lol

Thanks alot for the help, got to learn a few things whilst searching for planet earth!

And for some reason xine has appeared in a menu aswell tonite all I did was run it then it appeared in the menu.

Thanks again


All times are GMT -5. The time now is 10:24 AM.