You are not logged in.
I have installed Arch, and run
pacman -Sy xfce4
to install xfce4. after rebooting, if i type
startxfce4
I get the following error...
/usr/bin/startxfce4: Starting X server
/usr/bin/startxfce4: line 45: exec: xinit: not found
Offline
You need to use startx
see the wiki:
http://wiki.archlinux.org/index.php/Des … structions
Offline
not with startxfce4 command it starts the x-server. if its a fresh install did you make a xorg.conf?
Offline
is it ? 'cause it's in the wiki page i linked
(obviously I don't use xfce)
Offline
I start xfce4 with the startx command via the .xinitrc file:
#!/bin/sh
#
# ~/.xinitrc
#
exec startxfce4
oz
Offline
is it ? 'cause it's in the wiki page i linked
(obviously I don't use xfce)
magnum_opus is right - you can run startxfce4 from a console, and it wil start X if it's not already running.
tony5429 - you appear to be missing the xorg-xinit package, although I don't know how that would have happened. What do the following commands give you:
which xinit
pacman -S xorg-xinit
Offline
'startx' doesn't work either. And neither does 'exec xfce4-session'
'which xinit' gives me...
which: no xinit in (/bin:/usr/bin:/sbin:..................)
Then, I used 'pacman -S xorg-xinit' - the install worked fine. However, running startxfce4 now gives me a series of errors. The last is
fatal server eror:
no screens found
xio: fatal io error 104 (connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining.
I tried fluxbox too and am also not getting anywhere. after installing, the startfluxbox command returns
warning: failed to set locale, reverting to "c"
terminate called after throwing an instance of 'std::string'
/root/.fluxbox/startup: line 12: 2025 aborted
/usr/bin/fbsetroot -solid black
warning: failed to set locale, reverting to "c"
error: couldn't connect to XServer
Offline
Right, you're now ready for magnum's question - did you create/edit /etc/X11/xorg.conf? There's plenty on this topic in the wiki - my personal favourite is
hwd -x
which will generate a sample xorg.conf file based on your hardware. You'll need to install hwd, of course.
Offline
Maybe it's a good idea to install X. xfce depends on the libraries it uses only, so you need to install and configure X first.
Offline
Huh? So xfce4 needs X to work, but X is not a dependency of xfce4. That's a bit puzzling .... :?
tony - JGC generally isn't wrong, so you'd better do as he says.
Offline
It requires an X server to work yes, which could be Xorg, some non-free X server, or some X server on a remote box. You really don't need to have Xorg installed on the box where xfce4 is installed, you only need it installed on the box where you run it from
Offline
OK - thanks. I suppose I was expecting that we would accommodate the most common configuration i.e. user_choice_of_DE + xorg on the same box, installed from the Arch repos.
Offline
okay. i've gotten xfce to load now but when it does, it says "could not look up internet address...this will prevent xfce from operating crrectly. it may be possible to correct the problem by adding (hostname) to the file /etc/hosts on your system." i checked /etc/hosts and 127.0.0.1 is already included. i also tried ALL: ALL in hosts.allo but that didn't help. here is a list of all the steps i've taken so far in coming to this point...
1. installed arch off 0.7.1 ftp base installation (all packages in base) and changed timezone, hostname, and eth0 (to dhcp) variables in rc.conf.
2. used passwd for root account
3. pacman -Sy xorg
4. pacman -Sy hwd
5. hwd -xa
6. pacman -Sy xfce4
7. added "ZAxisMapping" "4 5" to /etc/X11/xorg.conf to allow rollbar in mouse
8. used adduser to make account - tony
9. rebooted
10. logged in as tony
11. ran startxfce4
Offline
Does xfce4 still start, after the message about the hostname? It should.
The format required in /etc/hosts is:
127.0.0.1 localhost.localdomain localhost hostname
where hostname is whatever you chose in step 1. Is that what you've got?
Offline
this fixed the problem - thanks everyone!
Offline