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
-
@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!
-
@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.
-
@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?
@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&&
-
@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? -
@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. -
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.
-
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.
-
@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!
-
@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.
-
@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.
-
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.
-
@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.
-
@dafyre But will that resolve the issue with connecting with xrdp?
-
@fuznutz04 said in Remote Desktop to Fedora 28?:
@dafyre But will that resolve the issue with connecting with xrdp?
I'm almost there, lol. The one thing I haven't figured out is how to make it start when you log in.
-
@dafyre said in Remote Desktop to Fedora 28?:
@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.
Under
[daemon]
section in/etc/gdm/custom.conf
uncomment#WaylandEnable=false
to force the login screen to use Xorg.At the login screen, you will now only have two choices GNOME which is now Xorg instead of Wayland and GNOME Classic.
-
@black3dynamite said in Remote Desktop to Fedora 28?:
@dafyre said in Remote Desktop to Fedora 28?:
@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.
Under
[daemon]
section in/etc/gdm/custom.conf
uncomment#WaylandEnable=false
to force the login screen to use Xorg.At the login screen, you will now only have two choices GNOME which is now Xorg instead of Wayland and GNOME Classic.
That got me pointed in the right direction! Thanks.
-
@dafyre said in Remote Desktop to Fedora 28?:
@black3dynamite said in Remote Desktop to Fedora 28?:
@dafyre said in Remote Desktop to Fedora 28?:
@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.
Under
[daemon]
section in/etc/gdm/custom.conf
uncomment#WaylandEnable=false
to force the login screen to use Xorg.At the login screen, you will now only have two choices GNOME which is now Xorg instead of Wayland and GNOME Classic.
That got me pointed in the right direction! Thanks.
I've got it working well enough when the user is logged in... but the catch is that you have to log in after a reboot before being able to use XRDP+VNC.
-
@dafyre I didn't ever get back to needing this until now. How were you able to achieve this? I use Fedora 28 and the Cinnamon desktop.