You are not logged in.

#1 2012-02-04 01:33:02

impiaaa
Member
Registered: 2012-02-04
Posts: 19
Website

[SOLVED] GDM login fails

Hi, I'm relatively new to Arch (and to Linux), but I've been using it for a week or two and feel pretty comfortable. Today I thought I'd try to install Compiz. The install went fine, but as soon as I started it (with fusion-icon) the computer crashed and I had to restart. Now, I got to the login dialog, but when I log in, nothing happens. The prompt disappears, but my desktop background doesn't show up and there isn't any GUI to be seen. I figured out that CTRL-ALT-F1 gets me to a command prompt, and from there I found out that Compiz wasn't running. So I followed the wiki's instructions on how to auto-start it in GNOME (with the .desktop file) and stand-alone (with ~/.xinitrc), both with and without AIGLX options, but both failed. I also tried starting Compiz right from that terminal but it says it can't find the display (understandable, considering it's a different terminal than the main screen)

I'm on a ThinkPad W520 laptop, with Intel integrated graphics and NVIDIA Quadro 1000M (I have Bumblebee installed and configured, but I think I want Compiz running with the Intel chip).

If there is anything you could do to help, even if it's a Google search term or a link to another forum post, that would be great. At this point I'd be happy to get Metacity working again.

EDIT: So as a last resort, I uninstalled Compiz and re-installed all of Gnome. Seems to have worked. I'd still like to know what was wrong.

EDIT 2: So now I feel incredibly stupid. It doesn't actually have anything to do with Compiz or Gnome. In my .xinitrc I had the command to start xscreensaver, but without a &, so that process was keeping anything else from starting (I think).

Last edited by impiaaa (2012-02-07 18:16:47)


The boatcake is coming for you…

Offline

#2 2012-02-04 02:08:08

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [SOLVED] GDM login fails

[Metacity? Are you using any kind of Gnome2?]
It would be helpful, if you'd provide any infos on the kind of errors you get, from logs.


BTW: Compiz standalone won't provide any wallpaper unless you activate the module, neither will it auto-start any applications like a panel or window decorations (activate emerald plugin). An unconfigured standalone Compiz will provide a black screen and a cursor, nothing more wink
You'd have to add to your .xinitrc an autostart script that launches a panel and such.

Offline

#3 2012-02-04 02:15:36

impiaaa
Member
Registered: 2012-02-04
Posts: 19
Website

Re: [SOLVED] GDM login fails

Sorry, I'm using Gnome 3, so actually gnome shell or whatever the default is.

I can't find any errors in everything.log. I don't know where else to look.

I configured Compiz to use emerald, according to the wiki directions. Is there something else I need to do?


The boatcake is coming for you…

Offline

#4 2012-02-04 02:25:00

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [SOLVED] GDM login fails

Logs would be Xorg.log and gdm.log ... but if G3 works, all necessary prerequisites should be met, so the my idea is to turn off bumblebee and try again, if logs don't provide any info.

[I personally had some problems with starting Compiz, too, but I guess that's because of my special Desktop Environment, anyway, make sure you call "compiz ccp" as WM, not just compiz (but I guess you already did it, accordingly to the wiki).]

Offline

#5 2012-02-04 02:27:25

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] GDM login fails

impiaaa wrote:

Sorry, I'm using Gnome 3, so actually gnome shell or whatever the default is.

I can't find any errors in everything.log. I don't know where else to look.

I configured Compiz to use emerald, according to the wiki directions. Is there something else I need to do?

I don't think you can use Compiz except in fallback mode with gnome shell. From the wiki:

"Autostart (without "fusion-icon") (With gnome3 fallback mode session)

Edit file /usr/share/gnome-session/sessions/gnome-fallback.session:

Replace your windows manager (gnome-shell,metacity...) with compiz in RequiredComponents line.

Change DefaultProvider-windowmanager line to DefaultProvider-windowmanager=compiz"

Also this: https://bbs.archlinux.org/viewtopic.php?id=122658


Registered Linux user #436067

Offline

#6 2012-02-04 02:32:54

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [SOLVED] GDM login fails

oboedad55 wrote:

I don't think you can use Compiz except in fallback mode with gnome shell.

Then it should at least have worked standalone...so there's gotta be another problem...


.xinitrc entry for compiz should look like this:

compiz)
        exec /link/to/compizscript &
        exec ck-launch-session dbus-launch compiz ccp
        ;;

Offline

#7 2012-02-04 02:39:07

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] GDM login fails

desm0tes wrote:
oboedad55 wrote:

I don't think you can use Compiz except in fallback mode with gnome shell.

Then it should at least have worked standalone...so there's gotta be another problem...


.xinitrc entry for compiz should look like this:

compiz)
        exec /link/to/compizscript &
        exec ck-launch-session dbus-launch compiz ccp
        ;;

I may have misread the OP's comments. I thought he was trying to get compiz to work with gnome shell.


Registered Linux user #436067

Offline

#8 2012-02-04 02:41:16

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [SOLVED] GDM login fails

oboedad55 wrote:
desm0tes wrote:
oboedad55 wrote:

I don't think you can use Compiz except in fallback mode with gnome shell.

Then it should at least have worked standalone...so there's gotta be another problem...


.xinitrc entry for compiz should look like this:

compiz)
        exec /link/to/compizscript &
        exec ck-launch-session dbus-launch compiz ccp
        ;;

I may have misread the OP's comments. I thought he was trying to get compiz to work with gnome shell.

He tried to, as well as standalone, so your post ain't wrong, but there has to be an additional problem, since it won't run at all wink


Addendum: I think I found the problem, though I don't know how he was able to install compiz at all on a bumblebee-system^^
I tried to install and use bumblebee to check for errors, and here is one:
compiz-core needs libgl, which is actually part of mesa, but obviously nvidia-utils-bumblebee and nvidia-utils are in conflict because of libgl.
Due to this, it seems to me, that bumblebee and compiz are conflicting on dependencies.

Last edited by desm0tes (2012-02-04 02:49:14)

Offline

#9 2012-02-04 03:08:28

impiaaa
Member
Registered: 2012-02-04
Posts: 19
Website

Re: [SOLVED] GDM login fails

Well here's my .xinitrc, gdm/:0.log, and Xorg.0.log. I tried removing bumblebeed from the daemons list and it didn't help.

Edit: About the libgl conflict - I remember reading somewhere that there is a conflict with Mesa and the NVIDIA drivers, as they both provide libgl. The article/post/guide/whatever said to install an alternate NVIDIA package from the AUR that doesn't provide libgl. So, I *should* be using the Mesa libgl, not the NVIDIA libgl.

Last edited by impiaaa (2012-02-04 03:11:48)


The boatcake is coming for you…

Offline

#10 2012-02-04 04:04:26

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [SOLVED] GDM login fails

Why did you disable session management and direct rendering?
And ain't the usual content for a standalone session without login manager simply "exec ck-launch-session compiz ccp"?

Offline

#11 2012-02-04 04:58:23

impiaaa
Member
Registered: 2012-02-04
Posts: 19
Website

Re: [SOLVED] GDM login fails

It said to do that here. I'll try that though.


The boatcake is coming for you…

Offline

#12 2012-02-04 05:12:27

desm0tes
Member
From: 127.0.0.1
Registered: 2012-02-04
Posts: 233
Website

Re: [SOLVED] GDM login fails

Well, if they tell you, that your Intel GMA won't work good enough for direct rendering, I'd recommend to solely use the nvidia card...

Offline

#13 2012-02-04 05:25:46

impiaaa
Member
Registered: 2012-02-04
Posts: 19
Website

Re: [SOLVED] GDM login fails

Okay, so I tried without indirect rendering, no dice. Does the exact same thing.

I'm perfectly okay if Compiz doesn't work with my graphics card. I'd just like to get some WM working.


The boatcake is coming for you…

Offline

Board footer

Powered by FluxBB