• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
The HP Community is where owners of HP products, like you, volunteer to help each other find solutions.
HP Recommended
HP ZC4R Workstation
Linux

Hi,

 

Is the ZCentral service is able to work on the machines running Teradici Graphics Agent for Linux?

 

Currently, it's crashing with the XAUTHORITY environment variable not set error.

Screenshot 2021-09-29 at 13.07.54.png

Please could you help?

Thanks,

Andrej

8 REPLIES 8
HP Recommended

Hi,

 

Coincidentally  I just tried the same thing earlier this afternoon and I was able to connect to the linux workstation via hp remote boost.  


The first thing I'd check is to make sure that the X server is running and that you have an .Xauthority file. 

 

The pcoip-agent is running the X server.  I think the /etc/pcoip-agent/pcoip-agent.conf file has a setting for pcoip.allow_x_remoting (0=off 1=on) although I think I was able to connect to it w/o this setting...

 

HTH.

 

HP Recommended

Hi,

 

Thank you, pcoip.allow_x_remoting is enabled.

 

However, I'm having a different issue today.

 

I can make a connection to the machine with RGS but I can't authorized it.

 

I think because RGS GUI is not running on :100 display (default to PCoIP Agent). See below:

Screenshot 2021-09-30 at 11.37.38.png

 

Also, I have tonnes of errors related to XCB Server

Screenshot 2021-09-30 at 12.34.15.png

Not sure what to do next😕

HP Recommended

OK, it's definitely a bug in RGS.

 

I've managed to launch rgsender_gui on :100 screen by hacking /opt/hpremote/rgsender/rgsender_gui.sh file.

Screenshot 2021-09-30 at 16.19.12.png

 

So I can see the RGS icon on my desktop and receive Collaboration requests, however, the Receiver is still stuck on the Authorization step and the XCB errors are still in place.

 

Maybe because of this?

Screenshot 2021-09-30 at 16.22.52.png

 

HP, please help! 

HP Recommended

Hi Andrej,

 

Apologies, was a bit busy this morning and for not being more detailed as I thought you just wanted to know if it (rgs connection) worked or not.

 

This is a bit klugde-y but it should work, and I don't know what OS you're running, but this works for me on CentOS:

 

1. sudo systemctl stop pcoip.service

2. sudo systemctl disable pcoip.service

3. sudo systemctl enable rgsender.service

4. sudo systemctl enable kdm.service (or whichever display manager you are using)

5. sudo systemctl isolate multi-user.target

6. sudo systemctl isolate graphical.target

7.  I checked "Prompt for username and password" in the HP receiver connection settings.

8. connect to your workstation via HP receiver

 

The application I was trying to use complained about not finding :100 ( Warning: could not connect to display :100) as /bin/X was started on :0

so I had to modify StaticServers in /etc/kde/kdm/kdmrc

from :0 to :100

so it set as: StaticServers=:100

and then restarted kdm.service

 

If you need to switch back to teradici, then  un-do all of the steps above.

 

HTH.

 

HP Recommended

OH, I guess I forgot to ask if you need the pcoip-agent running at the same time as connecting via rgs?  

HP Recommended

Hi Andrej,

 

I was able to test another way that has the pcoip-agent running.  I started on a clean instance, so I did NOT modify any files, including /etc/pcoip-agent/pcoip-agent.conf.

 

1. [admin@host ~]$ sudo cp -p /etc/pam.d/xserver /etc/pam.d/xserver.bk

2. [admin@host ~]$ sudo vi /etc/pam.d/xserver

(see contents below)

3.  [admin@host ~]$ sudo cat /etc/pam.d/xserver

#%PAM-1.0
auth sufficient pam_rootok.so
auth sufficient pam_console.so
auth sufficient pam_permit.so
account sufficient pam_permit.so
session optional pam_keyinit.so force revoke

 

I was logged in as an  admin user, but I need to su to the user I want to be logged in via the GUI, so

4. [admin@host ~]$ su - jarak

5. [jarak@host ~]$  startx

 

Then in another shell, I start the rgs service.

[admin@host ~]$ sudo systemctl start rgsender.service

 

HTH. 

 

 

HP Recommended

Hi Jarak,

 

Thank you a lot, that's extremely useful.

 

However, as you said we need RGS for the collaboration thing. 

 

Currently, we're using hardware PCoIP cards for remote users, and RGS internally if users want to show their work to senior members/need some help from Tech. It works just fine, but when we've tried a software PCoIP it doesn't play well.

 

Apparently, I've reinstalled everything and it's suddenly started to work. However, as RGS thinks that nothing's running on :10.0 display it allows everyone to connect without asking for permission which is pretty bad.

HP Recommended

Hello,

 

I believe I helped get a case raised for you with our 2LS support.  There are issues with RGS and Teradici running on the same system.  On the collaboration issue, do you have the setting in the rgsenderconfig file set to allow automatic collaboration?

 

## Allow authenticated collaborators to connect without prompting for
## authorization.

Rgsender.Collaboration.AlwaysAcceptCollaborators=1

 

Kelly

I am an HP employee.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.