You are not logged in.

#1 2006-03-30 14:50:14

tony5429
Member
Registered: 2006-03-28
Posts: 1,020

xfce4 on new install [solved]

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

#2 2006-03-30 15:36:46

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: xfce4 on new install [solved]

You need to use startx wink
see the wiki:
http://wiki.archlinux.org/index.php/Des … structions

Offline

#3 2006-03-30 15:38:45

magnum_opus
Member
Registered: 2005-01-26
Posts: 132

Re: xfce4 on new install [solved]

not with startxfce4 command it starts the x-server. if its a fresh install did you make a xorg.conf?

Offline

#4 2006-03-30 16:15:15

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: xfce4 on new install [solved]

is it ? 'cause it's in the wiki page i linked
(obviously I don't use xfce)

Offline

#5 2006-03-30 18:14:01

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: xfce4 on new install [solved]

I start xfce4 with the startx command via the .xinitrc file:

#!/bin/sh

#
# ~/.xinitrc
#
exec startxfce4

oz

Offline

#6 2006-03-30 18:47:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: xfce4 on new install [solved]

pressh wrote:

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

#7 2006-03-30 19:55:55

tony5429
Member
Registered: 2006-03-28
Posts: 1,020

Re: xfce4 on new install [solved]

'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

#8 2006-03-30 20:07:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: xfce4 on new install [solved]

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

#9 2006-03-30 21:09:56

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: xfce4 on new install [solved]

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

#10 2006-03-30 21:18:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: xfce4 on new install [solved]

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. smile

Offline

#11 2006-03-30 22:19:19

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: xfce4 on new install [solved]

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 wink

Offline

#12 2006-03-30 23:18:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: xfce4 on new install [solved]

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

#13 2006-04-01 18:14:16

tony5429
Member
Registered: 2006-03-28
Posts: 1,020

Re: xfce4 on new install [solved]

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

#14 2006-04-01 18:55:59

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: xfce4 on new install [solved]

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

#15 2006-04-14 20:01:25

tony5429
Member
Registered: 2006-03-28
Posts: 1,020

Re: xfce4 on new install [solved]

this fixed the problem - thanks everyone!

Offline

Board footer

Powered by FluxBB