authentication is required to create a color profile












3















I am running a fresh install of centos 7 gnome
so I could rdp from windows I followed the following instructions
but when I connect I get an additional login that says



authentication is required to create a color profile


How do I remove this additional login?



In an attempt to solve this problem I tried a solution here but it did not work. because link is a lot more then just a solution to this problem I pasted the solution below.




When you login into your system via remote session, you will see this
message popping up. You can simply cancel and you will be able to
proceed till the next time you login and start a new session.



To avoid this prompt, we will need to change the polkit configuration.
Using admin privileges, create a file called 02-allow-colord.conf
under the following directory /etc/polkit-1/localauthority.conf.d/



The file should contains the following instructions and you should not
be prompted anymore with such authentication request while remoting
into your system




polkit.addRule(function(action, subject) { if ((action.id ==
“org.freedesktop.color-manager.create-device” || action.id ==
“org.freedesktop.color-manager.create-profile” || action.id ==
“org.freedesktop.color-manager.delete-device” || action.id ==
“org.freedesktop.color-manager.delete-profile” || action.id ==
“org.freedesktop.color-manager.modify-device” || action.id ==
“org.freedesktop.color-manager.modify-profile”) &&
subject.isInGroup(“{group}”)) { return polkit.Result.YES; } });









share|improve this question

























  • I have the same issue here, I'm running a centos7.5.1804. I'm using the xrdp, and if I select xvnc, I don't see this dialog, but if I select xorg, I do see the annoying dialog.

    – ollydbg23
    Jul 26 '18 at 6:31
















3















I am running a fresh install of centos 7 gnome
so I could rdp from windows I followed the following instructions
but when I connect I get an additional login that says



authentication is required to create a color profile


How do I remove this additional login?



In an attempt to solve this problem I tried a solution here but it did not work. because link is a lot more then just a solution to this problem I pasted the solution below.




When you login into your system via remote session, you will see this
message popping up. You can simply cancel and you will be able to
proceed till the next time you login and start a new session.



To avoid this prompt, we will need to change the polkit configuration.
Using admin privileges, create a file called 02-allow-colord.conf
under the following directory /etc/polkit-1/localauthority.conf.d/



The file should contains the following instructions and you should not
be prompted anymore with such authentication request while remoting
into your system




polkit.addRule(function(action, subject) { if ((action.id ==
“org.freedesktop.color-manager.create-device” || action.id ==
“org.freedesktop.color-manager.create-profile” || action.id ==
“org.freedesktop.color-manager.delete-device” || action.id ==
“org.freedesktop.color-manager.delete-profile” || action.id ==
“org.freedesktop.color-manager.modify-device” || action.id ==
“org.freedesktop.color-manager.modify-profile”) &&
subject.isInGroup(“{group}”)) { return polkit.Result.YES; } });









share|improve this question

























  • I have the same issue here, I'm running a centos7.5.1804. I'm using the xrdp, and if I select xvnc, I don't see this dialog, but if I select xorg, I do see the annoying dialog.

    – ollydbg23
    Jul 26 '18 at 6:31














3












3








3


1






I am running a fresh install of centos 7 gnome
so I could rdp from windows I followed the following instructions
but when I connect I get an additional login that says



authentication is required to create a color profile


How do I remove this additional login?



In an attempt to solve this problem I tried a solution here but it did not work. because link is a lot more then just a solution to this problem I pasted the solution below.




When you login into your system via remote session, you will see this
message popping up. You can simply cancel and you will be able to
proceed till the next time you login and start a new session.



To avoid this prompt, we will need to change the polkit configuration.
Using admin privileges, create a file called 02-allow-colord.conf
under the following directory /etc/polkit-1/localauthority.conf.d/



The file should contains the following instructions and you should not
be prompted anymore with such authentication request while remoting
into your system




polkit.addRule(function(action, subject) { if ((action.id ==
“org.freedesktop.color-manager.create-device” || action.id ==
“org.freedesktop.color-manager.create-profile” || action.id ==
“org.freedesktop.color-manager.delete-device” || action.id ==
“org.freedesktop.color-manager.delete-profile” || action.id ==
“org.freedesktop.color-manager.modify-device” || action.id ==
“org.freedesktop.color-manager.modify-profile”) &&
subject.isInGroup(“{group}”)) { return polkit.Result.YES; } });









share|improve this question
















I am running a fresh install of centos 7 gnome
so I could rdp from windows I followed the following instructions
but when I connect I get an additional login that says



authentication is required to create a color profile


How do I remove this additional login?



In an attempt to solve this problem I tried a solution here but it did not work. because link is a lot more then just a solution to this problem I pasted the solution below.




When you login into your system via remote session, you will see this
message popping up. You can simply cancel and you will be able to
proceed till the next time you login and start a new session.



To avoid this prompt, we will need to change the polkit configuration.
Using admin privileges, create a file called 02-allow-colord.conf
under the following directory /etc/polkit-1/localauthority.conf.d/



The file should contains the following instructions and you should not
be prompted anymore with such authentication request while remoting
into your system




polkit.addRule(function(action, subject) { if ((action.id ==
“org.freedesktop.color-manager.create-device” || action.id ==
“org.freedesktop.color-manager.create-profile” || action.id ==
“org.freedesktop.color-manager.delete-device” || action.id ==
“org.freedesktop.color-manager.delete-profile” || action.id ==
“org.freedesktop.color-manager.modify-device” || action.id ==
“org.freedesktop.color-manager.modify-profile”) &&
subject.isInGroup(“{group}”)) { return polkit.Result.YES; } });






centos xrdp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 18 '18 at 17:57







Starblight

















asked Jan 18 '18 at 2:09









StarblightStarblight

5419




5419













  • I have the same issue here, I'm running a centos7.5.1804. I'm using the xrdp, and if I select xvnc, I don't see this dialog, but if I select xorg, I do see the annoying dialog.

    – ollydbg23
    Jul 26 '18 at 6:31



















  • I have the same issue here, I'm running a centos7.5.1804. I'm using the xrdp, and if I select xvnc, I don't see this dialog, but if I select xorg, I do see the annoying dialog.

    – ollydbg23
    Jul 26 '18 at 6:31

















I have the same issue here, I'm running a centos7.5.1804. I'm using the xrdp, and if I select xvnc, I don't see this dialog, but if I select xorg, I do see the annoying dialog.

– ollydbg23
Jul 26 '18 at 6:31





I have the same issue here, I'm running a centos7.5.1804. I'm using the xrdp, and if I select xvnc, I don't see this dialog, but if I select xorg, I do see the annoying dialog.

– ollydbg23
Jul 26 '18 at 6:31










2 Answers
2






active

oldest

votes


















5














I found this bug and some workarounds here:



https://bugzilla.redhat.com/show_bug.cgi?id=1149893



More specific you have to place a .rules file in



/etc/polkit-1/rules.d/



(Select a filename and just givr the .rules extension)



and give the rules:



polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.color-manager.create-device" ||
action.id == "org.freedesktop.color-manager.create-profile" ||
action.id == "org.freedesktop.color-manager.delete-device" ||
action.id == "org.freedesktop.color-manager.delete-profile" ||
action.id == "org.freedesktop.color-manager.modify-device" ||
action.id == "org.freedesktop.color-manager.modify-profile") &&
subject.isInGroup("ATTENTION")) {
return polkit.Result.YES;
}
});


Then you have to Replace the word "ATTENTION" with your user's group.



Just giving the info as a start... Hope that helps, but feel free to ask me to delete.



Source: The link I provided






share|improve this answer



















  • 1





    With the changes mentioned above, I can workaround this issue. Thanks.

    – ollydbg23
    Jul 26 '18 at 6:52






  • 1





    Great answer; thanks for including the references. This worked for me on Fedora 28, connecting with VNC.

    – Dogweather
    Sep 11 '18 at 22:10





















0














I had the same problem and found a different work-around here:



https://github.com/TurboVNC/turbovnc/issues/47#issuecomment-412005377



This variant is claimed to work independent of authentication scheme (e.g. LDAP).



Create /etc/polkit-1/localauthority/50-local.d/color.pkla (note: .pkla extension is required) with the following contents:



[Allow colord for all users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=yes
ResultInactive=yes
ResultActive=yes


Worked for me.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f417906%2fauthentication-is-required-to-create-a-color-profile%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    I found this bug and some workarounds here:



    https://bugzilla.redhat.com/show_bug.cgi?id=1149893



    More specific you have to place a .rules file in



    /etc/polkit-1/rules.d/



    (Select a filename and just givr the .rules extension)



    and give the rules:



    polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.color-manager.create-device" ||
    action.id == "org.freedesktop.color-manager.create-profile" ||
    action.id == "org.freedesktop.color-manager.delete-device" ||
    action.id == "org.freedesktop.color-manager.delete-profile" ||
    action.id == "org.freedesktop.color-manager.modify-device" ||
    action.id == "org.freedesktop.color-manager.modify-profile") &&
    subject.isInGroup("ATTENTION")) {
    return polkit.Result.YES;
    }
    });


    Then you have to Replace the word "ATTENTION" with your user's group.



    Just giving the info as a start... Hope that helps, but feel free to ask me to delete.



    Source: The link I provided






    share|improve this answer



















    • 1





      With the changes mentioned above, I can workaround this issue. Thanks.

      – ollydbg23
      Jul 26 '18 at 6:52






    • 1





      Great answer; thanks for including the references. This worked for me on Fedora 28, connecting with VNC.

      – Dogweather
      Sep 11 '18 at 22:10


















    5














    I found this bug and some workarounds here:



    https://bugzilla.redhat.com/show_bug.cgi?id=1149893



    More specific you have to place a .rules file in



    /etc/polkit-1/rules.d/



    (Select a filename and just givr the .rules extension)



    and give the rules:



    polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.color-manager.create-device" ||
    action.id == "org.freedesktop.color-manager.create-profile" ||
    action.id == "org.freedesktop.color-manager.delete-device" ||
    action.id == "org.freedesktop.color-manager.delete-profile" ||
    action.id == "org.freedesktop.color-manager.modify-device" ||
    action.id == "org.freedesktop.color-manager.modify-profile") &&
    subject.isInGroup("ATTENTION")) {
    return polkit.Result.YES;
    }
    });


    Then you have to Replace the word "ATTENTION" with your user's group.



    Just giving the info as a start... Hope that helps, but feel free to ask me to delete.



    Source: The link I provided






    share|improve this answer



















    • 1





      With the changes mentioned above, I can workaround this issue. Thanks.

      – ollydbg23
      Jul 26 '18 at 6:52






    • 1





      Great answer; thanks for including the references. This worked for me on Fedora 28, connecting with VNC.

      – Dogweather
      Sep 11 '18 at 22:10
















    5












    5








    5







    I found this bug and some workarounds here:



    https://bugzilla.redhat.com/show_bug.cgi?id=1149893



    More specific you have to place a .rules file in



    /etc/polkit-1/rules.d/



    (Select a filename and just givr the .rules extension)



    and give the rules:



    polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.color-manager.create-device" ||
    action.id == "org.freedesktop.color-manager.create-profile" ||
    action.id == "org.freedesktop.color-manager.delete-device" ||
    action.id == "org.freedesktop.color-manager.delete-profile" ||
    action.id == "org.freedesktop.color-manager.modify-device" ||
    action.id == "org.freedesktop.color-manager.modify-profile") &&
    subject.isInGroup("ATTENTION")) {
    return polkit.Result.YES;
    }
    });


    Then you have to Replace the word "ATTENTION" with your user's group.



    Just giving the info as a start... Hope that helps, but feel free to ask me to delete.



    Source: The link I provided






    share|improve this answer













    I found this bug and some workarounds here:



    https://bugzilla.redhat.com/show_bug.cgi?id=1149893



    More specific you have to place a .rules file in



    /etc/polkit-1/rules.d/



    (Select a filename and just givr the .rules extension)



    and give the rules:



    polkit.addRule(function(action, subject) {
    if ((action.id == "org.freedesktop.color-manager.create-device" ||
    action.id == "org.freedesktop.color-manager.create-profile" ||
    action.id == "org.freedesktop.color-manager.delete-device" ||
    action.id == "org.freedesktop.color-manager.delete-profile" ||
    action.id == "org.freedesktop.color-manager.modify-device" ||
    action.id == "org.freedesktop.color-manager.modify-profile") &&
    subject.isInGroup("ATTENTION")) {
    return polkit.Result.YES;
    }
    });


    Then you have to Replace the word "ATTENTION" with your user's group.



    Just giving the info as a start... Hope that helps, but feel free to ask me to delete.



    Source: The link I provided







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 18 '18 at 5:27









    koleygrkoleygr

    11810




    11810








    • 1





      With the changes mentioned above, I can workaround this issue. Thanks.

      – ollydbg23
      Jul 26 '18 at 6:52






    • 1





      Great answer; thanks for including the references. This worked for me on Fedora 28, connecting with VNC.

      – Dogweather
      Sep 11 '18 at 22:10
















    • 1





      With the changes mentioned above, I can workaround this issue. Thanks.

      – ollydbg23
      Jul 26 '18 at 6:52






    • 1





      Great answer; thanks for including the references. This worked for me on Fedora 28, connecting with VNC.

      – Dogweather
      Sep 11 '18 at 22:10










    1




    1





    With the changes mentioned above, I can workaround this issue. Thanks.

    – ollydbg23
    Jul 26 '18 at 6:52





    With the changes mentioned above, I can workaround this issue. Thanks.

    – ollydbg23
    Jul 26 '18 at 6:52




    1




    1





    Great answer; thanks for including the references. This worked for me on Fedora 28, connecting with VNC.

    – Dogweather
    Sep 11 '18 at 22:10







    Great answer; thanks for including the references. This worked for me on Fedora 28, connecting with VNC.

    – Dogweather
    Sep 11 '18 at 22:10















    0














    I had the same problem and found a different work-around here:



    https://github.com/TurboVNC/turbovnc/issues/47#issuecomment-412005377



    This variant is claimed to work independent of authentication scheme (e.g. LDAP).



    Create /etc/polkit-1/localauthority/50-local.d/color.pkla (note: .pkla extension is required) with the following contents:



    [Allow colord for all users]
    Identity=unix-user:*
    Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
    ResultAny=yes
    ResultInactive=yes
    ResultActive=yes


    Worked for me.






    share|improve this answer




























      0














      I had the same problem and found a different work-around here:



      https://github.com/TurboVNC/turbovnc/issues/47#issuecomment-412005377



      This variant is claimed to work independent of authentication scheme (e.g. LDAP).



      Create /etc/polkit-1/localauthority/50-local.d/color.pkla (note: .pkla extension is required) with the following contents:



      [Allow colord for all users]
      Identity=unix-user:*
      Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
      ResultAny=yes
      ResultInactive=yes
      ResultActive=yes


      Worked for me.






      share|improve this answer


























        0












        0








        0







        I had the same problem and found a different work-around here:



        https://github.com/TurboVNC/turbovnc/issues/47#issuecomment-412005377



        This variant is claimed to work independent of authentication scheme (e.g. LDAP).



        Create /etc/polkit-1/localauthority/50-local.d/color.pkla (note: .pkla extension is required) with the following contents:



        [Allow colord for all users]
        Identity=unix-user:*
        Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
        ResultAny=yes
        ResultInactive=yes
        ResultActive=yes


        Worked for me.






        share|improve this answer













        I had the same problem and found a different work-around here:



        https://github.com/TurboVNC/turbovnc/issues/47#issuecomment-412005377



        This variant is claimed to work independent of authentication scheme (e.g. LDAP).



        Create /etc/polkit-1/localauthority/50-local.d/color.pkla (note: .pkla extension is required) with the following contents:



        [Allow colord for all users]
        Identity=unix-user:*
        Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
        ResultAny=yes
        ResultInactive=yes
        ResultActive=yes


        Worked for me.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 24 at 18:31









        NemoNemo

        92456




        92456






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f417906%2fauthentication-is-required-to-create-a-color-profile%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

            is 'sed' thread safe

            How to make a Squid Proxy server?