Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
I'm running Eeebuntu 2.0 on an ASUS EEE 1000. I am trying to switch from gnome to XFCE4.
When I log in after selecting XFCE4, I get an error message saying:
your session only lasted less than 10 seconds
or something to that affect and it directs me to check
.xsession-errors
The dump of that file is below. Any ideas?
[~][2]$ cat .xsession-errors
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
x-session-manager[17828]: WARNING: Could not parse desktop file /etc/xdg/autostart/eeepc-statusicon.desktop: Permission denied
x-session-manager[17828]: WARNING: could not read /etc/xdg/autostart/eeepc-statusicon.desktop
x-session-manager[17828]: WARNING: Unable to find provider 'gnome-wm' of required component 'windowmanager'
Window manager warning: Failed to read saved session file /home/<username>/.config/metacity/sessions/101e96928cf7f9d5e7123294013133846700000178280008.ms: Failed to open file '/home/<username>/.config/metacity/sessions/101e96928cf7f9d5e7123294013133846700000178280008.ms': No such file or directory
seahorse nautilus module initialized
Initializing nautilus-share extension
Unable to open desktop file evolution-mail.desktop for panel launcher
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
x-session-manager[17828]: WARNING: Application 'libcanberra-login-sound.desktop' failed to register before timeout
Failure: Module initalization failed
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x300000a (Terminal)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Ok, so your gnome still runs, right? so its probably not a xorg.conf issue. Try running xfce4 in gnome, and see what happens. You could try strace xfce4 (or whatever the startup is for xfce, i think its xfce4)and post what it does. If you're willing to try, I think Waaaay back in the day I had to remove gdm to get xfce to work, but that was on debian sarge; I don't rightly know what that'll do to your system.
Also, have you tried loggin in with gnome, quitting x (or, starting with text login entirely), then starting xfce manually at the prompt on tty1? If that works, its more than likely a gdm/xdm/login manager problem.
You may have done this, but if you /haven't/ I think this may be your ticket.
From xfce faq:
Setting up GDM
If you installed Xfce system-wide and you want to use the GNOME Display Manager (gdm) to start your Xfce session, you will have to create a .desktop file to teach gdm how to start the Xfce session. This is a sample desktop file, Xfce.desktop:
[Desktop Entry]
Encoding=UTF-8
Name=Xfce 4.4 Session
Comment=Use this session to run Xfce 4.4 as your desktop environment
Exec=/usr/local/bin/startxfce4
Icon=/usr/local/share/pixmaps/xfce4_xicon1.png
Type=Application
It is usually enough to simply copy the example file to the Session directory used by gdm; this directory is usually located in /etc/dm/Sessions, /etc/X11/gdm/Sessions, /usr/share/xsessions, /usr/X11/share/gnome/xsessions or some other location, refer to the documentation of your system for details. You need to restart gdm after you created the file.
If you have done this, maybe try reinstalling gdm.
Distribution: Ubuntu 9.04 netbook; CentOS, Red Hat
Posts: 41
Thanked: 0
Original Poster
I'll have to try this when I get back to that computer, but doesn't that defeat the point of using xfce? I'm trying to not use gnome to save on processing power and RAM.
Distribution: Ubuntu 9.04 netbook; CentOS, Red Hat
Posts: 41
Thanked: 0
Original Poster
Okay, tried xdm, it worked but I was unable to selected a different window manager so it started gnome. So I switched back to gdm.
I'll be trying to get gdm to start xfce next. Just ran out of time before I had to get Xilinx FPGA tools up and running which is turning out to be a chore.
Thanks though, I'll let you know when I break something else soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.