LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-04-2005, 09:38 AM   #1
Aphex_Twin2
Member
 
Registered: May 2005
Posts: 54

Rep: Reputation: 15
More Linux questions


I have Slackware Linux installed, only I have a few questions:

What is the command to shut down the system (from text mode)?

How do I load KDE or GNOME or another desktop environment from text mode (commands, permissions necessary, ...)?

How do I make it so the system will boot automatically into KDE or GNOME?

Can I make an interface that would allow the user to chose a desktop environment at startup? I'm thinking at something like a default setting and a few seconds to make a change (something similar to a boot loader).

Where is the LILO configuration file and how do I change the boot labels?

How do I make the text mode use frame buffering (increased resolution, more rows and collumns)?

Can I playback mp3s or mpeg clips from text mode? What do I use for that?

Are there programs that use only the X Window System, without the desktop environment?

How do I use the Internet from text mode (browsing, e-mail, chat), if I can do that, and how do I set it up (assigning IP adresses, subnet mask et al...).

Is Linux compatible with the Microsoft network protocols? Will Linux machines show up when a Windows system queries the "My Network Places" or "Network neighbourhoor"? What is the Linux variant for "Network Neighbourhood"?

Can complex Windows programs (like games) be run from Linux? I'm thinking of my old Starcraft and Age of Empires or perhaps something like Counter-Strike...

Point me towards a couple of good Linux peer-to-peer utilities (like DC++ or E-mule).



Please be as explicit as possible because I'm still learning the ropes and pulleys of this creature

Last edited by Aphex_Twin2; 05-04-2005 at 09:42 AM.
 
Old 05-04-2005, 10:24 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
What is the command to shut down the system (from text mode)?

- "halt"

How do I load KDE or GNOME or another desktop environment from text mode (commands, permissions necessary, ...)?

- "startx" after modifying .xinitrc appropriately

How do I make it so the system will boot automatically into KDE or GNOME?

- Look up "runlevels"

Can I make an interface that would allow the user to chose a desktop environment at startup? I'm thinking at something like a default setting and a few seconds to make a change (something similar to a boot loader).

- Yes, with GDM or KDM. The default XDM doesn't allow this.

Where is the LILO configuration file and how do I change the boot labels?

- /etc/lilo.conf - edit this file, then re-run lilo to install the changes

How do I make the text mode use frame buffering (increased resolution, more rows and collumns)?

- enable support for it in the kernel, and tell your bootloader to use it. I use Grub, so can't remember the lilo command - "vga=791" or some such

Can I playback mp3s or mpeg clips from text mode? What do I use for that?

- yes, with 123mpg or mpg123 or other apps.

Are there programs that use only the X Window System, without the desktop environment?

- What do you mean? Very few applications need a particular desktop environment to work

How do I use the Internet from text mode (browsing, e-mail, chat), if I can do that, and how do I set it up (assigning IP adresses, subnet mask et al...).

- "links" for a text-only web browser, "pine" or "elm" are widely-used email clients. Chat is more tricky. . .

Is Linux compatible with the Microsoft network protocols? Will Linux machines show up when a Windows system queries the "My Network Places" or "Network neighbourhoor"? What is the Linux variant for "Network Neighbourhood"?

- You need Samba for this

Can complex Windows programs (like games) be run from Linux? I'm thinking of my old Starcraft and Age of Empires or perhaps something like Counter-Strike...

- Often, if you install Wine and have some patience

Point me towards a couple of good Linux peer-to-peer utilities (like DC++ or E-mule).

- Bittorrent
 
Old 05-04-2005, 10:28 AM   #3
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Hi Aphex_Twin. As you know, I'm not a "slacker", but Linux is Linux, and I can help with some of these.

Shut down: "shutdown now" from the command line should work for you. Do a "man shutdown" for all the possible options.

<stuff here that I know can be done, but I don't have the commands off the top of my head>

