LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-16-2012, 02:11 AM   #1
FLCL
Member
 
Registered: Jan 2009
Posts: 36

Rep: Reputation: 0
Exclamation Gnome and XFCE both loading. How to fix?


*Debian squeeze*

The problem is, I login via console, startx, and XFCE loads, and then immediately gnome loads on top of it for reasons I can't figure out. I can't access any XFCE settings, only what the default debian desktop menu's provide. It looks like it's trying to load the default desktop environment that you get under root.

The main gnome packages for desktop environment aren't installed so I'm confused.

I was trying to figure out where cairo dock is automatically launching from(not startup sessions in XFCE) and edited a couple config files, and the next day I rebooted to find this problem. I don't recall editing anything regarding XFCE though.
This is what the problem looks like: http://i.imgur.com/RLEax.png
Before the problem: http://i.imgur.com/aXkxy.jpg

It's like it's trying to load 2 different sessions at once,
Can anyone please help me figure this out?

Last edited by FLCL; 07-16-2012 at 02:12 AM.
 
Old 07-16-2012, 03:33 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Post outputs

Code:
$ aptitude search ~ignome
Code:
$ cat ~/.xinitrc
Code:
# update-alternatives --config x-session-manager
Code:
# update-alternatives --config x-window-manager
 
Old 07-17-2012, 01:02 AM   #3
FLCL
Member
 
Registered: Jan 2009
Posts: 36

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by caravel View Post
Post outputs

1.
Code:
$ aptitude search ~ignome
Code:
i   cairo-dock-gnome-integration-pl - Cairo-dock - GNOME integration Plug-in    
i A compiz-gnome                    - OpenGL window and compositing manager - GN
i   gnome-applets-data              - Various applets for the GNOME panel - data
i A gnome-doc-utils                 - a collection of documentation utilities fo
i   gnome-icon-theme                - GNOME Desktop icon theme                  
i   gnome-menus                     - an implementation of the freedesktop menu 
id  gnome-mime-data                 - base MIME and Application database for GNO
i   gnome-panel-data                - common files for the GNOME Panel          
i   gnome-system-monitor            - Process viewer and system resource monitor
i A gnome-terminal                  - The GNOME terminal emulator application   
i A gnome-terminal-data             - Data files for the GNOME terminal emulator
i A gnome-user-guide                - GNOME user's guide                        
i   gnome-utils-common              - data files for the GNOME utilities        
i   libgnome-bluetooth7             - GNOME Bluetooth tools - support library   
i A libgnome-desktop-2-17           - Utility library for loading .desktop files
i A libgnome-keyring0               - GNOME keyring services library            
i A libgnome-menu2                  - an implementation of the freedesktop menu 
i A libgnome-window-settings1       - Utility library for getting window manager
i   libgnome2-canvas-perl           - Perl interface to the GNOME canvas library
i   libgnome2-common                - The GNOME library - common files          
i   libgnomecanvas2-0               - A powerful object-oriented display - runti
i   libgnomecanvas2-common          - A powerful object-oriented display - commo
i   libgnomekbd-common              - GNOME library to manage keyboard configura
i   libgnomekbd4                    - GNOME library to manage keyboard configura
id  libgnomeui-common               - The GNOME libraries (User Interface) - com
i   libpam-gnome-keyring            - PAM module to unlock the GNOME keyring upo
i A libsoup-gnome2.4-1              - an HTTP library implementation in C -- GNO
i A policykit-1-gnome               - GNOME authentication agent for PolicyKit-1
i   python-gnomedesktop             - Python bindings for the GNOME desktop libr
i   python-gnomekeyring             - Python bindings for the GNOME keyring libr
2.
Code:
$ cat ~/.xinitrc
Code:
exec ck-launch-session startxfce4
3.
Code:
# update-alternatives --config x-session-manager
Code:
There is only one alternative in link group x-session-manager: /usr/bin/xfce4-session
Nothing to configure.
4.
Code:
# update-alternatives --config x-window-manager
Code:
There are 2 choices for the alternative x-window-manager (providing /usr/bin/x-window-manager).

  Selection    Path               Priority   Status
------------------------------------------------------------
* 0            /usr/bin/metacity   60        auto mode
  1            /usr/bin/metacity   60        manual mode
  2            /usr/bin/xfwm4      60        manual mode

Press enter to keep the current choice[*], or type selection number:
The metacity is an Emerald theme. Also when I logged in, my home folder was automatically opened up in about 5 separate windows
Thanks for the help!

Last edited by FLCL; 07-17-2012 at 01:04 AM.
 
Old 07-17-2012, 03:53 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
metacity is not an emerald theme, it is gnome 2's window manager. You are in effect running a very minimal gnome with xfce's session manager - hence a combination of the two.

The .xinitrc is pointless, remove it or comment out that line by editing the file as follows.

Code:
#exec ck-launch-session startxfce4
Then as root do

Code:
# update-alternatives --config x-window-manager
And select option 2 (xfwm4).

Or if you

Code:
# aptitude purge metacity
You should get the same result.

You will be back running Xfce4 again. If it's compiz you are trying to get working, you don't need to install metacity itself for that.

Last edited by cynwulf; 07-17-2012 at 03:55 AM.
 
2 members found this post helpful.
Old 07-22-2012, 02:23 AM   #5
FLCL
Member
 
Registered: Jan 2009
Posts: 36

Original Poster
Rep: Reputation: 0
Thank you very much! That solved it
 
  


Reply

Tags
gnome 3, loading, sessions, xfce4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fix grub loading error amritpalpathak Linux - Software 4 03-10-2010 02:09 PM
XFCE not loading in ubuntu 8.10 kabith Linux - Newbie 5 05-04-2009 02:26 AM
Broke Automount in XFCE Slack12 - How to Troubleshoot and fix? shepper Slackware 4 02-19-2008 03:20 PM
xfce hosed my kde install ... why and how should I fix it? pbhj Linux - Desktop 1 01-29-2007 05:41 PM
How can i fix Grub loading Stage 2 errors in FC 6 anando.1980 Fedora 3 01-10-2007 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration