View previous topic :: View next topic |
Author |
Message |
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Mon Oct 17, 2011 12:15 pm Post subject: How do I set up slim and login screen? [SOLVED] |
|
|
Im still looking over the gentoo handbook but I don't see anywhere how you set up to start directly in slim and how to enable the log on lock screen when the computer goes to sleep; I also cannot use the xfce panel feature that hides the panel but when u hover the mouse next to it it pops up again but I'm using compiz so I don't know if that would affect anything
Last edited by Eddi3x3 on Mon Oct 17, 2011 4:39 pm; edited 1 time in total |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Oct 17, 2011 12:26 pm Post subject: |
|
|
Did you consult this?
http://www.gentoo.org/doc/en/xfce-config.xml
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
tclover Guru
Joined: 10 Apr 2011 Posts: 516
|
Posted: Mon Oct 17, 2011 12:30 pm Post subject: |
|
|
Merge slim and then put "slim" to `/etc/conf.d/xdm' DISPLAYMANAGER=slim. You may read ssuominen sticky post (DE sub forum) if your running a hal free system. And then (add themes to `/usr/share/slim/themes' and) edit `/etc/slim.conf' to configure slim the way you want it to behave, the tips and tricks from the hal free sticky post may be of help here. And that's all. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Mon Oct 17, 2011 12:58 pm Post subject: |
|
|
damn that was a fast response, thanks |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Mon Oct 17, 2011 12:59 pm Post subject: |
|
|
I still cannot reboot, suspend or hibernate in the login menu though on xfce |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Mon Oct 17, 2011 2:32 pm Post subject: |
|
|
When I boot up and try to login but it says it fails to execute login |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Mon Oct 17, 2011 3:21 pm Post subject: |
|
|
Failed to execute log in command is what comes up in slim |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Mon Oct 17, 2011 4:38 pm Post subject: |
|
|
Figured out it was the dhcpcd changing my hostname when the wireless booted up and connected to my school's network, just take out the host_name variable from the line that starts with "options" in the dhcpcd.conf |
|
Back to top |
|
|
Carrion n00b
Joined: 19 Oct 2011 Posts: 12 Location: Mesa, AZ
|
Posted: Sat Nov 19, 2011 5:06 am Post subject: |
|
|
The "Failed To Execute Login Command" from Slim is likely happening because you don't have a ~/.xinitrc file. This file isn't created by default because of other login managers that are created from their respective desktop environments (e.g. kde). All you have to do is create that file and put in "exec startxfce4" or whatever your desktop environment is. My example refers to xfce4, which I'm assuming you're using.
You can just do:
Code: | echo "exec startxfce4" >> ~/.xinitrc |
That command will make the file for you into the home folder of the user you're logged in as. If you use that as root, it's going to use xfce4 computer-wide which might not be desirable. If you do it as a certain user, it will only start xfce4 for him/her.
If you want to start directly in slim, one of the easiest methods (and my personal preference) is to edit the inittab file and set the default run level to 4, or a graphical user interface by default. Run level 3 can use the X server, but why do it if run level 4 is already set to do so? Anyways, edit /etc/inittab with your favorite editor. Here I use vim, but a good portion of the Gentoo Handbook uses nano, so that might be desirable:
Quote: | My inittab:
Code: |
#
# /etc/inittab: This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@cistron.nl>
# Modified by: Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
# Modified by: Daniel Robbins, <drobbins@gentoo.org>
# Modified by: Martin Schlemmer, <azarah@gentoo.org>
# Modified by: Mike Frysinger, <vapier@gentoo.org>
# Modified by: Robin H. Johnson, <robbat2@gentoo.org>
#
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab-2.87,v 1.1 2$
# Default runlevel.
id:4:initdefault:
|
|
As you can see, under Default runlevel. I've set my id to 4. The default is 3. Further down the file is a list of what the other ones are. Don't set the id to 0 or 6.
As for the XFCE panel showing itself only when you hover it likely means you have "Automatically show and hide the panel" enabled. I doubt it's something with compiz.
Go to:
Application Launcher (right click your Desktop) > Applications > Settings > Panel.
Under the "Display" tab uncheck "Automatically show and hide the panel." |
|
Back to top |
|
|
|