Choosing desktop environment: WHen installing KDE/Gnome, make sure you also install the login managers (kdm/gdm). The graphical login manager should give you the option to choose what DE/WM you run.

LILO: /etc/lilo.conf. Edit this file to change your LILO. Run "lilo -v" as root to install your changes.

<more stuff here that I know can be done, but I don't have the commands off the top of my head>

Internet from text mode: try the command "lynx http://www.linuxquestions.org"

<more stuff here that I know can be done, but I don't have the commands off the top of my head>

Games: *some* Windows games are available as native Linux ports. Others can be run using "wine", or "Cedega". Check up in the Linux-Software/Games forum for a lot of info.
 
Old 05-04-2005, 10:30 AM   #4
Aphex_Twin2
Member
 
Registered: May 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by oneandoneis2
- "startx" after modifying .xinitrc appropriately
What is .xinitrc?

Last edited by Aphex_Twin2; 05-04-2005 at 10:39 AM.
 
Old 05-04-2005, 10:37 AM   #5
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
.xinitrc = A file in your home directory. You won't see it unless you specifically look for hidden files - that's what the period at the front does.

"ls -a" will show hidden files from the command line, or edit the settings of your GUI file manager to see them
 
Old 05-04-2005, 10:39 AM   #6
Aphex_Twin2
Member
 
Registered: May 2005
Posts: 54

Original Poster
Rep: Reputation: 15
I was interested in how I could set up the desktop environment from text mode. My Linux currently boots into what I understand is "runlevel 3". What configuration files will I have to modify to assign something like KDE to "runlevel 5" and to boot into that if possible.

And please explain what kind of changes will I have to make to .xinitrc

Last edited by Aphex_Twin2; 05-04-2005 at 10:42 AM.
 
Old 05-04-2005, 11:07 AM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Re: More Linux questions

Quote:
Originally posted by Aphex_Twin2
I have Slackware Linux installed, only I have a few questions:

What is the command to shut down the system (from text mode)?
Use halt or shutdown -h now - you may need to do this as root

Quote:
How do I load KDE or GNOME or another desktop environment from text mode (commands, permissions necessary, ...)?
Use the command xwmconfig and select which environment you want to boot to. Please note that this is a per user thing - if you do it as root only root gets the particular desktop, if done as the user, the user gets the desktop. And then run startx

Quote:
How do I make it so the system will boot automatically into KDE or GNOME?
As root, open the file /etc/inittab and change the first line. You will see the number 3, change it to a 5

Quote:
Can I make an interface that would allow the user to chose a desktop environment at startup? I'm thinking at something like a default setting and a few seconds to make a change (something similar to a boot loader).
Desktop Environments depend on having your distro and X started. Having changed /etc/inittab, you will then boot into a graphical login screen. There is an option there for whoever is trying to log in to change the Environment.

Quote:
Where is the LILO configuration file and how do I change the boot labels?
/etc/lilo.conf, use a text editor (nano, pico, vi, emacs, kwrite, etc etc) as root and change them. Then, still as root, run /sbin/lilo

Quote:
How do I make the text mode use frame buffering (increased resolution, more rows and collumns)?
My number is 788. Try a few and see what happens.

Quote:
Can I playback mp3s or mpeg clips from text mode? What do I use for that?
As mentioned, mpg123 and 123mpg. MPlayer also has a command line only version.

Quote:
Are there programs that use only the X Window System, without the desktop environment?
Anything with a gui. Like Firefox, Thunderbird, Kwrite. Maybe if you tell us the type of program we can narrow it down.

Quote:
How do I use the Internet from text mode (browsing, e-mail, chat), if I can do that, and how do I set it up (assigning IP adresses, subnet mask et al...).
Links, Lynks, W3M are 3 text mode browsers. Pine is a text only email system. Chat programs..... http://linuxreviews.org/software/irc/index.html.en#toc5 will be of help

