| View previous topic :: View next topic |
| Author |
Message |
ds2369 n00b

Joined: 09 May 2012 Posts: 6
|
Posted: Wed May 09, 2012 7:03 am Post subject: SLiM and dwm login issue |
|
|
Hi there, this is my first time with Gentoo. Coming from Arch and Debian.
Anyway, I have slim and dwm installed but after I type in my password it goes to a black screen with an "X" mouse cursor.
My ~/.xinitrc is just exec dwm.
I've gotten dwm up before by typing startx, but for some reason it won't start with slim.
Specs: Pentium 4, 1.3GB RAM, Radeon 9600
Here's my slim and xorg log files.
http://pastebin.com/8Zscxe8B
http://pastebin.com/jQ7fVR6z
Thanks in advance, Gentoo seems like a fantastic distro, I really want to get it working! |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
Posted: Wed May 09, 2012 9:09 pm Post subject: |
|
|
Check the "login_cmd" in /etc/slim.conf. Make sure you have
| Code: |
login_cmd exec /bin/bash -login ~/.xinitrc %session
|
instead of
| Code: |
login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session
|
It should be there - just uncomment the right one and comment out all the others. _________________ Gentoo Studio: http://gentoostudio.org
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Linux 'Tude Tees: http://skreened.com/geektudetees
A cloud is evaporated water in the sky, thanks. |
|
| Back to top |
|
 |
ds2369 n00b

Joined: 09 May 2012 Posts: 6
|
Posted: Thu May 10, 2012 8:30 pm Post subject: |
|
|
The .xinitrc one was already uncommented.  |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
|
| Back to top |
|
 |
ds2369 n00b

Joined: 09 May 2012 Posts: 6
|
Posted: Mon May 21, 2012 8:57 am Post subject: |
|
|
| audiodef wrote: | | Hm... please post your .xinitrc and slim.conf. |
xinitrc is just
| Code: | #!/bin/bash
exec /usr/bin/dwm |
slim.conf
http://pastebin.com/ZsJ6eaCm |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
|
| Back to top |
|
 |
ds2369 n00b

Joined: 09 May 2012 Posts: 6
|
Posted: Mon May 21, 2012 3:50 pm Post subject: |
|
|
Yes.
I think I'll try the consolekit fix like in this thread.
But how can I get to a terminal if it goes straight to the black screen? |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
Posted: Mon May 21, 2012 6:53 pm Post subject: |
|
|
I remember something about consolekit, so hopefully that will help.
When your machine starts, go into interactive mode and tell xdm not to start. You will then have a basic terminal and can add the consolekit fix. Actually, I would rc-update del xdm until you get it fixed. You can test it by doing /etc/init.d/xdm start/restart from VT1. _________________ Gentoo Studio: http://gentoostudio.org
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Linux 'Tude Tees: http://skreened.com/geektudetees
A cloud is evaporated water in the sky, thanks. |
|
| Back to top |
|
 |
ds2369 n00b

Joined: 09 May 2012 Posts: 6
|
Posted: Tue May 22, 2012 11:37 am Post subject: |
|
|
| audiodef wrote: | | When your machine starts, go into interactive mode and tell xdm not to start. |
Sorry, how do I do that?
I searched around and couldn't find anything.
I appreciate the help. |
|
| Back to top |
|
 |
popsUlfr Tux's lil' helper

Joined: 27 Feb 2011 Posts: 80
|
Posted: Tue May 22, 2012 12:00 pm Post subject: |
|
|
| ds2369 wrote: | | audiodef wrote: | | When your machine starts, go into interactive mode and tell xdm not to start. |
Sorry, how do I do that?
I searched around and couldn't find anything.
I appreciate the help. |
You can press 'I' during boot up to enter interactive mode. Unless you have set 'rc_interactive' to 'NO' in your rc.conf.
If you're using grub you can edit your boot menu entry (with 'e') and append 'init=Single' to your kernel parameters, it should then drop you to a usable terminal. |
|
| Back to top |
|
 |
audiodef Advocate


Joined: 06 Jul 2005 Posts: 4952
|
Posted: Tue May 22, 2012 12:58 pm Post subject: |
|
|
| popsUlfr wrote: |
If you're using grub you can edit your boot menu entry (with 'e') and append 'init=Single' to your kernel parameters, it should then drop you to a usable terminal. |
I think you have to do this with the latest kernels now. _________________ Gentoo Studio: http://gentoostudio.org
Pappy's Kernel Seeds: http://kernel-seeds.gentoostudio.org
Linux 'Tude Tees: http://skreened.com/geektudetees
A cloud is evaporated water in the sky, thanks. |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
|
| Back to top |
|
 |
|