Ubuntu Server Install GUI and Remote Access - linux

How can I install a GUI for a remote server and then access it over RDP (or similar)
I've done a sudo apt-get install ubuntu-desktop and sudo apt-get install xrdp, but when I go to access it and login, I just get a blank screen. I presume the windowing system hasn't started?
Thanks

Did the desktop fail to start up because there is no display attached?
I think the easiest approach is to use LXDE (Lightweight X11 Desktop Environment) with xrdp.
Refer This Link

Related

How to install Node.js on CentOS without sudo permissions

I have a linux server that I can access with ssh to my own space at my university. I could create a virtual environment and install whatever I want to it with Python.
Now I want to install Node.js and run it there even if I log off. Kinda using college's computing power for my discord bot..
I don't have sudo permissions obviously is this possible if so how?
Have you try nvm https://github.com/nvm-sh/nvm
If that doesn’t help, you is always free to ask yow techas or sys admin to install it for you, but nvm should be enough

How can I set a flatpak application to run on startup?

I wanted to post this because I didn't find the answer elsewhere and this might just help someone else.
I have Slack installed on my Ubuntu 18.04 Bionic Beaver via FlatPak and would like to have it launch as soon as I login.
Because it is installed via FlatPak, I cannot find it in /usr/share/applications in order to add it to startup applications
You need to install FlatPak applications via Gnome Tweaks. If you haven't already installed Gnome tweaks then run
sudo apt install gnome-tweaks
Launch Gnome Tweaks and navigate to "Startup Applications".
The flatPak applications are easily found from here.
You could add an entry to your .gnomerc, .Xinitrc etc such as
snap run (program)

Ubuntu Desktop not visible on Azure xrdp

I am trying to set up remote Ubuntu desktop on Azure free tire. I have followed all the steps mentioned in here and Azure Documentation. I have setup instance with resources manager. Setup the rdp. Install xrdp via ssh. Install Ubuntu desktop as well.
Installed -- Ubuntu Server 16.04 LTS
Also installed xfce as mentioned in Azure Documentation
In-spite of installing everything properly I see dotted screen when I connected remotely. What am I doing wrong ?
Using xfce if you are using Ubuntu version later than Ubuntu 12.04LTS
We can follow those steps to install xrdp:
sudo -i
1.Install XRDP Package from Ubuntu Repository
apt-get install xrdp
2.Installing the xfce4 Desktop environment
apt-get update
apt-get install xfce4
3.Configure xrdp to use xfce desktop environment
echo xfce4-session >~/.xsession
4.Restart xrdp service
service xrdp restart
5.Test your xrdp connection:
We can use mstsc to test xrdp connection.
Note:
If you use this command apt-get install xfce4 get this error message:
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Please add ARRAY <ignore> devices=/dev/sda to /etc/mdadm/mdadm.conf, like this:
root#ubuntu:~# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
ARRAY <ignore> devices=/dev/sda
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
More information about xrdp on azure vm, please refer to this link.

Accessing Azure Virtual Machine (Ubuntu 14.04LTS) using xRDP

Yesterday, I setup a new Ubuntu Box with Password (Classic VM) from my Azure Dashboard ( I am using classing Azure dashboard).
I am able to login using Putty (it means credentials are working).
To access this machine remotely (already setup CDN for Remote Desktop), I followed steps mentioned (https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-classic-remote-desktop/) to setup xRDP - please note that I am trying to access this box from Windows8.1 machine.
All seems to be successfully installed. Received errors, when tried to remote into Ubuntu VM:
Fire Run -> mstsc.exe (entered hostname/IP and credentials)
Entered credentials
Process threw few error messages
Its not working even after trying all troubleshooting steps:https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-troubleshoot-ssh-connection/
Installing xfce4 with
sudo apt-get install xfce4
have always worked fine for me!
I follwed this guide when I got started:
http://c-nergy.be/blog/?p=5305
You can also check out this thread for hints:
https://askubuntu.com/questions/449785/ubuntu-14-04-xrdp-grey
I repeat these step(s) once again and its working now:
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo apt-get install xrdp
sudo systemctl start xrdp
sudo systemctl enable xrdp
sudo apt-get install xfce4
Now do RDP (Run mstsc.exe) - enter hostname and passowrd

Need GUI to run qemu on Ubuntu server

Need GUI to run qemu on Ubuntu server: I need to run QEMU for ARM on a Ubuntu srever. THis QEmu is not supporting a text mode, so I need to install GUI software on Ubuntu server 13.04. Please suggest any that I can do a sudo apt-get install and get started quickly.
Are you connecting to the server over ssh? You could just use X forwarding to your local machine.
See the very good first answer here.
Then you can just start the software and interact with the GUI on a computer that already has the desktop environment installed.
You can do the following
sudo apt-get install ubuntu-desktop
For more info, look to this link

Resources