You are not logged in.

#1 2008-03-17 06:51:27

Shininggg
Member
Registered: 2008-03-17
Posts: 2

Xfce4 not starting after log out

Installed Archlinux distro and Xfce4 via pacman went fine installed a couple more apps (webbrowser, email, irc, wine, extra fonts, etc..) now i log out and when i try to log in (either root and normal user) i briefly see a crusor from the xfce desktop environnemnt and then it goes back to the prompt :

waiting for x server to shut down xfce-mcs-manager : Fatal IO error 11 (resource temporarily unavailable) on X server :0.0.
xfwm4: fatal error 11 (resource temporarily unavailable) on x server :0.0.
FreeFonPath: FPE "usr/share/fonts/misc" refcount is 2, should be 1 ; fixing.

Now i tried #startx and entered #startxfce4 in a xterm and it worked!!?

Any idea what could be going wrong here?

EDIT: ok turns out i CANT start X as root but there's no problem as a normal user. However, while in X i can switch to root no problem via console and open Xfce

I seriously need help here i'm confused

Last edited by Shininggg (2008-03-17 10:10:30)

Offline

#2 2008-03-17 12:19:59

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

Re: Xfce4 not starting after log out

If you want to enter an Xfce session as root (I don't understand why you would), you must configure the root user's ~/.xinitrc.
If you want to simply run X apps as root in a non-root user's session, (smarter alternative) see here: http://wiki.archlinux.org/index.php/Run … ps_as_root

Offline

#3 2008-03-17 12:22:15

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Xfce4 not starting after log out

It looks like your login manager is misbehaving.  Which one are you using? (gdm,slim,xdm)  Check your /etc/inittab to see on the bottom line if anything is uncommented and also what runlevel you are booting into id:5 is what you want with a login manager.  Also as Misfit138 said, you need a .xinitrc file in your /home/username directory.  It should have exec startxfce4 in it.

Also check your /etc/rc.conf if you are starting slim with a DAEMON.

Last edited by bgc1954 (2008-03-17 12:25:03)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#4 2008-03-17 17:23:29

Shininggg
Member
Registered: 2008-03-17
Posts: 2

Re: Xfce4 not starting after log out

Misfit138 wrote:

If you want to enter an Xfce session as root (I don't understand why you would), you must configure the root user's ~/.xinitrc.
If you want to simply run X apps as root in a non-root user's session, (smarter alternative) see here: http://wiki.archlinux.org/index.php/Run … ps_as_root

No no! i don't want to log a session as root

bgc1954 wrote:

Check your /etc/inittab to see on the bottom line if anything is uncommented and also what runlevel you are booting into id:5 is what you want with a login manager.

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)    Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault: (so i should put a # in front of this one?)
# Boot to X11
#id:5:initdefault: (and remove # the one here?)

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

+ i have no xinitrc file in my /home/username, all i have is desktop. I just make this file with exec startxfce4 with nano or do i need to copy some other file and add it to it?

Note : And turns out that after a maintenance shutdown, i logged in as a normal user and type "startxfce4" and all went ok which is weird because i've trying to reboot and enter a xfce4 session all night...

Is there any way to go into standby mode for now until the issue is fix?? i don't have the option when i click on the icon and i don't know the command.... (this is an old laptop and the hdd is really annoying so just i just want to shut it down !!)

Last edited by Shininggg (2008-03-17 17:25:55)

Offline

Board footer

Powered by FluxBB