bin/echo -e "\e[1 36m# Written by Griffon - April 2018 - Ver 0.2 - Std-Xrdp-Install-0.2. bin/echo -e "\e[1 36m# Please test your xRDP configuration.\e[0m " bin/echo -e "\e[1 36m# Installation Completed\e[0m " Gnome-shell-extension-tool -e -e echo #-# Step 6 - Credits. bin/echo -e "\e[1 33m! Install Extensions Dock.Proceeding. Sudo bash -c "cat >/etc/polkit-1/localauthority/50-local.d/ " << EOF Identity=unix-user:* Action=-device -profile -device -profile -device -profile ResultAny=no ResultInactive=no ResultActive=yes EOF #-# Step 5 - Enable Extensions. bin/echo -e "\e[1 33m! Creating Polkit File.Proceeding. Sudo sed -i 's/allowed_users=console/allowed_users=anybody/ ' /etc/X11/nfig bin/echo -e "\e[1 33m! Granting Console Access.Proceeding. and extracted in home directory as netbeans-9.0. Sudo apt-get install gnome-tweak-tool adwaita-icon-theme-full -y I have just downloaded netbeans-9.0 binary zip from apache site. bin/echo -e "\e[1 33m! Installing Gnome Tweak.Proceeding. Sudo apt-get install xrdp xorg xserver-xorg-core xorgxrdp -y bin/echo -e "\e[1 33m! Installing XRDP Packages.Proceeding. Specifically, we install the latest Xfce desktop environment and TightVNC software package from the official Ubuntu software repository. By default, if Ubuntu 18.04 does not have a graphical desktop environment or VNC server installed, so we install them first. bin/echo -e "\e[1 31mThe script is exiting.\e[0m " bin/echo -e "\e[1 31mThe script has been tested only on Ubuntu 17.10.\e[0m " bin/echo -e "\e[1 31mYour system is not running Ubuntu 17.10 Edition.\e[0m " Supported version detected.proceeding\e[0m " else Version= $(lsb_release -d | awk -F ": " '/Description/ ' ) if ] || ] || ] then echo bin/echo -e "\e[1 33m! Detecting Ubuntu version # \e[0m " Products Partners Careers Blog posts tagged '18. Your submission was sent successfully Close. Check the Allow connections only from computers running Remote. Canonical produces Ubuntu, provides commercial services for Ubuntu’s users, and works with hardware manufacturers, software vendors and cloud partners to certify Ubuntu. bin/echo -e "\e[1 36m#-#\e[0m " echo #-# Step 0 - Try to Detect Ubuntu Version. Under the Remote Desktop section, check the Allow remote connections to this computer option. bin/echo -e "\e[1 36m# Standard XRDP Installation Script - Ver 0.2 #\e[0m " If your employer does not use a static IP (unlikely, but it happens), use a dynamic DNS provider instead.# Script_Name : Std-Xrdp-install-0.2.sh # Description : Perform an automated standard installation of xrdp # on ubuntu 17.10 and later # Date : April 2018 # written by : Griffon # Web Site : - # Version : 0.2 # History : 0.2 - Added Logic for Ubuntu 17.10 and 18.04 detection # - Updated the polkit section # - New formatting and structure # 0.1 - Initial Script # Disclaimer : Script provided AS IS. Now verify all the available network interfaces once more time, the enp0s8 ethernet interface should now be connected to the local network, and have an IP addresses as shown in the following. Once saved, you should be able to RDP into the Ubuntu PC remotely via your organization's static IP address. Then apply the recent network changes using following netplan command. For detailed steps, check your router documentation. ![]() Note that these steps are generic and will differ depending on your router. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |