Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trouble setting up slim
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mreff555
Apprentice
Apprentice


Joined: 10 Mar 2011
Posts: 231
Location: Philadelphia

PostPosted: Sun Oct 13, 2013 11:29 am    Post subject: trouble setting up slim Reply with quote

I don't recall ever having trouble setting up slim before. but no matter what I do, when slim logs in it loads the xserver but no wm
Here is what I have done after emerging slim.

I added xdm to the default rc

I changed the DISPLAYMANAGER value in /etc/conf.d/xdm

I made a few small changes in slim.conf, mainly just turning off numlock and messing with this section
Code:

# NOTE: if your system does not have bash you need
# to adjust the command according to your preferred shell,
# i.e. for freebsd use:
  login_cmd           exec /bin/sh - ~/.xinitrc %session
# login_cmd           exec /bin/bash -login ~/.xinitrc %session
# login_cmd           exec /bin/bash -login /usr/share/slim/Xsession %session
[quote]
I have tried the top two options with the same result. in the past I know I used the second

here is my .xinitrc

xcompmgr &
eval $(~/.fehbg)
i3
Code:


I'm sure this is something stupid because I have this same setup on another system, and it works fine
[/quote] Any ideas?
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Mon Oct 14, 2013 6:36 pm    Post subject: Reply with quote

Code:
emerge twm xterm xclock
DISPLAYMANAGER=xdm
XSESSION= twm in  /etc/env.d/90xsession
source /etc/profile && env-update
/etc/init.d/xdm stop
startx


in xterm type xcompmgr. Are any errors dumped to the terminal :?:
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
mreff555
Apprentice
Apprentice


Joined: 10 Mar 2011
Posts: 231
Location: Philadelphia

PostPosted: Tue Oct 15, 2013 1:24 pm    Post subject: Reply with quote

Nope, which is actually surprising because I don't have twm installed. In the past it usually crashed the X server if it didn't have a wm to load.

So in addition to slim I tried lightdm with the exact same problem. I'm using GDM for now which strangely enough works flawlessly.
I'm not a huge fan of GDM but at this rate I may just stick with it to avoid complications. I just can't figure out what is going on. I've set up
Slim on Gentoo half a dozen times and never had this problem.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Oct 15, 2013 1:55 pm    Post subject: Reply with quote

OK go back to xterm, type:
Code:
echo $(~/.fehbg)

Is anything returned?
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 887
Location: Germany

PostPosted: Wed Oct 16, 2013 5:37 am    Post subject: Reply with quote

Do you get "Failed to execute login command"?
This seems to be an error that was introduced to Slim very recently. I just installed Gentoo on a new machine recently and I had to choose a session with F1 before Slim would log in.
In another thread (about Fluxbox, I think) Cachorro or someone pointed out the solution:
https://forums.gentoo.org/viewtopic-t-951578-highlight-slim+fluxbox.html
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
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