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.
    • 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
                  • stacksofplatesS
                    stacksofplates @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 shorten the second. If you do

                    system to enable --now xrdp
                    

                    It will enable and start the service at the same time.

                    1 Reply Last reply Reply Quote 1
                    • stacksofplatesS
                      stacksofplates @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
                      
                      

                      Also why are you using a pipe?

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

                        @stacksofplates said in Remote Desktop to Fedora 28?:

                        @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
                        
                        

                        Also why are you using a pipe?

                        @stacksofplates said in Remote Desktop to Fedora 28?:

                        @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
                        
                        

                        Also why are you using a pipe?

                        That's a good point. For your continuing BASH shell learning @gjacobse, a pipe ~ | ~ passes the output of the first command to the one after it. So ls -lha | grep ".." lists all files including the hidden ones and then searches for any with .. in the string returned. When you just want to run commands one after the other, the proper concatenation been is &&

                        black3dynamiteB 1 Reply Last reply Reply Quote 0
                        • black3dynamiteB
                          black3dynamite @travisdh1
                          last edited by

                          @travisdh1 said in Remote Desktop to Fedora 28?:

                          @stacksofplates said in Remote Desktop to Fedora 28?:

                          @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
                          
                          

                          Also why are you using a pipe?

                          @stacksofplates said in Remote Desktop to Fedora 28?:

                          @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
                          
                          

                          Also why are you using a pipe?

                          That's a good point. For your continuing BASH shell learning @gjacobse, a pipe ~ | ~ passes the output of the first command to the one after it. So ~ ls -lha | grep ".." ~ lists all files including the hidden ones and then searches for any with .. in the string returned. When you just want to run commands one after the other, the proper concatenation been is ~ && ~

                          What does ; means after a command?

                          travisdh1T 1 Reply Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @black3dynamite
                            last edited by

                            @black3dynamite said in Remote Desktop to Fedora 28?:

                            @travisdh1 said in Remote Desktop to Fedora 28?:

                            @stacksofplates said in Remote Desktop to Fedora 28?:

                            @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
                            
                            

                            Also why are you using a pipe?

                            @stacksofplates said in Remote Desktop to Fedora 28?:

                            @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
                            
                            

                            Also why are you using a pipe?

                            That's a good point. For your continuing BASH shell learning @gjacobse, a pipe ~ | ~ passes the output of the first command to the one after it. So ~ ls -lha | grep ".." ~ lists all files including the hidden ones and then searches for any with .. in the string returned. When you just want to run commands one after the other, the proper concatenation been is ~ && ~

                            What does ; means after a command?

                            && will stop if the preceding command throws an error while a semicolon will run the following command no matter if the first one throws an error.

                            1 Reply Last reply Reply Quote 1
                            • AdamFA
                              AdamF
                              last edited by

                              Does this make a difference if I am running Cinnamon on the Fedora workstation? I installed via the instructions provided in this thread. I can make a connection, but when the screen comes up, it is just a blank window with a blank button. Then clicking the blank button, brings me to the screen below. I cannot type anything in the first drop down. I use my fedora username and password (added to the wheel group) but it just goes back to the blank window. 0_1537976635887_IMG_4864.JPG

                              1 Reply Last reply Reply Quote 0
                              • dafyreD
                                dafyre
                                last edited by

                                I just did a fresh install of Fedora 28 to update my instructions for this, however, I've discovered the by default Fedora 28 has switched to Wayland, and there's no working VNC server that I am aware of that works with it.

                                This may be part of the problem.

                                FATeknollogeeF black3dynamiteB 2 Replies Last reply Reply Quote 0
                                • FATeknollogeeF
                                  FATeknollogee @dafyre
                                  last edited by

                                  @dafyre said in Remote Desktop to Fedora 28?:

                                  I just did a fresh install of Fedora 28 to update my instructions for this, however, I've discovered the by default Fedora 28 has switched to Wayland, and there's no working VNC server that I am aware of that works with it.

                                  This may be part of the problem.

                                  ScreenConnect also doesn't play nice w Wayland!

                                  1 Reply Last reply Reply Quote 0
                                  • black3dynamiteB
                                    black3dynamite @dafyre
                                    last edited by

                                    @dafyre said in Remote Desktop to Fedora 28?:

                                    I just did a fresh install of Fedora 28 to update my instructions for this, however, I've discovered the by default Fedora 28 has switched to Wayland, and there's no working VNC server that I am aware of that works with it.

                                    This may be part of the problem.

                                    Its been default to Wayland for awhile but you can switch it to Xorg.

                                    dafyreD 1 Reply Last reply Reply Quote 0
                                    • dafyreD
                                      dafyre @black3dynamite
                                      last edited by

                                      @black3dynamite said in Remote Desktop to Fedora 28?:

                                      @dafyre said in Remote Desktop to Fedora 28?:

                                      I just did a fresh install of Fedora 28 to update my instructions for this, however, I've discovered the by default Fedora 28 has switched to Wayland, and there's no working VNC server that I am aware of that works with it.

                                      This may be part of the problem.

                                      Its been default to Wayland for awhile but you can switch it to Xorg.

                                      Yeah. Now I just need to figure out how to switch the greeter to X and I'll be happy.

                                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                                      • AdamFA
                                        AdamF
                                        last edited by

                                        Yeah, I would be very interested in knowing how to do this. Any guidance for switching to Xorg? Assume I have no idea how to do this.

                                        dafyreD 1 Reply Last reply Reply Quote 0
                                        • dafyreD
                                          dafyre @AdamF
                                          last edited by

                                          @fuznutz04 said in Remote Desktop to Fedora 28?:

                                          Yeah, I would be very interested in knowing how to do this. Any guidance for switching to Xorg? Assume I have no idea how to do this.

                                          That's actually relatively easy... Log off.

                                          Then when you select your user, click the little gear icon and choose Gnome on Xorg.

                                          AdamFA 1 Reply Last reply Reply Quote 0
                                          • AdamFA
                                            AdamF @dafyre
                                            last edited by

                                            @dafyre But will that resolve the issue with connecting with xrdp?

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