You are not logged in.

#1 2015-02-24 15:39:14

Rew
Member
Registered: 2009-11-08
Posts: 15

[SOLVED] Uninstalling SLiM breaks WM

I've used SLiM for a while but decided today that I wanted to remove it.  Unfortunatly now my window manager (XFCE) doesn't function after I login.

Steps I took to remove SLiM:
1. pacman -R slim
2. systemctl disable slim

Results:
After logging in on the console and typeing "startx", I see the desktop (XFCE) with all my panels and desktop icons, etc.  The mouse moves, however nothing is clickable.  It is as if I am looking at a static picture of my desktop.

Probably something simple that I'm overlooking but I can't figure it out.  Ideas?  Thanks in advance!

Last edited by Rew (2015-02-24 17:49:00)

Offline

#2 2015-02-24 15:46:35

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: [SOLVED] Uninstalling SLiM breaks WM

What is in your .xinitrc?


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

#3 2015-02-24 15:48:16

Rew
Member
Registered: 2009-11-08
Posts: 15

Re: [SOLVED] Uninstalling SLiM breaks WM

My .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 gnome-session
# exec startkde
 exec startxfce4
# ...or the Window Manager of your choice

Offline

#4 2015-02-24 15:49:04

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] Uninstalling SLiM breaks WM

Also check out your .xprofile as display managers usually source that rather than the .xinitrc file.


Knute

Offline

#5 2015-02-24 15:50:25

Rew
Member
Registered: 2009-11-08
Posts: 15

Re: [SOLVED] Uninstalling SLiM breaks WM

I do not have a .xprofile
Do I need this?  I can't recall ever having one.

Offline

#6 2015-02-24 15:53:57

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] Uninstalling SLiM breaks WM

No.  but it was worth checking.

I know this is going to sound like Microsloth tech support, but have you rebooted yet?


Knute

Offline

#7 2015-02-24 15:55:47

Rew
Member
Registered: 2009-11-08
Posts: 15

Re: [SOLVED] Uninstalling SLiM breaks WM

Haha yes indeed I have rebooted wink  The problem persists.

Offline

#8 2015-02-24 15:57:53

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] Uninstalling SLiM breaks WM

Just checking! smile

Have you moved your xfce config files?  If the problem lies in one of them, by moving they'll be recreated.  I'm talking the ones in your /home.


Knute

Offline

#9 2015-02-24 16:00:36

Rew
Member
Registered: 2009-11-08
Posts: 15

Re: [SOLVED] Uninstalling SLiM breaks WM

Which files/folders specifically?  .config/?  or more?

Thanks for all the help my friend!

Offline

#10 2015-02-24 16:02:23

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] Uninstalling SLiM breaks WM

I don't actually use xfce, so I'm not sure.  I believe that the files you are looking for are in .config.  You might also check .local as well.


Knute

Offline

#11 2015-02-24 16:31:30

Rew
Member
Registered: 2009-11-08
Posts: 15

Re: [SOLVED] Uninstalling SLiM breaks WM

I did some research and it looks like ~/.cache/sessions is the folder you're getting at.  I moved both though, and the result was a blank screen after running "startx".  hmm

"pacman -S slim && systemctl enable slim" restores functionality.

Offline

#12 2015-02-24 16:50:14

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Uninstalling SLiM breaks WM

I'm pretty sure SLiM just uses your "~/.startx" file to start X, so that shouldn't be an issue.

It sounds like something is super messed up. Either you made a change that you don't remember or a some software was naughty and changed something it wasn't supposed to. So here's my advice:

Create a new user, copy your ".startx" file to the new user's home directory, and start X. Does XFCE work correctly? If yes, then there's something super funky going on in your XFCE configuration files. smile

Offline

#13 2015-02-24 17:05:52

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] Uninstalling SLiM breaks WM

This may sound kind of wierd, but do you have another window manager installed?

What I am suggesting is to change the startxfce4 line in your .xinitrc file to something else, and try it with the different window manager, without slim. 
If the different window manager comes up normally, then it's your config.  If it doesn't, then my guess would be that somethings screwy in X.


Knute

Offline

#14 2015-02-24 17:48:32

Rew
Member
Registered: 2009-11-08
Posts: 15

Re: [SOLVED] Uninstalling SLiM breaks WM

Well, I got it fixed!  drcouzelis and Knute, you were both right.  (user error, haha)

I created a new user and it worked just fine.  I also tried AwesomeWM and that worked fine too.  So I started going through the folders in ~/.config trying to find the problem via proccess of elimination.

The culprit was a manually created entry in ~/.config/autostart/ that I had added a while back to automatically adjust the screen brightness on boot.  This script used sudo (I had it setup to work without a password), but recently I switched back to requiring a password.  For whatever reason that didn't matter when I was using a display manager, however once it was removed that locked it up.  I assume XFCE was just waiting for a password in the background and thus froze.  I removed that autostart entry and now everything works.

Thanks for the help everyone!  I appreciate it.

Offline

Board footer

Powered by FluxBB