DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to get xfce working on Debian. Not working so far, but I feel that this must be a well trodden path, so I'm probably missing something very obvious and basic. I don't know how to work X11 (once looked at the X11 site and the documentation was so vast and inaccessible that I soon gave up) so maybe there are some X11 basics that I'm getting wrong?
Anyway, here's my trail so far:
# Installed a brand new minimal Debian system.
- apt-get update
- apt-cache search xfce # this showed xfce4 as the latest xfce so:
- apt-cache install xfce4 # installs, no problem.
# At the end of the install I'm asked how I'd like the fonts to be
# managed. There's an automatic and a manual option.
# I went for the automatic option, as I know nix about fonts.
# That's all.
# I rebooted. xfce didn't come up.
# man pages aren't there for xfce or xfce4.
# I searched for all commands in my path containing xfce and a couple looked interesting:
- startxfce # produced an error
- xfce_setup # Ran ok.
# Amongst the five or so lines it printed was "This will set up xfce for user root". According to the xfce_startup man page each user has to call xfce_setup themselves, presumably so that users can run their own choice of graphical landscape.
# The man page for xfce_setup says "this will make the user able to use Xfce4 just by typing startx". So:
- startx # No good:
# The first error message is "/usr/bin/X11/X" no such file or directory". Now /usr/bin/X11/ exists but contains no X or X11, which I guess is probably an executable?
So.. what is that X and how do I get it? I doubt it's a package because otherwise apt-get would have noted it as a dependency and got it. So it seems more likely to be generated by an install script that I haven't run. But I'm just guessing. If anyone has been through this and knows how it works I'd greatly appreciate some direction.
- startx # No good:
# The first error message is "/usr/bin/X11/X" no such file or directory". Now /usr/bin/X11/ exists but contains no X or X11, which I guess is probably an executable?
apt-get install x-window-system
Edit: I should add to make sure that you have the horizontal and vertical refresh rate settings for your monitor handy so you can enter them when asked as Debian always sets these too low resulting in not being able to use the higher resolutions/refresh rates most monitors support.
I've apt-got and went through the menus. I made a boo-boo when I entered the keyboard type as "UK" (should be "GB"). After the install finished I grepped all recent files for "uk" and got a dozen or so hits, the most plausible one being in
/etc/X11/XF86Config-4: "XkbLayout" "uk"
xstart gives three errors, of which that is one, so I'll try to fix that first.
Many thanks again for your quick and helpful advice!
I've apt-got and went through the menus. I made a boo-boo when I entered the keyboard type as "UK" (should be "GB"). After the install finished I grepped all recent files for "uk" and got a dozen or so hits, the most plausible one being in
/etc/X11/XF86Config-4: "XkbLayout" "uk"
xstart gives three errors, of which that is one, so I'll try to fix that first.
Many thanks again for your quick and helpful advice!
Regards, Entenbein
Your welcome use dpkg-reconfigure xserver-xfree86 as root to reconfigure and put in the correct settings.
Done, thanks. Alas the battle's finished but not the war:
Error the next from startx is "xf86OpenSerial: Cannot open device /dev/input/mice \n No such device". and then it keels over with "No core pointer" "failed to initialise core devices".
/dev/input/mice certainly exists so I'm not sure what this is on about. Options that spring to mind are that the mouse driver isn't in the kernel, in which case I'll have to try to track down a suitable one. How do I check whether that's plausible?
lsmod # doesn't list "mouse", though I suppose it might be statically linked.
modprobe mousedev
lsmod # Now there's a mousedev comment to the right of one of the modules
startx # now starts, but the mouse pointer won't move.
So I'm rebooting and will let you know when that intransigent fleck on my screen starts to cooperate.
could you maybe post you xinitrc? it could be as simple as the script not set up properly for that. Is there a standard way to launch xfce? I think on slackware theres a special script that it uses as its own sort of init in the same way kdeinit works?
lsmod # doesn't list "mouse", though I suppose it might be statically linked.
modprobe mousedev
lsmod # Now there's a mousedev comment to the right of one of the modules
startx # now starts, but the mouse pointer won't move.
So I'm rebooting and will let you know when that intransigent fleck on my screen starts to cooperate.
Regards, Wackerbein
Ok getting closer can you tell us what the hardware is in the machine you are using and post the /var/log/XFree86.0.log file so we can see how everything gets detected? This file is rather large so you will need to split it into two posts.
Recently released Xfce 4.4RC2 (4.3.99.2) should be available soon in Debian unstable but we may release more cutting-edge bits to Corsac's repository as below. Source and binary packages for i386, powerpc and sparc are available at:
The key used to sign this repository is available here (key id E7710DEC).
For sarge/stable distribution, there are official packages (rebuilt from testing sources) available on backports.org - see their instructions for details.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.