LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Gnome and XFCE both loading. How to fix? (http://www.linuxquestions.org/questions/debian-26/gnome-and-xfce-both-loading-how-to-fix-4175416921/)

FLCL 07-16-2012 02:11 AM

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?

cynwulf 07-16-2012 03:33 AM

Post outputs

Code:

$ aptitude search ~ignome
Code:

$ cat ~/.xinitrc
Code:

# update-alternatives --config x-session-manager
Code:

# update-alternatives --config x-window-manager

FLCL 07-17-2012 01:02 AM

Quote:

Originally Posted by caravel (Post 4729277)
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!

cynwulf 07-17-2012 03:53 AM

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.

FLCL 07-22-2012 02:23 AM

Thank you very much! That solved it :)


All times are GMT -5. The time now is 04:37 AM.