New offer: Germany Server + 1 Gbps Port and Unlimited Traffic for 25.99€

How to install xfce on linux

Since 1996, XFCE Desktop gives users the ability to have a graphical user interface (GUI) environment, visually turning your Linux server into an environment more like your desktop computer. With its no-frills look, XFCE does not weigh heavy on the server’s hardware and is faster than GNOME and KDE to boot. Once completed with this small tutorial, you’ll be able to share and connect to the XFCE GUI by continuing to the next tutorial on How To Install VNC.

$ sudo apt-get -y update
$ sudo apt-get install-y xrdp
$ sudo apt install -y xfce4
$ sudo apt-get install xfce4-terminal
$ echo xfce4-session >~/.xsession

in next step, edit file:
$ nano /etc/xrdp/startwm.sh

And insert this line in end of the file.
startxfce4

save file and exit.


$ sudo service xrdp restart

Now in final step, open the requirement ports:

$ iptables -A INPUT -p tcp -m tcp - -dport 3389 -j ACCEPT
$ iptables -I INPUT -p tcp -m tcp - -dport 3389 -j ACCEPT

 

Now, you can connect the RDP with "Remote Desktop connection" or similar programs.

  • 29 Users Found This Useful
  • xfce, rdp, remote desktop
Was this answer helpful?

Related Articles

Change SSH Port in Linux

SSH or Secure Shell daemon is a network protocol that is used to perform remotely secured log ins...

Reset Your Forgotten Root Password On CentOS 7 Servers

Sometimes you forget stuff. I do. I forget important passwords for important websites sometimes....

Install Htop 2.0 – Linux Process Monitoring

This article is the continuation of our Linux system monitoring series, today we’re talking about...

Upgrade Ubuntu 16.04 to 18.04 LTS

If you are still using Ubuntu version 16.04, you may want to consider updating to the latest Long...

Disk Speed Test (Read/Write): HDD, SSD Performance in Linux

From this article you’ll learn how to measure an input/output performance of a file system on...