I'm trying to install xfce4, and therefor pacman is also downloading xorg. Unfortuantely it stops the download at 99% (60562K), and does absolutely nothing further. I tried it twice. Once it showed me 00:00:001 remaining, now it shows 00:00:00. And it hangs...
What to do?
Just try and install it with pacman -U /var/cache/pacman/pkg/xorg-*
If the pkg is corrupted it will fail otherwise it will install and youcan go back to pacman -S xfce4
pacman -U */pkg/xorg-*.tar.gz.part
loading package data... done.
error: unsatisfied dependencies:
xorg: requires freetype1
xorg: requires fontconfig
xorg: requires libpng
The .part means an incomplete package (not entirely downloaded) but from the output it looks OK. Try renaming xorg*.pkg.tar.gz.part to xorg*.pkg.tar.gz
and then pacman -S xfce4
try uncommenting the wget parameter in /etc/pacman.conf
Well, renaming the *.part did the job. It seems like everything has been installed now, but as I want to run it, I get a "command not found". Sorry I'm new to linux. :oops: I'm following this tutorial:
There are two ways to run XFCE4. One is the "automatic" method. To start XFCE from the console, you can simply run:
To customize the XFCE startup using this method, you'll copy /opt/xfce4/etc/xdm/xfce4/xinitrc to $HOME/.xfce4, and edit that file. To add programs to the startup up using this method, add symlinks from the programs you want to $HOME/Desktop/Autostart.
Now, /opt/xfce4/etc/ only contains a folder named /xdg/, but no /xdm/ anyway.
I'm a little confused...
startxfce4 from the console should already work out of the box...
cp /etc/skel/.xinitrc ~/.xinitrc
and add or uncomment
this will allow you to login by typing "startx"
Now if I do a startx the screens turns black for a moment, but after a second or so the X server shuts down an tells:
(EE) open /dev/fb0: No such file or directory (EE) R128(0): No DFP detected Could not init font path element /usr/X11R6/lib/fonts/CID, removing list! /root/.xinitrc: line 9: exec: startxfce4: not found
If I try a pacman -U /var/cache/pacman/pkg/xorg-* again, it tells me everything is up to date.
it sounds like /opt/xfce4 is not in your $PATH.. there are cleaner ways to do this but if you log out and then log back in, startxfce4 should work.
I am a gated community.
Have you setup xorg?
pacman -Sy hwd
and as root do:
that'll give you sample config for your "x-server". Once it's generated, mv it into place
mv /etc/X11/xorg.conf.hwd /etc/X11/xorg.conf
PS: create a user account instead of using root, its dangerous. Check the wiki for a how-to.
Allright, in fact it seemd like I had another xfce4 installation job running in backround, and didnt notice it. Anyway now it works.
I edited the /etc/inittab, and changed a line from
id:3:initdefault: to id:5:initdefault:
so that it will start at boot. But now if I log in with root and password, there where it says "Welcome to...", another dialgo apperas and asks what session I want to start, and I can chose between Default/Fail Safe and Cancel. But if I take Default/ Fail Safe the dialog just disappears and nothing happens. I also cant switch to other consoles by Alt+F_.
So whats wrong now?
Ah well, didn't hear of Ctr+Alt+F_ until now... Sry. I'll play around a bit and try to fix it myself.
Anyway I've got a question: Ctrl+Alt+Backspace doesn't shutdown the X-Server, the screen just turns black for a moment, but then the logon screen appears again. How to shutdown/stop/close/kill the X-Server?
And Second, if I use the console of xfce4 I always have got the us-keymap, although I set keymap="de" in the /etc/rc.conf and I also tried a loadkeys de and there it says Loading */de.map.gz but still the layout is "us".
Console in xfce is an X terminal, so you need to change X keymaps to achieve that.
About CTRL+ALT+BS: you kill your X, but your display manager (gdm? kdm? xdm?) just launches a new one because it is configured to do so.
It's allright, Everything works fine now here.
Thanks a lot!