Quote:
Is Linux compatible with the Microsoft network protocols? Will Linux machines show up when a Windows system queries the "My Network Places" or "Network neighbourhoor"? What is the Linux variant for "Network Neighbourhood"?
As mentioned Samba is what you need

Quote:
Can complex Windows programs (like games) be run from Linux? I'm thinking of my old Starcraft and Age of Empires or perhaps something like Counter-Strike...
You need Wine or Cedega are what you will need.

Quote:
Point me towards a couple of good Linux peer-to-peer utilities (like DC++ or E-mule).
BitTorrent and clients, aMule are 2 of the more popular. Also Limewire.

Can I suggest you either read the Slackware Book on the Slackware website, or get yourself a good basic Linux book from a bookstore or library - these are extremely basic questions that could have been answered with a quick Google, a search or by reading a book.
 
Old 05-04-2005, 12:32 PM   #8
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
Quote:
Originally posted by Aphex_Twin2
I was interested in how I could set up the desktop environment from text mode. My Linux currently boots into what I understand is "runlevel 3". What configuration files will I have to modify to assign something like KDE to "runlevel 5" and to boot into that if possible.

And please explain what kind of changes will I have to make to .xinitrc
Actually on slack it's runlevel 4. Runlevel 4 loads gdm (gnome display manager) on startup and allows you to choose what window manager to use. If KDE is installed on your system then that will be under the 'session' menu.

To change permenantly to runlevel 4, edit the file /etc/inittab and change the initdefault number from 2 to 4.
 
Old 05-05-2005, 10:12 AM   #9
Aphex_Twin2
Member
 
Registered: May 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Komakino
Actually on slack it's runlevel 4. Runlevel 4 loads gdm (gnome display manager) on startup and allows you to choose what window manager to use. If KDE is installed on your system then that will be under the 'session' menu.

To change permenantly to runlevel 4, edit the file /etc/inittab and change the initdefault number from 2 to 4.
Actually I did and it loads an unconfigured GNOME, not an interface choser, neither the default option (KDE).
But I can access KDE from runlevel 3. The kdm command loads an interface choser but some of the choices (more obscure desktop environments) crash the system.

I have a few additional questions:

How do I "kill" the desktop environment and/or X (to get back control if they crash)?

How can I make it so the system will be able to share the sound output among processes? I cannot seem to be able to use two media players at the same time. At times there is another process that has gained access to the sound (I have no idea how) and XMMS simply refuses to play.

A quirk I encountered is that XMMS will only play if I in advance start Kmix (from KDE).

How do I set XMMS as the default audio player for X?

How would I set mplayer as the default video player?

How do I gain root privileges if I am loaded into a desktop environment as a user?

How do I maintain the desktop icon pictures (the pictures, not the icons) if I switch desktop environments? For instance, if I created an icon in KDE with Tux the penguin as the picture, how do I get Tux from GNOME (Do I have to set it up manually?)

And a few general issues:
In MS-DOS Batch you could use the ren command the following way: "ren *.abc *.xyz", changing the extension of the ".abc" files into ".xyz". How do I do that with Linux bash (mv *.abc *.xyz does not work)?

What is the name of the Linux command interpreter and where does it reside?

When I type "\" the system prompts me with a ">" character. What does the "\" do?

Does the system load up a bash script on start-up? If so, what is it called and where is it located?

Where do I find a relatively comprehensive and quick-to-learn bash tutorial?



As I'm getting round the Linux system I'm starting to realize it's not the lack of features that plague it, rather the overwhelming abundance of them. Too many things to chose from... But I'm developing a fondness for KDevelop

Last edited by Aphex_Twin2; 05-05-2005 at 10:19 AM.
 
Old 05-05-2005, 10:28 AM   #10
Aphex_Twin2
Member
 
Registered: May 2005
Posts: 54

Original Poster
Rep: Reputation: 15
And what do I use for the following purposes (from KDE):
- CD burning
- creating iso images
- ripping audio CDs


Is KDevelop exclusively for writing free software, or is there room for commercial apps too (legally, that is, and what are the limitations, if any).

Last edited by Aphex_Twin2; 05-05-2005 at 10:32 AM.
 
Old 05-05-2005, 11:02 AM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Aphex_Twin2 - I think you would be better served by looking up your local LUG and attending a few sessions. You are asking a huge number of unrelated questions and they could all be answered by searching LQ, searching via Google and reading some books and the Man pages. As it goes, if you are asking this many questions then you really need to do some research.
 
Old 05-05-2005, 11:06 AM   #12
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
How do I "kill" the desktop environment and/or X (to get back control if they crash)?

- Ctrl-Alt-F1 takes you to a terminal

How can I make it so the system will be able to share the sound output among processes? I cannot seem to be able to use two media players at the same time. At times there is another process that has gained access to the sound (I have no idea how) and XMMS simply refuses to play.

- configure alsa to share, and tell all aps to use alsa

How do I set XMMS as the default audio player for X?

- You don't, that's a KDE setting

How do I gain root privileges if I am loaded into a desktop environment as a user?

- Open a terminal and type "su -"

How do I maintain the desktop icon pictures (the pictures, not the icons) if I switch desktop environments? For instance, if I created an icon in KDE with Tux the penguin as the picture, how do I get Tux from GNOME (Do I have to set it up manually?)

- You have to do it manually

Does the system load up a bash script on start-up? If so, what is it called and where is it located?

.bashrc and .bash_profile (and possibly .login, I forget)

Where do I find a relatively comprehensive and quick-to-learn bash tutorial?

- Google

And what do I use for the following purposes (from KDE):
- CD burning
- creating iso images
- ripping audio CDs

- Grip and Cdrecord
 
Old 05-05-2005, 11:16 AM   #13
Aphex_Twin2
Member
 
Registered: May 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by oneandoneis2
- Ctrl-Alt-F1 takes you to a terminal
I want to terminate the X and KDE sessions and possibly start new ones. The Ctrl-Alt-Fs merely sweep the problem under a rug.

Quote:
How do I set XMMS as the default audio player for X?

- You don't, that's a KDE setting
Do you know how to make it default for KDE?

Quote:
How do I gain root privileges if I am loaded into a desktop environment as a user?

- Open a terminal and type "su -"
I want to for instance use XMMS to modify an mp3 file from the windows partition (that is read only for users). su only gives me that power from the terminal, not the KDE in general.
 
Old 05-05-2005, 11:29 AM   #14
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
I want to terminate the X and KDE sessions and possibly start new ones. The Ctrl-Alt-Fs merely sweep the problem under a rug.

- Yes, but from the terminal you change to runlevel 3, thus killing X and any processes it's running

Do you know how to make it default for KDE?

- No, don't use it. Far too bloated.

I want to for instance use XMMS to modify an mp3 file

- XMMS isn't an editor. But you can run KDE apps from the terminal as root
 
Old 05-05-2005, 11:38 AM   #15
Aphex_Twin2
Member
 
Registered: May 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by oneandoneis2
- Yes, but from the terminal you change to runlevel 3, thus killing X and any processes it's running

What is the command? I've been using runlevels through the /etc/bintab
Do you know how to make it default for KDE?

Quote:
- XMMS isn't an editor. But you can run KDE apps from the terminal as root
I use it to change file specifications (artist, title, etc...)

Last edited by Aphex_Twin2; 05-05-2005 at 01:19 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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Linux! Got a few questions krazibon3 Linux - Newbie 8 08-25-2004 05:20 AM
I have a questions regarding Linux... Dont know Linux Linux - Newbie 3 12-22-2003 12:42 AM
New to Linux.... got a few questions Siorai Slackware 8 08-06-2003 09:35 PM
100% Linux n00b with a ton of Linux questions Foxy Linux - General 21 07-30-2003 03:47 PM
A few questions about Linux.... Config Programming 3 06-11-2002 11:18 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration