Highlighted
Orion205 Top Student
Top Student
7 0 0
Message 1 of 4
98
Flag Post
HP Recommended

Solved!

RGS and light-locker on Fedora Linux

HP Z8 G4 Workstation
Linux

I'm using HP RGS on Fedora Linux, which I know isn't supported.  But I think this problem is common to other supported operating systems.

 

So the LightDM display manager is explicity supported by RGS per the documentation.  I'm running LightDM, and recently switched from using xscreensaver as my screensaver/screenlocker to using light-locker, which is a nicer looking screen locker.  However, it seems to break RGS.

 

As far as I can tell, light-locker works by starting a new instance of LightDM on another display and forcing the computer to switch to that display.  The new display shows the greeter with the normal login prompt.  Once the user logs in, the new instance of LightDM closes and the user is switched back to their normal display.  It seems that RGS can't follow this convoluted approach, and I find I am unable to log on over RGS while ligth-locker is active.  The error states that another user is logged into the computer and hasn't allowed me to connect.  It seems that rgsender somehow thinks that root(?) is logged on at the console vs. my user account, and therefore blocks the connection.  It says it shows a dialog on the sender, but that isn't visible on the screen, possibly because the display is switched while light-locker is active.

 

Here is the actual text of the error I see when I try to connect to the Linux computer using RGS while light-locker has the screen locked:

"Authorization failed!

When you attempt to connect to another user's desktop a dialog is displayed on the Sender desktop asking the logged in user to allow your connection. A user is not allowed to connect to another user's desktop unless they are explicitly allowed/authorized. Either you were not granted access or the dialog timed-out and you were implicitly denied access."

 

Has anyone else tried using RGS and light-locker together??

3 REPLIES
Grad Student Grad Student
Grad Student
255 17 24
Message 2 of 4
75
Flag Post
HP Recommended

Solved!

RGS and light-locker on Fedora Linux

Hello again,

This is what we currently support and I have posted what I have found in the user guide under troubleshooting connection issues. 
(Linux only)
Verify that the sender is not using an X desktop started on the command line. Outside connection
attempts might fail because of incomplete PAM session management and permissions for the console.
Login management should be handled by the display manager started by init run level 5.
RGS Sender natively supports the following display managers:
●     GNOME Display Manager (GDM)
●     KDE Display Manager (KDM)
●     LightDM
If the sender system uses a different PAM-based display manager, you can try the following:

NOTE:     This configuration might not work for some display managers.
a.       Find the configuration files for the display manager in /etc/pam.d/.
b.       Add the following line to the end of each file (create a backup of each file before
modifying it):
session optional pam_rg.so
c.       Restart the sender system.

Not sure if using collaboration would get you around this problem. 

I work on the behalf of HP.

I work on behalf of HP
Reply
0 Kudos
Grad Student Grad Student
Grad Student
255 17 24
Message 3 of 4
46
Flag Post
HP Recommended

Solved!

RGS and light-locker on Fedora Linux

Update: 

Light-locker is not supported. On Fedora 28, light-locker starts up a second X server. Multiple X servers are not supported with current versions of RGS and will likely cause several different issues. If light-locker can be configured to use the existing X server, then it might work with RGS. However, the screen locking feature used by RGS won’t communicate with the light-locker service.  Future versions of RGS will work with multiple X servers, but light-locker still may not work.

I work on the behalf of HP.

I work on behalf of HP
Reply
0 Kudos
Orion205 Top Student
Top Student
7 0 0
Message 4 of 4
39
Flag Post
HP Recommended

Solved!

RGS and light-locker on Fedora Linux

Thanks Kelly.  I'm not surprised that light-locker isn't supported.  As I wrote my original post, I realized how hard it would be for RGS as an X extension to work with what light-locker is doing.  Thanks for confirming.  I'll look for an alternative screen locker, probably just going back to xscreensaver.

Reply
0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation