LinuxQuestions.org
Visit Jeremy's Blog.
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 09-24-2009, 03:42 AM   #1
beckettisdogg
Member
 
Registered: Mar 2009
Distribution: Slackware 13.0
Posts: 60

Rep: Reputation: 16
Just installed Slackware 13.0.... from DVD


I will be honest with you, the first time I installed it, it ran successfully for the first time, but it gave me errors the next time I turned it on.


I also noticed 13.0 does not come with gnome and enlightenment. I am going to install both of them now.


This is what I noticed. When I am done with my work on the Slackware Lin environment, I must first get out of the desktop envioronment and give the command exit. (log off)

then it is safe to turn the computer off. Is that correct?

I can't just turn my computer off while it is running a desktop enviornment. Is that correct?

What is the safest way to turn a Linux machine off?

thanks!! it does feel good to have finally installed it and no longer it becomes corrupt... (for now)

Last edited by beckettisdogg; 09-24-2009 at 04:01 AM.
 
Old 09-24-2009, 04:00 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by beckettisdogg View Post
I will be honest with you, the first time I installed it, it ran successfully for the first time, but it gave me errors the next time I turned it on.
What kind of errors?

Quote:
I also noticed 13.0 does not come with gnome and enlightenment. I am going to install both of them now.
That's right, slackware doesn't come with Gnome anymore and also enlightenment.

Quote:
This is what I noticed. When I am done with my work on the Slackware Lin environment, I must first get out of the desktop envioronment and give the command exit. (log off)

then it is safe to turn the computer off. Is that correct?

I can't just turn my computer off while it is running a desktop enviornment. Is that correct?
You can shutdown from your desktop environment. Make sure your user is in Power group:

Code:
# gpasswd -a username power
 
Old 09-24-2009, 04:37 AM   #3
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
Quote:
I must first get out of the desktop envioronment and give the command exit. (log off)
then it is safe to turn the computer off. Is that correct?


Almost. Once you are out of the desktop environment, doing the following should turn the computer power off for you:
# su -
# poweroff or # shutdown -h now


You don't want to just turn the power switch off.
 
Old 09-24-2009, 07:45 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
HI,

Just a few links to aid you for future reference;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide

These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 09-24-2009, 07:52 AM   #5
beckettisdogg
Member
 
Registered: Mar 2009
Distribution: Slackware 13.0
Posts: 60

Original Poster
Rep: Reputation: 16
it gave me unmounting errors. How can I prevent those errors in the future? It says some parts of my hard disk weren't properly mounted when I turned comp off.
 
Old 09-24-2009, 08:04 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

I thought you had already been given the correct advice. You should have your user in the 'power' group. As root the 'shutdown -h now' will;
Quote:
excerpt from 'man shutdown';
-h Halt or poweroff after shutdown
You must let the script to finish then your system should power off.
 
Old 09-24-2009, 08:26 AM   #7
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,075

Rep: Reputation: 189Reputation: 189
I keep seeing advice in this thread, and another one in the slack subforum that a user in the "power" group inherits shutdown (and by extrapolation, I suppose, reboot) rights, but this, simply, isn't the case (for me, anyway.)

My users on 3 separate slack -current or 13 boxes do not have permission to either reboot or shutdown even though they are in the "power" group.


Code:
user@localhost:$ /sbin/reboot
reboot: must be superuser.

user@localhost: $ /sbin/shutdown
shutdown: you must be root to do that!
In other words, one must take extra, or special steps, in order for a regular user to inherit shutdown and reboot permissions. Simply being a member of the "power" group does not accomplish this.

cheers,
 
Old 09-24-2009, 08:33 AM   #8
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
@ mrclisdue

You are right but the whole point of being able to reboot or shutdown by adding the user to power group,that I was referring to is through GUI and not command line. i don't need to use password swhen I click on shutdown or reboot button. If I try from a command line it will ask for root privilege.E.G-> When i installed LXDE, and didn't have my user on power group, the shutdown and reboot option didn't appear in the logout menu, however after adding the user in the power group they appeared and the user could shutdown and reboot without root privilege. I hope someone else can explain this phenomenon better.

Last edited by ~sHyLoCk~; 09-24-2009 at 09:07 AM.
 
Old 09-24-2009, 07:36 PM   #9
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,075

Rep: Reputation: 189Reputation: 189
@sHyLoCk,

Thank you for the clarification. I wasn't aware of this phenomenon, but come to think of it, I have seen this behaviour without recognizing the discrepancy.

I, too, would be interested in an explanation.

cheers,
 
Old 09-24-2009, 09:51 PM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
You only get the Restart and Shutdown options in the GUI menu if you're using default runlevel 4.
 
Old 09-25-2009, 06:22 AM   #11
beckettisdogg
Member
 
Registered: Mar 2009
Distribution: Slackware 13.0
Posts: 60

Original Poster
Rep: Reputation: 16
Anyone cares to give me step-by-step instructions for installing Enlightenment and gnome? OR tell me where I can read the instructions?

Last edited by beckettisdogg; 09-25-2009 at 06:42 PM.
 
Old 09-25-2009, 09:59 PM   #12
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
beckettisdogg,

Quote:
Anyone cares to give me step-by-step instructions for installing Enlightenment and gnome? OR tell me where I can read the instructions?
I do care :-) Since Slackware 12.2 Gnome was no longer included in the installer package. However there are gnome packages for slackware available. Visit and download them from this site, of course the instructions are there and are more detailed than anyone can write it from here.

Also this (click) will provide another set of materials, with help/instructions you need.

Hope it helps.

Good luck.

Last edited by malekmustaq; 09-25-2009 at 10:02 PM.
 
  


Reply

Tags
essential


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
how do i burn a dvd on the el1300g-01w ive installed roxio easy cd & dvd burning fenyxone@yahoo.com General 3 08-11-2009 08:14 AM
Newly installed DVD drive won't boot perfectly good FC8 DVD cwlj Fedora - Installation 8 04-13-2008 12:37 AM
Slackware 11 + Linux 2.6.17.13-smp + Benq DVD-ROM = Can't read dvd johndlagart Linux - Hardware 2 06-22-2007 02:37 AM
Slackware - Unable to detect DVD Drive (in which installed the os) 99er Linux - Hardware 4 02-22-2006 07:27 AM
Automount DVD and playback when DVD installed khurtwilliams Linux - Software 2 05-28-2004 02:28 PM


All times are GMT -5. The time now is 12:50 AM.

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