LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me!!! VNC Server install error (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-vnc-server-install-error-4175597032/)

TangoBanker 01-08-2017 10:12 AM

Help me!!! VNC Server install error
 
I'm attempting to install a VNC Server on my Raspberry Pi and getting an error.

When I'm in the add programs menu, I search for the VNC Server and select folder, highlight folder to install and the following error message pops up.

"Incorrect permissions on /usr/lib/policykit-1/polkit-1-agent-helper-1 (needs to be setuid root)

How do I change the setuid root to allow install of the server?

hazel 01-08-2017 10:40 AM

Please do not use titles like "Help me!!!" It's considered rather rude to order other forum users to do something for you.


Permissions are changed using the chmod command. The permissions are stored in a 4-digit code called the mode. Here is an extract from the chmod man page (which you could have looked up yourself)
Quote:

A numeric mode is from one to four octal digits (0-7), derived by adding up the bits with values 4, 2, and 1. Omitted digits are assumed to be leading zeros. The first digit selects the set user ID (4) and set group ID (2) and restricted deletion or sticky (1) attributes. The second digit selects permissions for the user who owns the file: read (4), write (2), and execute (1); the third selects permissions for other users in the file's group, with the same values; and the fourth for other users not in the file's group, with the same values.
So you need to change the current mode of the specified file from 0xyz to 4xyz (where xyz are the current permissions). Of course you will need to do this as root. Use the stat command to find out what the current permissions are. Then, as root, use chmod to change them.


All times are GMT -5. The time now is 06:13 AM.