FedoraForum.org - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Jan 2018

    PolicyKit failed over headless VNC

    I have a fresh install of Fedora 27 XFCE inside of a Hyper-V VM. I plan to use this 100% remotely hence the headless VNC. I have installed tigervnc-server and configured it to run on :0, done a "systemctl set-default multi-user.target" and opened up the vnc-service on firewall.

    The problem arrises when connecting over with tightVNC. Upon starting the session I am presented with an error box saying "XFCE PolicyKit Agent" and "GDBus.Error:org.freedesktop.PolicyKit1.Error.Fail ed: Cannot determine user of subject" and I click close to make it go away. Note that I am not asked to log in the desktop for my user is already up.

    But anything that requires elevation privilege does not work now. I don't get errors, just nothing happens when I try to open say gparted or install something with the GUI software manager. Is there additional steps I need to take with VNC config to get the user working correctly with PolicyKit and VNC?


    I have tried disabling PolicyKit on startup and adding a policy

    Identity=unix-group:wheel (also tried *)

    and still can't launch anything requiring elevation.

    My xstartup in ~/.vnc/ contains

    exec /etc/X11/xinit/xinitrc
    I feel like something is not starting up correctly. Or this is some permissions issue with remote vs local...
    Last edited by BunBun; 14th January 2018 at 12:06 AM.

Similar Threads

  1. get rid of policykit restrictions
    By kerl in forum Using Fedora
    Replies: 6
    Last Post: 9th September 2010, 07:55 AM
  2. F13 PolicyKit
    By dmyersturnbull in forum Using Fedora
    Replies: 6
    Last Post: 31st May 2010, 09:03 PM
  3. PolicyKit problem
    By bgoodwin91006 in forum Using Fedora
    Replies: 0
    Last Post: 11th March 2010, 11:45 PM
  4. PolicyKit and VNC
    By lollysticky in forum Servers & Networking
    Replies: 1
    Last Post: 3rd November 2009, 12:05 AM
  5. PolicyKit help
    By Ashok Harnal in forum Security and Privacy
    Replies: 1
    Last Post: 1st September 2008, 07:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts