Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am working on Mandriva. I downloaded a few toys which the software media manager installed but after installing, I donīt find them in KMenu (the menu which is the counterpart of the Windows Start menu).
I searched for them & found them & even added them to the KMenu using the KDE Menu Editor but they refuse to run (I added the files which have the gear icon). How do I run those toys?
Also the description of some of the toys says that they are meant for X Window System. What is this X Window System? When I navigate to Mandriva Control Centre-->System-->Choose the display manager that enables to select which user to log in, I find 2 options - KDM (KDE Display Manager) & XDM (X Display Manager). Does XDM mean the X Window System or are both KDM & XDM parts of the X Window System?
Xwindows (which identifies itself as X) sits above the kernel and below KDE and is the basis of everything graphical on your mandriva system. In most Linux distros these days, X is implemented in the xorg packages.
Both KDM and XDM are display managers. They take care of user logins and maintain the information needed to build a display (you can have multiple displays on a system that uses X, including multiple displays on just one monitor). You can run KDE without either KDM or XDM, just by logging into a console and manually starting KDE. Display managers are not essential, they just make things a bit nicer.
If the toys (particularly something like glxgears) refuse to run, it may be because your system lacks the hardware necessary to run them (glxgears requires a video card with OpenGL support), or you could be using a driver that does not provide the necessary support (for instance, if you have an NVidia card with OpenGL support, Mandriva will by default install the nv video driver which is open source and not very good, rather than installing the proprietary NVidia driver which is much better).
More generally, if something refuses to run it means you are lacking something that is required. This typically is a library or package, and usually you will find out by invoking the program from a command line and watching what the resulting error messages are. In more difficult cases, you can find out using the strace program (man strace to learn about it) but you need to be pretty knowledgeable to sort out what it is telling you.
Thanks to both of you for your prompt responses & suggestions.
Brian, I had a look at the properties of other items in the menu & then added the toys. I had downloaded a game named LPairs which did not get listed in KMenu after installation. I searched for it & found it in the /usr/games directory. In the KMenu Editor, I added it as a new item & entered the entire path
as the Command. When I opened it from KMenu, it ran as expected & I could play that game. Thatīs what I did to add the toys in KMenu & then run them from KMenu but I donīt know why they are refusing to run.
I also tried running the toys from the Konsole. For e.g. thereīs a toy named xpenguins in the /usr/bin directory. After logging in as the root (which I donīt think was necessary) in the Konsole, I navigated to the /usr/bin directory, typed xpenguins & pressed the Enter button but nothing happened after that. Neither did it start nor did it generate any error messages. The cursor just kept on blinking. When I pressed Ctrl+C, it just said
Interupt received: Exiting.............Done.
Once while restarting my PC, I could see xpenguins running (immediately after I clicked the Restart Computer button which gets invoked when I click Log Out... in KMenu) but that was the only time I could see it running; never after that!
Thereīs another toy named xcockroach in the same directory. After typing xcockroach & pressing the Enter button, the cursor shifted to the next line which showed
(just the greater than sign) & the cursor kept on blinking. When I pressed Ctrl+C, this is what the next 3 lines showed:
Press Ctrl-D to quit
When I pressed Ctrl+D, the program exited. Thatīś it! Neither did it run nor did it generate any error messages.
Another toy named xfishtank runs for one second when I run it from the Konsole but immediately disappears after that.
How do I run the toys under such circumstances? Moreover none of the toys are accompanied with a help file or documentation.
Actually, I downloaded xfishtank (mandriva package) and ran it. It ran.
Had some trouble getting it to display, though, because I am running beryl and it seems that the root window (in which xfishtank renders) is only visible in beryl if I set the cube to transparent. Once I turned off the background in the KDE control panel and set the cube transparency to complete transparency, I had the fish swimming around on my display.
I stopped it because it isn't nice about how it uses the CPU, and I don't see any reason to let my CPU run at 100% when it should be idling. This also has a substantial impact on the responsiveness of other applications running on the machine.
I will bet that when you start it, it is running. Try running this command:
If you get a process number back, it is running but you can't see it because something is preventing it from displaying.
In the KDE control panel there is a desktop option where you permit or deny programs to run in the root window. If you don't permit it to run in the root window, you won't see anything when it does run.
I unearthed the reason why they were not running. Right-click on the desktop & then navigate to Configure Desktop-->Behavior & the Allow programs in desktop window checkbox was unchecked. When I checked it, the toys ran! But, as you said, they eat up quite a lot of RAM slowing down the machine considerably especially xfishtank.
Another question please - in WinXP, thereīs a utility called Task Manager which displays various system info like RAM, CPU currently being used, programs currently running etc. Even programs that arenīt responding can be stopped from the Task Manager. Is there anything similar to Task Manager in Mandriva?
The reason I am asking this is I couldnīt figure out a way to quit xfishtank. Finally I had to reboot my machine to quit xfishtank. If thereīs anything similar to Task Manager in Mandriva, then I can exit xfishtank without having to reboot.
Anyway, after seeing the RAM consumption, I will seldom run it!
Jim, the Ctrl+Alt+Esc key combination doesnīt always invoke the System Guard. Why so? But the mouse pointer always changes to the danger (skull with two bones) cursor & clicking any app with that cursor terminates the app.
IN that case, you need to look in the KDE control panel at the hotkeys that are defined to figure out which combo gets you kde system guard. Apparently that combo on your machine is getting you xkill. You can also invoke it from the command line: ksysguard is the name.