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.
Hi, I'm a newbie linux user switched from windows xp about two weeks ago. Installed Mandrake 10.0, like it very much.
However, I'm getting tired of switching to the command line every time i want to run a program without the x windows server. Is there any way I can make a application from the KDE desktop that runs a program outside of x windows automatically, sort of the way windows would let you make a shortcut that shut down windows and ran an executable?
But I need a shortcut that kills the X Windows server, so I can run non-x windows programs a bit faster. I can do this from the command line prompt, but I can't figure out how to make a shortcut do this.
sometimes ctrl+alt+backspace will bring you back to a login manager. If you want to work without X you can also do "init 3" as root and that kills x and you can work from the console. When you need x again, you can run "init 5" (init 4 on Slack based distros).
Well, if you can use "init 3" and "init 5" to kill X and bring it back, respectively, then you should be able to make a linux script that runs "init 3" first, then your program, and when your program exits runs "init 5" to bring you back to X. I would just try doing some reading about Linux scripts, and when you're able to set one up, use what I said above to create a link to your script.
I may be missing something here, but if you just want to run a cli command there is no need to shut down the x server, just open konsole, xterm, eterm, or one of the many other terminal emulators that run from within X.
That's true, but the OP indicated he/she wanted to terminate all non-essential tasks in order to free up resources. I agree with you though, I seldom shutdown X if I need the CLI, and instead just open an console session as you describe. -- J.W.