Ubuntu This forum is for the discussion of Ubuntu 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-02-2007, 09:41 AM
|
#1
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10
Rep:
|
xfce acting weird; starting w/out desktop background and icons,changing file managers
Just today, I restarted my computer and I noticed that Xfce didn't start properly. First, when i logged in, it dumped me to a light-blue screen (no desktop wallpaper) with the application panel sitting at the top, no icons or anything, just a flat blue desktop. When head for Settings->Desktop, i noticed that the box that says "Allow Xfce to manage the desktop" is unchecked, and when i check it, the wallpaper and icons appear. This happens whenever I log back out and log in again, and i have no clue what it is that might've been changed. And every so often, it seems as if Xfce is switching between Thunar and Nautilus, because one moment I would double click on my folder and get the bare interface of Thunar, and 10 minutes later i'd double click and get Nautilus again. This is also happening with the terminal (one minute its Xterm, next min its Gnome Terminal with its white background) I did install StepMania recently, but I don't think that's the problem. I'm on ubuntu 6.06, running Xfce (don't know version but I think its 4.0.0, i know it comes w/a compositing manager because i tried it out), Can anyone help? It seems as if the PC is starting to lose its mind or something.
|
|
|
04-03-2007, 01:50 AM
|
#2
|
LQ Newbie
Registered: Dec 2005
Location: England
Distribution: SUSE 10.1 and KPA Linux 1.0 LFS 6.2
Posts: 8
Rep:
|
Check your .xinitrc in /root folder (or general user as I hear umbunto doenst have a root user)
The file should also appear in a users home directory - please note it is a hidden file.
Make sure it contains the following:
xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
xfdesktop &
exec xfce4-pane
|
|
|
04-03-2007, 03:36 AM
|
#3
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10
Original Poster
Rep:
|
Checked in both /home/my_username and in /root, but no file named .xinitrc. Using 'locate .xinitrc' i was able to find one in '/etc/X11..' and in /etc/xdg/xfce4, but which one is the one i need to edit?
|
|
|
04-03-2007, 03:48 AM
|
#4
|
Member
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208
Rep:
|
Edit the one in /home/my_username (~/.xinitrc)
You can add what Kannies listed.
or just add:
|
|
|
04-03-2007, 05:41 AM
|
#5
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10
Original Poster
Rep:
|
'/home/my_user/.xinitrc' doesn't exist either. Create it and just add the stuff listed above?
|
|
|
04-03-2007, 05:48 AM
|
#6
|
Member
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208
Rep:
|
yeah just create it
this will create it and add "exec xfce4-session" to it:
Code:
touch ~/.xinitrc
echo "exec xfce4-session" >> ~/.xinitrc
then restart X and see how you go
|
|
|
04-03-2007, 06:21 AM
|
#7
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10
Original Poster
Rep:
|
Ok, i've tried that, and I tried adding
Code:
echo "xfce-mcs-manager" >> ~/.xinitrc
echo "xfwm4 --daemon" >> ~/.xinitrc
echo "xftaskbar4 &" >> ~/.xinitrc
echo "xfdesktop &" >> ~/.xinitrc
echo "exec xfce4-pane" >> ~/.xinitrc
And it still doesn't start right. I have to head for Settings->Desktop and check the box that says "Allow Xfce to manage the desktop" in order for the icons and the background to appear. I'd like for it to stick to thunar as the main file manager, though, do those commands listed above make sure of that?
|
|
|
04-03-2007, 06:31 AM
|
#8
|
Member
Registered: Dec 2005
Location: Sydney, Australia
Distribution: Arch Linux
Posts: 208
Rep:
|
are you using GDM or KDM?
if so have a read here:
http://www.xfce.org/documentation/in...setting-up-gdm
otherwise I dont know??
try only having "exec xfce4-session" in .xinitrc.. this is what I use and it always starts as I have left it(including open programs)
EDIT:
do you have XFCE 4.4?
is so add "exec startxfce4" instead.
Last edited by deroB; 04-03-2007 at 06:42 AM.
|
|
|
04-03-2007, 06:45 AM
|
#9
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10
Original Poster
Rep:
|
I'm not too sure what i'm using to log in. I think its GDM, but i'm not sure. My distro is no longer Mandrake 10, btw, its Ubuntu 6.06 now. I remember installing it and then using synaptic to download Xfce. I checked the link you provided, but I can't find the example .desktop file it mentions.
|
|
|
04-04-2007, 10:27 AM
|
#10
|
LQ Newbie
Registered: Dec 2005
Location: England
Distribution: SUSE 10.1 and KPA Linux 1.0 LFS 6.2
Posts: 8
Rep:
|
This is what i think is happening:
When you start XFCE, one of the first files that is executed is ./xinitrc.
The commands in this file are executed therfore initialising the various objects, ie panel and taskbar.
Correct me if i'm wrong but doesnt 'xfce4-session' literally saves the current state of the desktop for the next time you start, so in theory if added to xinitrc, it will always save your faulty configuration before the desktop even loads up so whatever changes you make in the session it will always revert back to the faulty config.
Try removing 'xfce4-session' from 'xinitrc'.
Make your desired changes in the settings menu to revert things to how you want and then run 'xfce4-session' from the terminal. If you get messages about objects already appearing then try Ctrl-Alt- backspace to go to cancel your x session and try from command line mode.
|
|
|
04-05-2007, 12:25 AM
|
#11
|
LQ Newbie
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10
Original Poster
Rep:
|
Quote:
This is what i think is happening:
When you start XFCE, one of the first files that is executed is ./xinitrc.
The commands in this file are executed therfore initialising the various objects, ie panel and taskbar.
Correct me if i'm wrong but doesnt 'xfce4-session' literally saves the current state of the desktop for the next time you start, so in theory if added to xinitrc, it will always save your faulty configuration before the desktop even loads up so whatever changes you make in the session it will always revert back to the faulty config.
Try removing 'xfce4-session' from 'xinitrc'.
Make your desired changes in the settings menu to revert things to how you want and then run 'xfce4-session' from the terminal. If you get messages about objects already appearing then try Ctrl-Alt- backspace to go to cancel your x session and try from command line mode.
|
Ok, I removed xfce4-session from the xinitrc file, and then restarted x, made the changes that i wanted to, but when i tried to run xfce4-session from the terminal, it said that a nother session manager was already running.
EDIT: I checked it via ubuntu's system monitor, and it looks like the session manaager open is x-session-manager
Last edited by sAbEr; 04-05-2007 at 12:44 AM.
|
|
|
04-18-2007, 03:39 PM
|
#12
|
LQ Newbie
Registered: Dec 2005
Location: England
Distribution: SUSE 10.1 and KPA Linux 1.0 LFS 6.2
Posts: 8
Rep:
|
Did you ever fix this? I'm afraid I can't think of anything else but re-installation (a headache I know). However one last avenue is to check out the website 'www.linuxfromscratch.org/blfs' and read the manual section on xfce.
|
|
|
All times are GMT -5. The time now is 08:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|