Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SLiM and dwm login issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ds2369
n00b
n00b


Joined: 09 May 2012
Posts: 6

PostPosted: Wed May 09, 2012 7:03 am    Post subject: SLiM and dwm login issue Reply with quote

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
View user's profile Send private message
audiodef
Advocate
Advocate


Joined: 06 Jul 2005
Posts: 4952

PostPosted: Wed May 09, 2012 9:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
ds2369
n00b
n00b


Joined: 09 May 2012
Posts: 6

PostPosted: Thu May 10, 2012 8:30 pm    Post subject: Reply with quote

The .xinitrc one was already uncommented. :?
Back to top
View user's profile Send private message
audiodef
Advocate
Advocate


Joined: 06 Jul 2005
Posts: 4952

PostPosted: Thu May 10, 2012 9:29 pm    Post subject: Reply with quote

Hm... please post your .xinitrc and slim.conf.
_________________
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
View user's profile Send private message
ds2369
n00b
n00b


Joined: 09 May 2012
Posts: 6

PostPosted: Mon May 21, 2012 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message
audiodef
Advocate
Advocate


Joined: 06 Jul 2005
Posts: 4952

PostPosted: Mon May 21, 2012 12:29 pm    Post subject: Reply with quote

Hm... you have "slim" in /etc/conf.d/xdm, right?
_________________
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
View user's profile Send private message
ds2369
n00b
n00b


Joined: 09 May 2012
Posts: 6

PostPosted: Mon May 21, 2012 3:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
audiodef
Advocate
Advocate


Joined: 06 Jul 2005
Posts: 4952

PostPosted: Mon May 21, 2012 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
ds2369
n00b
n00b


Joined: 09 May 2012
Posts: 6

PostPosted: Tue May 22, 2012 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
popsUlfr
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2011
Posts: 80

PostPosted: Tue May 22, 2012 12:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
audiodef
Advocate
Advocate


Joined: 06 Jul 2005
Posts: 4952

PostPosted: Tue May 22, 2012 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 440
Location: Kraków, PL

PostPosted: Wed May 23, 2012 10:26 am    Post subject: Reply with quote

Have you read the SLiM guide?
http://wiki.gentoo.org/wiki/SLiM
_________________
BTW, TWM FTW!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum