Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Ubuntu – Install GUI Desktop From Terminal

Posted on March 18, 2016March 18, 2016 By David Kittell
sudo apt-get --assume-yes update && sudo apt-get --assume-yes upgrade && sudo apt-get --assume-yes autoremove
sudo apt-get --assume-yes install ubuntu-desktop build-essential
sudo chown -R [user-name]:[user-name] /home/[user-name]
sudo startx

Make sure that you do the chown command otherwise you may not be able to login.
Example would be this for username demo

sudo chown -R demo:demo /home/demo
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code Ubuntu UNIX UNIX Shell Scripts

Post navigation

Previous post
Next post

Related Posts

PowerShell – Rename Pictures to Image Taken

Posted on November 20, 2015December 17, 2023

# If you haven’t already done so you will need to run this to be able to execute PowerShell scripts # You will need to run PowerShell as administrator to run this script set-executionpolicy remotesigned <# .SYNOPSIS Renames pictures. .DESCRIPTION The Rename-Pictures cmdlet to rename pictures to a format where…

Read More

Bash – Get ARIN IP Information

Posted on July 16, 2021August 17, 2024

A bit crude but works # Prerequisite: brew install ipcalc # Place all the IP Addresses in a text file IPList.txt echo "IP Address|Root Owner|Owner|IP CIDR|IP RDNS" | tee ARIN.txt for ip in $(cat IPList.txt | sort); do arin=$(whois -h whois.arin.net "$ip") rootOwner=$(echo "$arin" | grep ‘Organization’ | cut -d…

Read More

Test Password Strength

Posted on February 2, 2015October 26, 2015

$(‘#pass’).keyup(function(e) { var strongRegex = new RegExp("^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\W).*$", "g"); var mediumRegex = new RegExp("^(?=.{7,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g"); var enoughRegex = new RegExp("(?=.{6,}).*", "g"); if (false == enoughRegex.test($(this).val())) { $(‘#passstrength’).html(‘More Characters’); } else if (strongRegex.test($(this).val())) { $(‘#passstrength’).className = ‘ok’; $(‘#passstrength’).html(‘Strong!’); } else if (mediumRegex.test($(this).val())) { $(‘#passstrength’).className = ‘alert’; $(‘#passstrength’).html(‘Medium!’); } else { $(‘#passstrength’).className =…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes