ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Remote Desktop to Fedora 28?

    IT Discussion
    rdp rdp sessions xrdp remote desktops fedora fedora 28
    12
    52
    14.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • siringoS
      siringo
      last edited by gjacobse

      So I've setup my old laptop with Fedora v28 workstation.

      What can I use to, (for want of the correct Linux terminology), RDP into my Fedora laptop when I'm out in the field?

      Not being command line savvy, it will need to be a GUI interface.

      Thanks.

      MODEDIT: Added tags.

      travisdh1T 1 Reply Last reply Reply Quote 2
      • travisdh1T
        travisdh1 @siringo
        last edited by

        @siringo said in Remote Desktop to Fedora 28?:

        So I've setup my old laptop with Fedora v28 workstation.

        What can I use to, (for want of the correct Linux terminology), RDP into my Fedora laptop when I'm out in the field?

        Not being command line savvy, it will need to be a GUI interface.

        Thanks.

        If you want RDP, install xrdp, start the service and enable it to run at boot.

        sudo dnf -y install xrdp
        sudo systemctl start xrdp
        sudo systemctl enable xrdp
        sudo firewall-cmd --permanent --add-port=3389/tcp
        sudo firewall-cmd --reload
        

        Will install it, start the service, enable the service at boot time, and open the local firewall port for it.

        siringoS 2 Replies Last reply Reply Quote 5
        • black3dynamiteB
          black3dynamite
          last edited by

          I’ve been using NoMachine for awhile now.

          1 Reply Last reply Reply Quote 2
          • siringoS
            siringo @travisdh1
            last edited by

            @travisdh1 said in Remote Desktop to Fedora 28?:

            @siringo said in Remote Desktop to Fedora 28?:

            So I've setup my old laptop with Fedora v28 workstation.

            What can I use to, (for want of the correct Linux terminology), RDP into my Fedora laptop when I'm out in the field?

            Not being command line savvy, it will need to be a GUI interface.

            Thanks.

            If you want RDP, install xrdp, start the service and enable it to run at boot.

            sudo dnf -y install xrdp
            sudo systemctl start xrdp
            sudo systemctl enable xrdp
            sudo firewall-cmd --permanent --add-port=3389/tcp
            sudo firewall-cmd --reload
            

            Will install it, start the service, enable the service at boot time, and open the local firewall port for it.

            Thanks @travisdh1 Does that allow me to use Windows' mstsc.exe and give me the Fedora desktop? Sounds too easy 😉

            scottalanmillerS 1 Reply Last reply Reply Quote 2
            • scottalanmillerS
              scottalanmiller @siringo
              last edited by

              @siringo said in Remote Desktop to Fedora 28?:

              @travisdh1 said in Remote Desktop to Fedora 28?:

              @siringo said in Remote Desktop to Fedora 28?:

              So I've setup my old laptop with Fedora v28 workstation.

              What can I use to, (for want of the correct Linux terminology), RDP into my Fedora laptop when I'm out in the field?

              Not being command line savvy, it will need to be a GUI interface.

              Thanks.

              If you want RDP, install xrdp, start the service and enable it to run at boot.

              sudo dnf -y install xrdp
              sudo systemctl start xrdp
              sudo systemctl enable xrdp
              sudo firewall-cmd --permanent --add-port=3389/tcp
              sudo firewall-cmd --reload
              

              Will install it, start the service, enable the service at boot time, and open the local firewall port for it.

              Thanks @travisdh1 Does that allow me to use Windows' mstsc.exe and give me the Fedora desktop? Sounds too easy 😉

              Yes it does. Linux can use RDP just like Windows does. Or you can use VNC, just like on Windows, too.

              1 Reply Last reply Reply Quote 1
              • siringoS
                siringo @travisdh1
                last edited by siringo

                @travisdh1 said in Remote Desktop to Fedora 28?:

                @siringo said in Remote Desktop to Fedora 28?:

                So I've setup my old laptop with Fedora v28 workstation.

                What can I use to, (for want of the correct Linux terminology), RDP into my Fedora laptop when I'm out in the field?

                Not being command line savvy, it will need to be a GUI interface.

                Thanks.

                If you want RDP, install xrdp, start the service and enable it to run at boot.

                sudo dnf -y install xrdp
                sudo systemctl start xrdp
                sudo systemctl enable xrdp
                sudo firewall-cmd --permanent --add-port=3389/tcp
                sudo firewall-cmd --reload
                

                Will install it, start the service, enable the service at boot time, and open the local firewall port for it.

                Went ahead and did all the above and it seems to work, but I don't log in.

                I get prompted for my username & password, but this comes up:

                alt text

                I installed TigerVNC the other week and only partially configured that, I wonder if that might be screwing up XRDP?

                How can I uninstall TigerVNC?

                I found that root can log in OK, but not my standard user account, which makes sense to me.

                OK, So XRDP needs my stadard account to be in a group called 'tsusers' as shown below:

                alt text

                I don't think there is a tsusers group, so I need to create that and add my account to the group.
                How do I do that?

                siringoS 1 Reply Last reply Reply Quote 2
                • siringoS
                  siringo @siringo
                  last edited by

                  Well I've got most of the bugs sorted out and things seem to be working.

                  1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    dnf remove tigervnc-server

                    1 Reply Last reply Reply Quote 0
                    • gjacobseG
                      gjacobse
                      last edited by

                      Thought I would give this ago also... this is what I ran into

                      0_1530196404151_2018-06-28 10_32_43-192.168.10.148 - Remote Desktop Connection.png

                      This is from Windows to Fedora.

                      siringoS 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403
                        last edited by

                        To add a user to a specific group

                        useradd -G {group-name} username should work. You likely will need to run under sudo to do this though.

                        JaredBuschJ stacksofplatesS 2 Replies Last reply Reply Quote 2
                        • JaredBuschJ
                          JaredBusch @DustinB3403
                          last edited by

                          @dustinb3403 said in Remote Desktop to Fedora 28?:

                          To add a user to a specific group

                          useradd -G {group-name} username should work. You likely will need to run under sudo to do this though.

                          I like to use sudo gpasswd -a username groupname personally. but it all gets the job done.

                          1 Reply Last reply Reply Quote 2
                          • siringoS
                            siringo @gjacobse
                            last edited by

                            @gjacobse said in Remote Desktop to Fedora 28?:

                            Thought I would give this ago also... this is what I ran into

                            0_1530196404151_2018-06-28 10_32_43-192.168.10.148 - Remote Desktop Connection.png

                            This is from Windows to Fedora.

                            Yep, that is what I was getting also. Can you log in with root?

                            I was getting that error & the one I posted above. I rebooted several times for various reasons and things started to become a bit more reliable.

                            Thanks everyone for the help.

                            gjacobseG 1 Reply Last reply Reply Quote 0
                            • gjacobseG
                              gjacobse @siringo
                              last edited by

                              @siringo said in Remote Desktop to Fedora 28?:

                              @gjacobse said in Remote Desktop to Fedora 28?:

                              Thought I would give this ago also... this is what I ran into

                              0_1530196404151_2018-06-28 10_32_43-192.168.10.148 - Remote Desktop Connection.png

                              This is from Windows to Fedora.

                              Yep, that is what I was getting also. Can you log in with root?

                              I was getting that error & the one I posted above. I rebooted several times for various reasons and things started to become a bit more reliable.

                              Thanks everyone for the help.

                              Here's what I have done since.

                              Added my <USER> to the wheel usergroup and rebooted. Since, I seem to be able to sign in. but yes,.. I was able to sign in as <ROOT>

                              1 Reply Last reply Reply Quote 0
                              • stacksofplatesS
                                stacksofplates @DustinB3403
                                last edited by stacksofplates

                                @dustinb3403 said in Remote Desktop to Fedora 28?:

                                To add a user to a specific group

                                useradd -G {group-name} username should work. You likely will need to run under sudo to do this though.

                                If you don't add a -a it removes all secondary groups other than the one you define. You pretty much always want to do usermod -aG group user

                                black3dynamiteB 1 Reply Last reply Reply Quote 4
                                • black3dynamiteB
                                  black3dynamite @stacksofplates
                                  last edited by

                                  @stacksofplates said in Remote Desktop to Fedora 28?:

                                  @dustinb3403 said in Remote Desktop to Fedora 28?:

                                  To add a user to a specific group

                                  useradd -G {group-name} username should work. You likely will need to run under sudo to do this though.

                                  If you don't add a -a it removes all secondary groups other than the one you define. You pretty much always want to do useradd -aG group user

                                  I guess using sudo gpasswd -a username groupname avoids remembering to add -aG?

                                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                                  • stacksofplatesS
                                    stacksofplates @black3dynamite
                                    last edited by stacksofplates

                                    @black3dynamite said in Remote Desktop to Fedora 28?:

                                    @stacksofplates said in Remote Desktop to Fedora 28?:

                                    @dustinb3403 said in Remote Desktop to Fedora 28?:

                                    To add a user to a specific group

                                    useradd -G {group-name} username should work. You likely will need to run under sudo to do this though.

                                    If you don't add a -a it removes all secondary groups other than the one you define. You pretty much always want to do useradd -aG group user

                                    I guess using sudo gpasswd -a username groupname avoids remembering to add -aG?

                                    Yeah. I've always done usermod but it's personal preference.

                                    However the only way I know of to remove a user from a group is gpasswd

                                    1 Reply Last reply Reply Quote 0
                                    • gjacobseG
                                      gjacobse
                                      last edited by

                                      It occurred to me just now, that you should not need a full reboot after adding the <user> to your group... All that should be needed is a log out/in

                                      @scottalanmiller or @JaredBusch - please correct me if I have that incorrect.

                                      JaredBuschJ 1 Reply Last reply Reply Quote 1
                                      • JaredBuschJ
                                        JaredBusch @gjacobse
                                        last edited by JaredBusch

                                        @gjacobse said in Remote Desktop to Fedora 28?:

                                        It occurred to me just now, that you should not need a full reboot after adding the <user> to your group... All that should be needed is a log out/in

                                        @scottalanmiller or @JaredBusch - please correct me if I have that incorrect.

                                        Log out and log in is all that is required to apply new group permissions.

                                        1 Reply Last reply Reply Quote 3
                                        • gjacobseG
                                          gjacobse
                                          last edited by

                                          Yes - I learn. here is the same command - but in just three lines:

                                          sudo dnf install xrdp -y
                                          sudo systemctl start xrdp | sudo systemctl enable xrdp
                                          sudo firewall-cmd --permanent --add-port=3389/tcp | sudo firewall-cmd --reload
                                          
                                          
                                          travisdh1T stacksofplatesS 3 Replies Last reply Reply Quote 1
                                          • travisdh1T
                                            travisdh1 @gjacobse
                                            last edited by

                                            @gjacobse said in Remote Desktop to Fedora 28?:

                                            Yes - I learn. here is the same command - but in just three lines:

                                            sudo dnf install xrdp -y
                                            sudo systemctl start xrdp | sudo systemctl enable xrdp
                                            sudo firewall-cmd --permanent --add-port=3389/tcp | sudo firewall-cmd --reload
                                            
                                            

                                            You can make anything a one line command if you want. Back when running IRIX if hit their 512 character limit and have to script a single command when compiling open source tools on that. Thankfully haven't run into that issue recently!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post