Forum Replies Created
-
AuthorPosts
-
dtc42Participant
Thank you for your quick reply. I did a
1) clean install of nomachine_4.2.26_1_amd64.deb,
2) and followed the instructions to start Xvfb on display :0 as a non-root userps -ef shows:
1002 10252 1 0 18:09 pts/1 00:00:00 Xvfb :0 -auth /home/googlestudent/Xvfb-0.auth -screen 0 1280x1024x24
and netstat -l shows:
tcp 0 0 *:4000 *:* LISTEN
When I try to attach using nxplayer, it actually connects and lets me enter the password for the non-root user, but instead of connecting to the Desktop I get the attached error screen instead (Ooops! Could not start the display server. Error is 5: Input/output error). I will attach the error logs.
When I try this same sequence as the *root* user, then the final connection to a Desktop is successful, but I would like to do this as a non-root user.
Thanks!
-davedtc42ParticipantI also followed the instructions here for NoMachine_4.2.26
https://www.nomachine.com/AR10K00710
And was able to get the basic functionality to work on an AWS debian instance. On AWS, typically an “admin” or “ec2-user” is provided with sudo privileges. My goal is to allow NoMachine access to a gnome desktop as the ec2-user.
Following the KnowledgeBase article as “root”, then I can connect to a desktop using nxplayer — but *only* as the “root” user. (To make this work I also had to modify /usr/NX/etc/server.cfg and change the default values for: VirtualDesktopAuthorization 0, and PhysicalDesktopAuthorization 0)
If I try to follow the KnowledgeBase procedure as the “ec2-user” then the nxserver –restart fails.
> /usr/NX/bin/nxserver –restart
NX> 500 ERROR: Only a user with administrative privileges
NX> 500 ERROR: can use option: restart.Running nxserver –restart as sudo does work, but then the proper Desktop connections are not displayed in nxplayer.
Is there any way to provide a headless Desktop connection to a non-root user?
Thanks!
-dave -
AuthorPosts