After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 375317 - Login Window: The remote X session loc...
Login Window: The remote X session loc...
Status: RESOLVED DUPLICATE of bug 348218
Product: gnome-power-manager
Classification: Deprecated
Component: general
SVN TRUNK
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-14 22:15 UTC by Stefano Pedretti
Modified: 2006-12-23 15:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Stefano Pedretti 2006-11-14 22:15:13 UTC
What were you doing when the application crashed?
The remote X session locks the screen when local user locks his screen.

Funny bug :-D




Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0
Comment 1 Brian Cameron 2006-11-22 20:12:05 UTC
I'm not sure this is a GDM bug.  It sounds like a lockscreen problem?
What lock screen program are you using?  Please explain in more detail
what you do to create the problem?
Comment 2 Stefano Pedretti 2006-11-23 11:42:57 UTC
I'm using gnome-screensaver.
I agree with you, is probably a gnome-screensaver bug.
this happends:

there are two users:
A local login
B remote XDMCP login

When the user A locks his screen, the remote session screen locks.

To reproduce this bug, try to login using XDMCP and locks the local session.


Thanks
Comment 3 William Jon McCann 2006-12-11 22:01:27 UTC
The only way this could happen is if both sessions are using the same dbus session bus address.  And I can't see how that would be...  Does ubuntu add patches that may do this?

Can you see if the output of "env|grep DBUS" is the same in both sessions?

I'm going to move this back to GDM because that is where the dbus session bus is created.
Comment 4 Stefano Pedretti 2006-12-12 00:33:56 UTC
No, the problem is not here...  addresses looks differents (and the problem is still here):

"env | grep DBUS" from the local console...
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ro8Ysb6TFE,guid=61397845135b1bfeac676ea2ec81ee00

From the remote console istance...
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-El0J9bFquz,guid=c4f77d4561a7e05e10a9c9a455ae7d00
Comment 5 Brian Cameron 2006-12-12 01:10:23 UTC
I'm still not sure that this is a GDM problem.  Note that dbus-launch integration for starting the session is not integrated into GDM CVS head.  Each distro integrates the dbus-launch mechanisms into the startup scripts as appropriate for the distro.  This may be a problem with the way dbus-launch is setup on your distro.  Not sure, but just to let you know that GDM doesn't contain any logic to start dbus.
Comment 6 Stefano Pedretti 2006-12-12 01:21:29 UTC
So, dbus is working well. Let me try to follow the events...

When i close my laptop, the switch closes and "someone A" launch a signal on the dbus.
The remote "gnomescreensaver" receive this signal and locks the screen.

I'm not a DBUS specialist at all but the problem is:

1) in gnomescreensaver, that don't control from who arrives the lock signal.
2) from "someone A", (could be ACPI) that don't send a correct formatted signal.

Comment 7 Stefano Pedretti 2006-12-12 01:26:27 UTC
3) or: something else i can't imagine :-)
Comment 8 William Jon McCann 2006-12-12 02:05:38 UTC
Ah, you didn't mention that you were closing a laptop at the time.  I thought that you were clicking the "Lock Screen" menu item or something.

In this case, it is gnome-power-manager that is locking the screen.  We are working on the infrastructure (console-kit etc) to be able to fix this properly.  Basically, g-p-m should not be controlling the hardware when run from a XDMCP session.
Comment 9 Richard Hughes 2006-12-23 15:15:17 UTC

*** This bug has been marked as a duplicate of 348218 ***