I just want somebody to walk me through the steps of switching a command line interface linux box into a gui based one. I know this has to do with the X Window System but I don't exactly know how to go about installing it fully. Now, if firefox is installed for example and I try to run it, it will give me: "error: no display environment variable specified"
Of course I need to specify a display, right? I used this: export DISPLAY=:0 and when I typed firefox nothing happens. When I type firefox & and then enter the command jobs I can see that firefox is running. But nothing is displayed. No window pops up.
I searched about how to solve this error but I didn't really get it. I just want to apply changes to my linux box so that when I open a gui based software it just opens with a window. Actually that's one thing that is doable. I have done it long ago but I forgot how as I'm not a regular linux user. The other thing that I want to know: Is it also doable to change a cli linux box into an overall gui based linux permanently like those which are ready made such as Ubuntu and linux mint? Or does that require an actual coder?
I'm actually using a VM in virtualbox and experimenting with it. I can reverse any harm done to it. It is actually ubuntu 14.04 VM. It is the linux version of the metasoloitable3 VM by rapid7 used for pentesting: https://github.com/rapid7/metasploitable3
Thanks in advance