You are not logged in.

#1 2008-04-22 23:52:34

blazinggale
Member
Registered: 2008-04-22
Posts: 8

Problems with Xfce4

I tried installing slim + xfce4. Now I'm encountering some problems. First, I think the 'aliases' (i dunno what they are called) of some commands (shutdown, poweroff, reboot) disappeared after I installed xfce4. E.g. I type in reboot and it bash says command not found tho /sbin/reboot works fine. Should I be bothered by that? My power controls isn't working yet because of the dbus setup. Shouldn't the dbus user be automatically created in dbus' installation? I think this is related with my first problem since I also noticed that groupadd command isn't 'aliased'. I'll create the dbus user and group manually after this post (I'm in windows since I can't find a working winmodem driver yet). Lastly, Xfce4 can't manage my desktop. And after logging in with slim, its background sticks and becomes xfce4's wallpaper. I haven't configured xfce4 yet. I've just installed the xfce4 and xfce4-goodies groups. Hope you guys could help me. Thanks.

Offline

#2 2008-04-23 03:12:51

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Problems with Xfce4

You probably have a file in /etc named profile.pacnew.  If you have made *NO* changes to the profile file, it is safe to rename profile.pacnew to profile.  Otherwise, copy any additions/changes you made to the .pacnew file before renaming it.

Do a
ls /etc/*pac*

if you have other .pacnew files, do the same with them.

Offline

#3 2008-04-23 08:30:15

blazinggale
Member
Registered: 2008-04-22
Posts: 8

Re: Problems with Xfce4

I'll check that out. Will that fix the missing commands? I tried to install the nvidia package too and it wasn't properly installed. An error says it wasn't listed in /proc/modules or something like that when I try to manually do rmmod nvidia which was in the install script.

Offline

#4 2008-04-23 11:17:10

blazinggale
Member
Registered: 2008-04-22
Posts: 8

Re: Problems with Xfce4

I found mkinitcpio.conf.pacnew and renamed it to mkinitcpio.conf but it didn't fixed the missing commands. I can't use power control commands with a normal user in the power group because only /sbin/*command* works. It seems like only commands in /sbin are experiencing this.

Offline

#5 2008-04-23 11:59:17

Ambi
Member
From: Warsaw, Poland
Registered: 2007-11-29
Posts: 44

Re: Problems with Xfce4

After every change of mkinitcpio.conf file you should run command

mkinitcpio -p kernel26

command. But mkinitcpio have nothing to do with this issue.

Offline

#6 2008-04-23 12:28:50

Dirhael
Member
From: /cold/north
Registered: 2008-03-12
Posts: 46

Re: Problems with Xfce4

Something's not right with your /etc/slim.conf file. Check if you have a new version of it and make sure that the values for hald_cmd & reboot_cmd are correct. By default they are referring to the shutdown command to with the full path, so as long as you can run /sbin/shutdown from the command line it's just about impossible for it not to work from slim.

As for your problem with xfce, open "desktop settings" (or something like that...I'm not in xfce at the moment) from the xfce menu, and place a checkmark in the box where it says to allow xfce to manage the desktop.

Last edited by Dirhael (2008-04-23 12:29:39)

Offline

#7 2008-04-23 20:25:03

blazinggale
Member
Registered: 2008-04-22
Posts: 8

Re: Problems with Xfce4

The problem is that when a script issues a command in /sbin, I think it doesn't always prepend the directory. E.g. while installing the nvidia package, only rmmod is called not /sbin/rmmod. I can't also use /sbin commands with a normal user even if I have privileges too. E.g. I can't do a reboot even if I'm in the power group. I think this has something to do with paths. And it all started after installing xfce and upgrading some dependencies. As with the other xfce issue (the desktop one). I tick the checkbox and nothing happens. Where does pacman and xfce keep its logs? Maybe I can find some clues there.

Offline

#8 2008-04-23 20:27:24

blazinggale
Member
Registered: 2008-04-22
Posts: 8

Re: Problems with Xfce4

I think I should've posted in the newbie section. Sorry.

Offline

#9 2008-04-23 21:09:00

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Problems with Xfce4

Please post your /etc/profile, especially your $PATH.

Offline

#10 2008-04-23 21:22:01

blazinggale
Member
Registered: 2008-04-22
Posts: 8

Re: Problems with Xfce4

# 
# /etc/profile
#
# This file is intended to be used for ALL common
# Bourne-compatible shells. Shell specifics should be
# handled in /etc/profile.$SHELL where $SHELL is the name
# of the binary being run (discounting symlinks)
#
# Sections taken from SuSe's /etc/profile
# Note the explicit use of 'test' to cover all bases
#  and potentially incompatible shells

#Determine our shell without using $SHELL, which may lie
shell="sh"
if test -f /proc/mounts; then
   case $(/bin/ls -l /proc/$$/exe) in
        *bash) shell=bash ;;
        *dash) shell=dash ;;
        *ash)  shell=ash ;;
        *ksh)  shell=ksh ;;
        *zsh)  shell=zsh ;;
    esac
fi

# Load shell specific profile settings
test -f "/etc/profile.$shell" &&  . "/etc/profile.$shell"

#Set our umask
umask 022

# Set our default path
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
export PATH

# Some readline stuff that is fairly common
HISTSIZE=1000
HISTCONTROL="erasedups"

INPUTRC="/etc/inputrc"
LESS="-R"
LC_COLLATE="C"

export HISTSIZE HISTCONTROL INPUTRC LESS LC_COLLATE

# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
    for profile in /etc/profile.d/*.sh; do
        test -x $profile && . $profile
    done
    unset profile
fi

# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP

# Man is much better than us at figuring this out
unset MANPATH

But when I do echo $PATH. It doesn't include /sbin and has a ./ entry.

Offline

#11 2008-04-23 21:50:40

blazinggale
Member
Registered: 2008-04-22
Posts: 8

Re: Problems with Xfce4

Found out what to do. I made xterm exec command as a login shell. The desktop issue is now my only problem.

Offline

Board footer

Powered by FluxBB