LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2017, 10:12 AM   #1
TangoBanker
LQ Newbie
 
Registered: Jan 2017
Location: Indianapolis
Posts: 1

Rep: Reputation: Disabled
Question 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?
 
Old 01-08-2017, 10:40 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC viewer showing black screen. unable to connect VNC server remotely on the server? cyberdome Linux - Server 1 08-01-2014 08:21 AM
Error when installing vnc server on centos davidlu766 Linux - Server 2 04-14-2010 07:06 PM
vnc server configure centos 5.4 error salimshahzad Linux - Newbie 1 03-22-2010 10:59 AM
fatal server error - server is already active for display 0+vnc suna22 Linux - Software 0 05-24-2006 09:35 AM
Trying to install VNC Server NovaBurst Mandriva 1 03-30-2005 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration