RHEL + XRDP works for certain users











up vote
0
down vote

favorite












I'm runnign a RHEL server on an EC2 AWS instance.
I have XRDP installed.



Whenever I try to login, login is successfull but immidiately my XRDP screen closes. It only displays a remote desktop screen when connecting with new users.



Root and existing ec2-user accounts fail when connecting.



What are the most common causes of this?
All necessary ports are allowed.










share|improve this question







New contributor




mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I'm runnign a RHEL server on an EC2 AWS instance.
    I have XRDP installed.



    Whenever I try to login, login is successfull but immidiately my XRDP screen closes. It only displays a remote desktop screen when connecting with new users.



    Root and existing ec2-user accounts fail when connecting.



    What are the most common causes of this?
    All necessary ports are allowed.










    share|improve this question







    New contributor




    mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm runnign a RHEL server on an EC2 AWS instance.
      I have XRDP installed.



      Whenever I try to login, login is successfull but immidiately my XRDP screen closes. It only displays a remote desktop screen when connecting with new users.



      Root and existing ec2-user accounts fail when connecting.



      What are the most common causes of this?
      All necessary ports are allowed.










      share|improve this question







      New contributor




      mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm runnign a RHEL server on an EC2 AWS instance.
      I have XRDP installed.



      Whenever I try to login, login is successfull but immidiately my XRDP screen closes. It only displays a remote desktop screen when connecting with new users.



      Root and existing ec2-user accounts fail when connecting.



      What are the most common causes of this?
      All necessary ports are allowed.







      rhel xrdp






      share|improve this question







      New contributor




      mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Nov 29 at 20:22









      mremane

      1




      1




      New contributor




      mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      mremane is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I would check to make sure that the existing users are not missing membership in any of the groups that are required by xrdp. You can figure out if this is the case by comparing user and group memberships.



          groups | grep username for each user and not the differences.


          root by its nature should not list any, if it does should only list root.



          Also, root should not have a xsession to connect to. But this could also explain the issue with the other existing user.



          So check that the other user/users do. The ones that work obviously do so you only need to check their groups for comparison.






          share|improve this answer





















          • Thank you but what group memberships should users have? Is it somewhere on xrdp documentation? Can't seem to find it. I'm not finding any differences between users.
            – mremane
            Nov 29 at 21:10












          • tsusers is the xrdp group
            – Michael Prokopec
            Nov 29 at 21:13










          • created group tsusers and added my users. Issue remains. I'm instantly kicked out when authenticating. Any other reason that could contribute?
            – mremane
            Nov 29 at 21:47












          • itzgeek.com/how-tos/linux/centos-how-tos/… I don't know what the issue is, possibly the session type, it should be Xvnc. You can delete that empty group as well.
            – Michael Prokopec
            Nov 29 at 21:56












          • The issue is that the users that work have something that the prexising ones don't. Whether that be a proticuler desktop enviroment, config files, or whatever. Find the differences, you get your answer.
            – Michael Prokopec
            Nov 29 at 22:02











          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',
          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
          });


          }
          });






          mremane is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f485008%2frhel-xrdp-works-for-certain-users%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          I would check to make sure that the existing users are not missing membership in any of the groups that are required by xrdp. You can figure out if this is the case by comparing user and group memberships.



          groups | grep username for each user and not the differences.


          root by its nature should not list any, if it does should only list root.



          Also, root should not have a xsession to connect to. But this could also explain the issue with the other existing user.



          So check that the other user/users do. The ones that work obviously do so you only need to check their groups for comparison.






          share|improve this answer





















          • Thank you but what group memberships should users have? Is it somewhere on xrdp documentation? Can't seem to find it. I'm not finding any differences between users.
            – mremane
            Nov 29 at 21:10












          • tsusers is the xrdp group
            – Michael Prokopec
            Nov 29 at 21:13










          • created group tsusers and added my users. Issue remains. I'm instantly kicked out when authenticating. Any other reason that could contribute?
            – mremane
            Nov 29 at 21:47












          • itzgeek.com/how-tos/linux/centos-how-tos/… I don't know what the issue is, possibly the session type, it should be Xvnc. You can delete that empty group as well.
            – Michael Prokopec
            Nov 29 at 21:56












          • The issue is that the users that work have something that the prexising ones don't. Whether that be a proticuler desktop enviroment, config files, or whatever. Find the differences, you get your answer.
            – Michael Prokopec
            Nov 29 at 22:02















          up vote
          0
          down vote













          I would check to make sure that the existing users are not missing membership in any of the groups that are required by xrdp. You can figure out if this is the case by comparing user and group memberships.



          groups | grep username for each user and not the differences.


          root by its nature should not list any, if it does should only list root.



          Also, root should not have a xsession to connect to. But this could also explain the issue with the other existing user.



          So check that the other user/users do. The ones that work obviously do so you only need to check their groups for comparison.






          share|improve this answer





















          • Thank you but what group memberships should users have? Is it somewhere on xrdp documentation? Can't seem to find it. I'm not finding any differences between users.
            – mremane
            Nov 29 at 21:10












          • tsusers is the xrdp group
            – Michael Prokopec
            Nov 29 at 21:13










          • created group tsusers and added my users. Issue remains. I'm instantly kicked out when authenticating. Any other reason that could contribute?
            – mremane
            Nov 29 at 21:47












          • itzgeek.com/how-tos/linux/centos-how-tos/… I don't know what the issue is, possibly the session type, it should be Xvnc. You can delete that empty group as well.
            – Michael Prokopec
            Nov 29 at 21:56












          • The issue is that the users that work have something that the prexising ones don't. Whether that be a proticuler desktop enviroment, config files, or whatever. Find the differences, you get your answer.
            – Michael Prokopec
            Nov 29 at 22:02













          up vote
          0
          down vote










          up vote
          0
          down vote









          I would check to make sure that the existing users are not missing membership in any of the groups that are required by xrdp. You can figure out if this is the case by comparing user and group memberships.



          groups | grep username for each user and not the differences.


          root by its nature should not list any, if it does should only list root.



          Also, root should not have a xsession to connect to. But this could also explain the issue with the other existing user.



          So check that the other user/users do. The ones that work obviously do so you only need to check their groups for comparison.






          share|improve this answer












          I would check to make sure that the existing users are not missing membership in any of the groups that are required by xrdp. You can figure out if this is the case by comparing user and group memberships.



          groups | grep username for each user and not the differences.


          root by its nature should not list any, if it does should only list root.



          Also, root should not have a xsession to connect to. But this could also explain the issue with the other existing user.



          So check that the other user/users do. The ones that work obviously do so you only need to check their groups for comparison.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 29 at 20:32









          Michael Prokopec

          71316




          71316












          • Thank you but what group memberships should users have? Is it somewhere on xrdp documentation? Can't seem to find it. I'm not finding any differences between users.
            – mremane
            Nov 29 at 21:10












          • tsusers is the xrdp group
            – Michael Prokopec
            Nov 29 at 21:13










          • created group tsusers and added my users. Issue remains. I'm instantly kicked out when authenticating. Any other reason that could contribute?
            – mremane
            Nov 29 at 21:47












          • itzgeek.com/how-tos/linux/centos-how-tos/… I don't know what the issue is, possibly the session type, it should be Xvnc. You can delete that empty group as well.
            – Michael Prokopec
            Nov 29 at 21:56












          • The issue is that the users that work have something that the prexising ones don't. Whether that be a proticuler desktop enviroment, config files, or whatever. Find the differences, you get your answer.
            – Michael Prokopec
            Nov 29 at 22:02


















          • Thank you but what group memberships should users have? Is it somewhere on xrdp documentation? Can't seem to find it. I'm not finding any differences between users.
            – mremane
            Nov 29 at 21:10












          • tsusers is the xrdp group
            – Michael Prokopec
            Nov 29 at 21:13










          • created group tsusers and added my users. Issue remains. I'm instantly kicked out when authenticating. Any other reason that could contribute?
            – mremane
            Nov 29 at 21:47












          • itzgeek.com/how-tos/linux/centos-how-tos/… I don't know what the issue is, possibly the session type, it should be Xvnc. You can delete that empty group as well.
            – Michael Prokopec
            Nov 29 at 21:56












          • The issue is that the users that work have something that the prexising ones don't. Whether that be a proticuler desktop enviroment, config files, or whatever. Find the differences, you get your answer.
            – Michael Prokopec
            Nov 29 at 22:02
















          Thank you but what group memberships should users have? Is it somewhere on xrdp documentation? Can't seem to find it. I'm not finding any differences between users.
          – mremane
          Nov 29 at 21:10






          Thank you but what group memberships should users have? Is it somewhere on xrdp documentation? Can't seem to find it. I'm not finding any differences between users.
          – mremane
          Nov 29 at 21:10














          tsusers is the xrdp group
          – Michael Prokopec
          Nov 29 at 21:13




          tsusers is the xrdp group
          – Michael Prokopec
          Nov 29 at 21:13












          created group tsusers and added my users. Issue remains. I'm instantly kicked out when authenticating. Any other reason that could contribute?
          – mremane
          Nov 29 at 21:47






          created group tsusers and added my users. Issue remains. I'm instantly kicked out when authenticating. Any other reason that could contribute?
          – mremane
          Nov 29 at 21:47














          itzgeek.com/how-tos/linux/centos-how-tos/… I don't know what the issue is, possibly the session type, it should be Xvnc. You can delete that empty group as well.
          – Michael Prokopec
          Nov 29 at 21:56






          itzgeek.com/how-tos/linux/centos-how-tos/… I don't know what the issue is, possibly the session type, it should be Xvnc. You can delete that empty group as well.
          – Michael Prokopec
          Nov 29 at 21:56














          The issue is that the users that work have something that the prexising ones don't. Whether that be a proticuler desktop enviroment, config files, or whatever. Find the differences, you get your answer.
          – Michael Prokopec
          Nov 29 at 22:02




          The issue is that the users that work have something that the prexising ones don't. Whether that be a proticuler desktop enviroment, config files, or whatever. Find the differences, you get your answer.
          – Michael Prokopec
          Nov 29 at 22:02










          mremane is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          mremane is a new contributor. Be nice, and check out our Code of Conduct.













          mremane is a new contributor. Be nice, and check out our Code of Conduct.












          mremane is a new contributor. Be nice, and check out our Code of Conduct.
















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f485008%2frhel-xrdp-works-for-certain-users%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

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux