LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-17-2003, 11:44 PM   #1
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Rep: Reputation: 30
KDE or Gnome Choice at Login


Forgive me for comparing but I ca't help it- Mandrake gives me a choice between KDE,Gnome and Icewin,etc during login.
How can I do that in Slack?

further to this how to make a login screen?
 
Old 06-18-2003, 12:53 AM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
I don't know how to set up some kind of multiple-choice menu at login, however, you can switch between KDE and Gnome by running xwmconfig (which is located in the /usr/X11R6/bin directory.) It's highly useful to try out both of them initially to determine which one you prefer, but long term, I would think that you'll probably end up sticking with one. Good luck -- J.W.
 
Old 06-18-2003, 06:29 AM   #3
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
if you are looking for a graphical boot menu with the ability to choose between the different environment then do a $ telinit 4
That is going to take you to the graphical login menu. If you like it then edit the /etc/inittab file and make init 4 your default boot option.

Figa
 
Old 06-19-2003, 11:16 PM   #4
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Very nice! Any idea how to customize the X11 sesion manager(I am assuming this is what is is called-saw it in start).

The only drawback in it is that it does not give a choice to reboot or shutdown(except if you are logged as root).
thanks!
 
Old 06-20-2003, 06:30 PM   #5
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
Typically on a multi-user machine you don't want anyone but the root to be able to shutdown or reboot. If you're the only person who uses your computer, then it's ok and probably neccissary (not a good idea to log on as root to shutdown if you do it often).

I'm not sure what the best way to do this is, you might try making /sbin/shutdown and/or /sbin/reboot executable by everyone (or a "local" group).

If you only use the GUI you can then put a button in gnome to run the shutdown -h and reboot commands.

There may be a better way, but this is what I do.

When you think of something as a "drawback" in linux often remembering what it's 'typical operating enviroment" is (or was). I think you can understand how you don't want one of 50 currently logged in users deciding to reboot the machine from his office upstairs With linux shuting down/rebooting isn't that important. I run weeks at a time before I reboot for some reason (usually because I need access to a win program).

Greg
 
Old 06-20-2003, 06:35 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
But some of us have noisy hot machines in their rooms, and they're just used as desktop boxes, no servers to keep running
 
Old 06-20-2003, 10:23 PM   #7
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Created an icon on the desktop for shutdown. No problem for me. I am now using the init 4.
 
Old 06-22-2003, 12:34 AM   #8
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
To make everybody able to shutdown and reboot the pc try the following as root:
chmod u+s /sbin/halt
chmod u+s /sbin/reboot

If you are using fluxbox or something like that, just add these commands to the menu and you can reboot or halt by just clicking on these options.


Figa
 
Old 06-22-2003, 08:34 AM   #9
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 247

Rep: Reputation: 31
To get a shutdown option in GDM (the default graphical login for Slack 9) just run gdmconfig as root, go to the security tab and check "Show system menu."

Last edited by Rodrin; 06-22-2003 at 09:50 AM.
 
Old 06-23-2003, 06:45 AM   #10
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Original Poster
Rep: Reputation: 30
The keyword on all posts here is "root". I still prefer to create a desktop link to application with the command "su-c halt" on the it,checked the box "open in terminal". I enter my root password and the pc shutsdown.
 
Old 08-15-2003, 06:36 AM   #11
planet09
LQ Newbie
 
Registered: Aug 2003
Location: Romania
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Tnx figadiablo for the tip with init 4
 
Old 08-15-2003, 07:46 AM   #12
nacha
Member
 
Registered: Jul 2003
Posts: 43

Rep: Reputation: 15
Hi,

I followed trend and I have a questions How can I do $ telinit 4?

@ figadiablo I am reading your page about fluxbox .
 
Old 08-15-2003, 10:16 PM   #13
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
to do telinit 4 you have to become root and then type telinit 4.
If you want to keep it permanet in init 4 then go to edit the /etc/inittab and look for this section:

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

and change it to 4 instead of three.

Nacha I hope that my page helps you. Espero que te ayude mi pagina, suerte!!!

Paz !
Figa
 
Old 08-15-2003, 10:18 PM   #14
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Quote:
Originally posted by planet09
Tnx figadiablo for the tip with init 4
No problem!! Just keep posting if you have any questions.

Figa
 
  


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
KDE - Gnome choice in SUSE10 jknedlik Suse/Novell 1 11-21-2005 11:29 AM
KDE, Gnome Choice BooDa72 Linux - Newbie 6 03-04-2005 12:11 PM
When I login why isnt the gnome gui choice there? Fiery Mandriva 9 04-13-2004 07:20 PM
Gnome/KDE choice for Palm-sync nielchiano Linux - Software 2 02-16-2004 11:43 PM
Gnome/KDE choice Andy@DP Linux - Newbie 3 08-16-2003 01:49 PM


All times are GMT -5. The time now is 05:21 PM.

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