#!/bin/bash (Your script here) #start gnome exec gnome-session