Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Consent Access Denied Error in Ubuntu 22.04 OS #6050

Open
mdshoaibumer opened this issue Apr 22, 2024 · 15 comments
Open

User Consent Access Denied Error in Ubuntu 22.04 OS #6050

mdshoaibumer opened this issue Apr 22, 2024 · 15 comments
Labels

Comments

@mdshoaibumer
Copy link

mdshoaibumer commented Apr 22, 2024

Hi Team,

I have installed MeshAgents on Ubuntu 22.04 operating system. Desktop control is working exactly fine, but when user consent is enabled, access is getting denied automatically when I click on the connect button. Kindly find the screenshot attached below.

First Image is the screen where user consent is enabled and access is getting denied
image

Second Image is the screen where user consent is disabled and we are able to access.
image (1)

Note :

  1. MeshCentral Version - 1.1.21
  2. Operating System - Microsoft Windows Server 2016.
  3. NodeJS Version - 20.11.1
  4. There is no pop coming in the end machine for control access request.
  5. User is logged in and working.
  6. MeshAgent is installed with root access in the Ubuntu OS.
  7. With user consent disabled all features are working as expected.

@Ylianst sir, Kindly request you to help me resolving the issue.

@si458
Copy link
Collaborator

si458 commented Apr 22, 2024

just tried it on my ubuntu 22.04 and its working as expected?
how do you enable to user consent?
is it set for the user OR is it set for the group OR is it set for the device?
can you share the permissions screen where you enabled the consent?

@mdshoaibumer
Copy link
Author

Hi @si458 ,

We are enabling user consent based on Device Group. Kindly refer below screen shot

Screenshot (59)

I did try enabling user consent for only that particular device but that also its not working
Screenshot (58)

Screenshot (61)
I have attached the screen shot from events tab too.

Kindly help in resolving this issue

@si458
Copy link
Collaborator

si458 commented Apr 23, 2024

Thanks just wanted to verify so I can try replicate! Just setting up vm ubuntu 20.04 to test, as I said 22.04 seems to be OK?

@mdshoaibumer
Copy link
Author

Hi @si458 ,

Yes Ubuntu 22.04.1 LTS is where this issue is observed. I will wait for your update.

@si458
Copy link
Collaborator

si458 commented Apr 23, 2024

@mdshoaibumer, you say above 20.04 has this issue and I said 22.04 doesn't have this issue, now ur saying 22.04 has this issue? I'm confused?

@mdshoaibumer
Copy link
Author

mdshoaibumer commented Apr 23, 2024

Hi @si458 ,

Sorry for the confusion.This is the OS details iam sharing in screen shot where i have installed mesh agent with root user.

Screenshot (62)

@si458 si458 changed the title User Consent Access Denied Error in Ubuntu 20.0.4 OS User Consent Access Denied Error in Ubuntu 22.04 OS Apr 23, 2024
@si458
Copy link
Collaborator

si458 commented Apr 24, 2024

so i cant replicate the issue? it seems to show pop up here on my test vm no problems?
image
image

what desktop UI are you using with ubuntu? and specs of ubuntu? my example VM
image

@mdshoaibumer
Copy link
Author

Dear @si458 ,

Kindly find my ubuntu about section in screenshot
Screenshot (63)
Screenshot (64)

@mdshoaibumer
Copy link
Author

mdshoaibumer commented Apr 24, 2024

Dear @si458 ,

Just for your information i have installed meshagent using Add Agent -> Linux/BSD -> I have copied the command and executed it in terminal with root previlage.

@si458
Copy link
Collaborator

si458 commented Apr 24, 2024

thanks, im still scratching my head as it works here no problem?
im assuming its vmware workstation u are using or esxi?
it could be a graphics issues with vmware
have you also tried installing any ubuntu updates?
as im using 22.04.4 and ur only on .1 ?

@mdshoaibumer
Copy link
Author

Hi @si458 ,

Just found out that If i use Add Agent -> Linux/BSD/Mac OS installer and install meshagent using it then there is no problem.

But when i use it Add Agent-> Linux/BSD command and install meshagent then only this problem is observed.

@si458
Copy link
Collaborator

si458 commented Apr 24, 2024

hmmm thats weird?
all the script does is download the installer and run the install?
will try and see if i can replicate it as i still cant replicate it

@mdshoaibumer
Copy link
Author

I will try with other Ubuntu Machines and will update here.

@mdshoaibumer
Copy link
Author

Hi @si458 ,

The suspect here is that when iam trying to ask for consent then meshagent is crashing. Kindly verify this and let me know if any permissions need to be set.

@si458
Copy link
Collaborator

si458 commented May 8, 2024

I still can't seem to replicate the issue? So im abit stuck at the moment.
Can u share the output from running info from the devices console tab?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants