You are not logged in.

#1 2012-10-09 15:25:31

kravecm
Member
Registered: 2012-10-09
Posts: 20

Can't login into OpenBox with SLIM

I've recently installed ArchLinux. I had archlinux before, but I've got strange slim behaviour now.

If I login as normal user and use `startx` everything works fine.
If I start slim as root and login as normal user slim doesn't execute .xinitrc, I have only black screen and mouse.
If I start slim via inittab and log in as normal user slim only blinks to black and I have one more instance of X - xorgs server.


Just algorithmic and OpenGL programmer running on:
Laptop: HP ProBook 4530s  OS: Manjaro Linux (x86_64)  DE: GNOME
PC: Intel G3258, 8GB RAM  with Geforce 750Ti 2GB  on MSI H81M-P33  in FractalDesign Node 804
OS: ArchLinux (x86_64)  WM: i3  DM: SLIM

Offline

#2 2012-10-09 15:28:03

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Can't login into OpenBox with SLIM

Welcome (back) to Arch. I hope you don't mind my asking this, but if it works with "startx" why do you want to use SLiM?

Is .xinitrc executable? It doesn't have to be for "startx" but according to the wiki it does for SLiM.

Last edited by 2ManyDogs (2012-10-09 15:29:55)

Offline

#3 2012-10-09 15:34:49

kravecm
Member
Registered: 2012-10-09
Posts: 20

Re: Can't login into OpenBox with SLIM

I'd like to use slim, because of graphical login and because it's most lightweight display manager I know.

[miroslav@miroslav-laptop ~]$  ls -a -l |grep .xinitrc
-rwxr-xr-x  1 miroslav users  254 Oct  9 16:59 .xinitrc
[miroslav@miroslav-laptop ~]$ cat .xinitrc 
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

#if [ -d /etc/X11/xinit/xinitrc.d ]; then
#  for f in /etc/X11/xinit/xinitrc.d/*; do
#    [ -x "$f" ] && . "$f"
#  done
#  unset f
#fi

exec dbus-launch openbox-session

Last edited by kravecm (2012-10-09 15:35:31)


Just algorithmic and OpenGL programmer running on:
Laptop: HP ProBook 4530s  OS: Manjaro Linux (x86_64)  DE: GNOME
PC: Intel G3258, 8GB RAM  with Geforce 750Ti 2GB  on MSI H81M-P33  in FractalDesign Node 804
OS: ArchLinux (x86_64)  WM: i3  DM: SLIM

Offline

#4 2012-10-09 15:38:18

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Can't login into OpenBox with SLIM

I think LightDM might be lighter and easier to use than SLiM. I don't use a login manager so I'll let someone else sort out your problems with SLiM.

Last edited by 2ManyDogs (2012-10-09 15:39:54)

Offline

#5 2012-10-09 16:15:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Can't login into OpenBox with SLIM

How about you take out the dbus-launch and see what it does? 

Also, please post your slim.conf.

Offline

Board footer

Powered by FluxBB