LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-11-2007, 07:19 PM   #1
sixleaf
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Rep: Reputation: 0
Linux has me stumped


Ok i admit it, i'm a born windows geek sneaking into enemy territory, but its confusing the hell out of me. I wanted a very low resource impact distribution, and with DamnSmallLinux refusing to install i ended up with Morphix Light.

So far so good, its all running. Only thats where the good news ends. Theres no login screen to start with and I want to get out of the gui, so i exit it, but it reboots computer, and i see no way of stopping this. Theres no where to change any important settings or boot options or anything. I mean people say windows is annoying cos it hides everything away from the layman, but this is hiding a whole lot more. All i want to do is turn on the PC, and be presented with a console login which then leads to a prompt.

Is that too much to ask? Please help, i don't mean to sound agressive but when you've been staring a pc that refuses to do anything remotely like what you're yelling at it, its a tad annoying. Also i don't understand how a console can provide manageable access to multiple applications, its just way beyond my brain. DOS only ran one thing at a time so i get how that worked, but this is just brain mashing. Oh and does linux run services like windows or what? and wheres the task manager?

Basically i want to shut down anything and everything thats unnecessary, except networking services.

Any pointers/tips/thoughts?

Thanks

EDIT: Oh i know that morphix is a livecd distribution but i used the install wizard you get once the livecd is all booted. So its not like its running off the CD

Last edited by sixleaf; 03-11-2007 at 07:22 PM.
 
Old 03-11-2007, 07:22 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
ctrl-alt-backspace kills the GUI. Hope that helps ya!
 
Old 03-11-2007, 07:29 PM   #3
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 32
First things first I guess... To exit the GUI only hit Ctrl+Alt+F1 on your keyboard. If Morphix uses the grub bootloader then your boot settings are read from /boot/grub/menu.lst. There are a vast amount of web resources on the many ways this can be configured. Also, the man page ($ man grub) is very helpful. The short of it is that if all you want is to boot to a console login -> prompt, then append the number '3' onto the kernel line in menu.lst or simply at the option entry at the grub bootloader screen (for one time only).
 
Old 03-11-2007, 08:58 PM   #4
sixleaf
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Ok Ctrl-Alt-F1 drops out the GUI into a console that doesnt seem to respond to any commands or do anything, and Ctrl-Alt-Backspace shuts the PC down just like exiting the gui with the menu's does.

Argh what am i doing wrong? why does linux hate me so?!
 
Old 03-11-2007, 09:17 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
If you need to get a console, you should launch a terminal, become root by typing:

su -

and then type:

init 3

If you need to know about any running services, you should look under /etc/rc(number).d;
the number refers to the current runlevel. Any service preceded by a K is killed, any service preceded by S has been started.
 
Old 03-11-2007, 09:28 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,872

Rep: Reputation: 88
Quote:
Originally Posted by sixleaf
Ok Ctrl-Alt-F1 drops out the GUI into a console that doesnt seem to respond to any commands or do anything, and Ctrl-Alt-Backspace shuts the PC down just like exiting the gui with the menu's does.

Argh what am i doing wrong? why does linux hate me so?!
Sometimes the first console is set up as more of a monitor. Try F2.
CTRL-ALT-BACKSPACE usually shuts down the xserver, but both of these can be distribution specific.
Take a look at your /etc/inittab file. It will tell you how many terminals are available and that is where you can change the defaut runlevel (GUI or console).
 
Old 03-12-2007, 02:19 AM   #7
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
If you want to learn the command line... The task manager equivalent is: ps
Mostly you want to run it with aux options
ps aux

Handling processes can get pretty complex. Too much for this topic, but there is more information on the net than you'll ever need.

In gnome it's the gnome-system-monitor (system - administration)

You rarely need to shut down X. You can do most command line stuff with xterm (gnome terminal or the like)

Last edited by oskar; 03-12-2007 at 02:21 AM.
 
Old 03-12-2007, 08:37 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
sixleaf;

If you are new to Linux, it might be better to start with one of the more popular distributions----www.distrowatch.com has a "hit list"--anything in the top ten should work for you.

