topic title: XFCE Dont Work! :(
Posts: 4
zeta
Joined: 16 Mar 2008
#1
Hi everyone!

i have some problems with XFCE4, is alredy installed but he dont up!

i mean, i write all of this post:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/xfce4-t209.html?highlight=xfce"
linktext was:"antix.freeforu ms.org/xfce4-t209. ... light=xfce"
====================================


and


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepislovers.org/forums/showthread.php?t=11077"
linktext was:"http://www.mepislovers.org/forums/showt ... hp?t=11077"
====================================


(i have xfce installed, by apt-get).

when i push XFCE in login page show fluxbox and not xfce.

Thanks for all. __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Welcome to antiX.

Which version of antiX are you using? The base or full version?

Post the contents of these 2 files.

/etc/slim.conf
.xinitrc (This is a hidden file in your user directory)
Posts: 4
zeta
Joined: 16 Mar 2008
#3
hi anticapitalista, thanks.

I have the full version installed.. here the files :

slim.conf :

Code: Select all

# Path, X server and arguments (if needed)
# Note: -xauth $authfile is automatically appended
default_path        ./:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
default_xserver     /usr/X11R6/bin/X
xserver_arguments   -dpi 96

# Commands for halt, login, etc.
halt_cmd            /sbin/shutdown -h now
reboot_cmd          /sbin/shutdown -r now
console_cmd         /usr/X11R6/bin/xterm -C -fg white -bg black +sb -T"Console login" -e /bin/sh -c"/bin/cat /etc/issue; exec /bin/login"
#suspend_cmd        /usr/sbin/suspend

# Full path to the xauth binary
xauth_path         /usr/X11R6/bin/xauth 

# Xauth file for server
authfile           /var/run/slim.auth
# Activate numlock when slim starts. Valid values: on|off
 numlock             off

# Hide the mouse cursor (note: does not work with some WMs).
# Valid values: true|false
 hidecursor          true

# This command is executed after a succesful login.
# you can place the %session and %theme variables
# to handle launching of specific commands in .xinitrc
# depending of chosen session and slim theme
#
# 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 - ~/.xsession %session
login_cmd           exec /bin/bash -login ~/.xinitrc %session

# Commands executed when starting and exiting a session.
# They can be used for registering a X11 session with
# sessreg. You can use the %user variable
#
# sessionstart_cmd    some command
# sessionstop_cmd    some command

# Start in daemon mode. Valid values: yes | no
# Note that this can overridden by the command line
# option"-d"
# daemon    yes

# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions            icewm,fluxbox,xfce

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      scrot /tmp/slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         (Press F1 to toggle sessions)

# shutdown / reboot messages
shutdown_msg       The system is shutting down...
reboot_msg         The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
#default_user        simone

# current theme, use comma separated list to specify a set to 
# randomly choose from
current_theme       antiX

# Lock file
lockfile            /var/run/slim.lock

# Log file
logfile             /var/log/slim.log

PS: How i can edit this file?(.xinitrc) i see this file with ls -la command.. but i dont know how edit him. (and show you of course xD).

::edit: ups, i think edit the /etc/X11/init/initrc file.. , you need this file too?
regards anticapitalista __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
That slim.conf file is ok.

To open the other file, open a terminal and type (just copy/paste it)

leafpad .xinitrc

and edit it to this:

case $1 in
icewm)
exec icewm
;;

openbox)
exec openbox-session
;;

fvwm-crystal)
exec fvwm-crystal
;;

lxsession)
exec lxsession
;;

fluxbox)
exec startfluxbox
;;
*)
exec startfluxbox
;;
esac

Close and save, logout and at login screen press F1 til you see xfce and you should now be able to login to an xfce desktop
Posts: 4
zeta
Joined: 16 Mar 2008
#5
hi again.

Ok, the file is like you say:

Code: Select all

case $1 in
icewm)
exec icewm
;;

openbox)
exec openbox-session
;;

fvwm-crystal)
exec fvwm-crystal
;;

lxsession)
exec lxsession
;;

fluxbox)
exec startfluxbox
;;
*)
exec startfluxbox
;;
esac 


And, still dont work :S (when i put XFCE and push F1, fluxbox start)
Posts: 4
zeta
Joined: 16 Mar 2008
#6
Sorry!.

I have XFCE alredy up!

here my xinitrc:

Code: Select all

case $1 in
icewm)
exec icewm
;;

xfce4)
exec startxfce4 
;;

fvwm-crystal)
exec fvwm-crystal
;;

lxsession)
exec lxsession
;;

fluxbox)
exec startfluxbox
;;
*)
exec startxfce4
;;
esac 
Thanks for all! Realy Good job with the distro! (is amazing).

regards from Dominican republic ::)
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#7
Sorry my mistake, I posted my new .xinitrc and not the old one with xfce included.

Anyhow, glad you are up and running.

Have fun with antiX.