My principal advice for you is: Patience
Linux is not the same as Windows, and --especially if you are really proficient in Windows, you will have some unlearning to do.
 
Old 03-12-2007, 09:22 AM   #9
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 538

Rep: Reputation: 30
from one linux newb to another. Here are some things that helped me:

The One Page Linux Manual: A concise summary of Linux console commands and what they are for
(PDF) http://homepage.powerup.com.au/~squa...nux_manual.pdf

You can read more about each command, with the "man" program (brings up the command's manual). For example, say you want to learn about the ps command, for viewing running processes. You would then type "man ps" at the command prompt, and use the letter "q" to exit the man page.

Linux configuration files, sort of similar to WIndows INI files, can be viewed and edited at the comman line. The text editor I use to view files, is called vi. You just type "vi filename" at the command prompt, up and down arrows to move, Insert key to go to edit mode, Esc key to get out of edit mode, ":w" to save and ":q" to quit.

Hope this helps some.
 
Old 03-12-2007, 02:53 PM   #10
sixleaf
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Original Poster
Rep: Reputation: 0
pixellany - Compared to linux, i know windows inside out. I used to program in MASM so the win32api is my best friend. I really really know very little about linux and i think you might have a point about windows knowledge hindering my linux learning. which sucks.

My only goal was to get an old laptop running an absolutely minimal stripped down OS for hosting a server, but it seems that its a lot harder than i thought it would be. Funnily enough at the mo the server ran faster under xp than linux so far.

I'll have a play about tonight and see what i can get working.
 
Old 03-12-2007, 04:10 PM   #11
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
If you have lots of time, lots of patience, and really want to learn a lot fast. Then stop using popular distributions, read up on Linux, install any working distro (use gentoo so you can familiarize yourself with the command line at the same time), then use that to install LFS as your new distro. If you understand the install instructions for LFS, you pretty much know all you need to. Total time for learning pretty much everything if you really try, and experiment a lot, about 3 months should do it.
 
Old 03-12-2007, 04:23 PM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Imagine being an expert in Unix or Linux and trying to learn Windows.

It is not so much about UNlearning as it is about learning that Windows is not the only way of doing something---as in the newcomer asking; "Where's the registry?"
 
Old 03-12-2007, 06:06 PM   #13
sixleaf
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Ok i've been fiddling at i'm getting somewhere(ish). One major problem for me - when not running a gui, is it possible to have 2 applications running at the same time not in background. I know (well, i've guessed from reading) that if i shove a & at the end of a process it should run in background hidden away, which is all well and good but what if i want to switch to it, how do i do that? Or is that not possible? Or switch between 2 running processes?

Thanks
 
Old 03-12-2007, 06:26 PM   #14
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
you have two options. One is to run these processes on their own terminals. You start by default probably on tty1, but sometimes on tty2. To get to tty[n] you hit ctl+alt+F[n]. So tty2 is ctl+alt+F2. Each of these terminals is a full console that you can leave and come back to.

The second option is more powerful and flexible, but also more complicated - to use GNU screen. I'll leave you to the man pages for screen, as it's a complicated little thing, but darn useful.
 
Old 03-12-2007, 07:11 PM   #15
sixleaf
LQ Newbie
 
Registered: Mar 2007
Posts: 16

Original Poster
Rep: Reputation: 0
no the consoles sound just perfect. thank you so much for that i was trying to guess what tty thingys meant. Also, i used nice to set priority on the server to -20 (well i think i did anyway), but how do you check this cos ps never shows the thread priority
 
  


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
Stumped ! CastleBrie General 3 03-24-2006 01:36 PM
Stumped: BIOS not seeing SATA's, can't install linux or windows randon General 2 11-04-2005 10:49 AM
Stumped by LAN tireseas Linux - Networking 7 03-17-2005 02:33 AM
how to im stumped rocketgo Linux - Software 8 11-10-2003 11:10 PM
really has me stumped! brunogartner Linux - Newbie 4 06-30-2003 06:43 AM


All times are GMT -5. The time now is 07:09 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