How to start the GUI from the prompt screen

Can someone help me find out how to start my GUI?I have entered startx and it said unknown command.I tried several other commands with no success.I am very new to Linux, but any assistance would begreatly appreciated.  Thanks.  Johnkdick2

Since you are posting in

Since you are posting in 'Ubuntu running as server' I assume you installed the server edition... Which could mean you do not have any desktop or x-server pre-installed. Try 'sudo apt-get ubuntu-desktop' to install the gnome desktop or 'sudo apt-get kubuntu-desktop' to install the KDE. Hope this helped.

Ubuntu Server 7.04 - starting GUI from com. line after install

I am experiencing the same problem. I installed the sever version from the downloaded cd and I am unable to run any of window manager install and configuration options. If somebody can advise, PLEASE and THANKS

Command line GUI

HiAnyone having problems with the above post (sudo apt-get ubuntu-desktop) will need to use the following to install a GUI in Ubuntu Server:sudo apt-get install ubuntu-desktop ORsudo apt-get install kubuntu-desktopdepending on your preference :)

'sudo apt-get ubuntu-desktop'

Ok, I did the 'sudo apt-get ubuntu-desktop' on my (old)  machine and it was unpacking for about 30 minutes. Cool.  I saw some openoffice filnames pass on my screen.   But how do I activate/start up the desktop on the server machine ?  I restarted the machine and nothing new appeared to be happening.

Gui in server version

    It my understanding that in server the interface in text base

How to Start the Desktop in Linux from the Prompt

Just type in startx and the GUI will boot up. Randy

startx didn't work, and

startx didn't work, and neither did the second suggestion, but judging from the install part of the sudo apt-get install ubuntu-desktop  command, looks like the GUI did not install by default  on the server  version.I'm watching open office unpack now, at 4:45 AM Sunday morning. This rocks, and life is good.

/etc/init.d/gdm start for

/etc/init.d/gdm start for gnome desktop and /etc/init.d/kdm start for the kde desktop

sudo apt-get install ubuntu-desktop

sudo apt-get install ubuntu-desktop That made the difference!!  Back up and running with GUI.I don't remember having to do that the last time I built a server.  --  Seems like the option to install GUI desktop should have been in there some place.  Also would like to have had an option not to have all the movie/music-player,games,OpenOffice etc on my server; desktop install wouldn't have taken so long.  --  I didn't execute the server.  Being a Windows user I rebooted - the GUI took effect while shutting down.  --  Now I have my "beautiful" brown desktop back.  (Now where did I put the bright colored backgroun graphic I was using?)

did not work for me

I got the same problem, and i tried to enter sudo apt-get ubuntu-desktopand i got this message:(sudo) password for ricardo:after entering the password i got this:E:invalid operation ububtu desktopim very new with linux and i really want to learn how to use it. i would really apreciate any help. thnks

install GUI - note the corrected advice -but beware

Ricardo: note the word "install" got added to the advice above ! __ That whole install process is horrible when things go wrong and you have no decent GUI to figure what it thinks it is doing. I needed to use GParted CD to figure what was going on just to install it.--I suspect the whole thing is designed to allow install where there is only a very primitive graphics capability - say on a very old PC.  ...Why does the install not even ASK if you do/don't want a GUI install ? It shouldn't just assume you don't want it. ...Mind you, the download is HUGE and mine has been running for 30 minutes and claims a bunch of download times that range up to 11 hours for some components in a slightly confusing tty-display screen.  IT APPEARS to be downloading open office which I have local copies here. Maybe the install ubuntu-desktop advice can be finessed - I just wanted the Xsession and X-windows-GUI to start.

desktop OK

Yes, that all worked very well. I have OO2.4 as I expected. I am using it here for this.I had to go round testing a bunch of avi,mpg4,swf,,,, video files and wait again for all the codecs to be found and loaded. This took an acceptable but long time as it didn't seem to allow overlapped fetch and I had to wairt for one bunch to load codecs before I could kick off the next.   Normally, I just load VLC as it doe most things but this time I used the built in player (hey not even remembered what it's called yet) and it seems to work pleasingly well.Tomorrow I'll start picking off all that LAMPware to see how it hangs together (Something says "It Works !" but wouldn't it be nice if there was a help page there rather than that schoolgirl message).Now if only the stupid BIOS on my "server" could see the sata drive from GRUB when the IDE drives were plugged in, I would be a very content fellow.

Things don't get better

Thanks for your help. I got the GUI up after an install and reboot. Really looking forward to the day when I know this whole system enough to contribute a little.

GUI in three steps

Simple Just tpyesudo(enter password for root)kde ( or gnome)it will start GUI

Hi: Am also new to linux,

Hi: Am also new to linux, Ubuntu.I have 7.10 as a server. I tried Startx - was told not installed. Tried sudo apt-get ubuntu desktop & was told Ubuntu not installed.What am I doing wrong?ThxMichael

GUI on Server Edition: Webmin

Server Edition isn't designed with a GUI in mind. That's the reason for Desktop Editions.

Granted I'm still unlearning the bad habits fr a certain "redmond based corp," & I understand the command line/terminal can be intimidating. Rather than installing a GUI directly on the server and slowing it down further & introducing security vectors, I suggest checking out Webmin. It's a web-based server GUI, accessible fr anywhere on your network.

Add the repo to your APT-sources:
sudo nano /etc/apt/sources.list.d/webmin.list
& copy/paste the following:

# /etc/apt/sources.list.d/webmin.list
# wget -q -O - | sudo apt-key add - && sudo apt-get update
# Webmin packages
deb sarge contrib

Then run wget -q -O - | sudo apt-key add - && sudo apt-get update to add the repo key & update the APT database.

Finally: apt-get install webmin !

Don't forget to install ClamAV & the webmin ClamAV module.

startx works, but the thing

startx works, but the thing is that you have to actually have the GUI installed. For me, it started without the GUI despite having it installed, so this was a perfect solution for me.

Thanks phpMark! I installed

Thanks phpMark!

I installed ubuntu 10.10 Maverick Meerkat and no gnome around so i did "sudo apt-get ubuntu-desktop" but the first time it only download packages and went black screen and after reboot no gnome yet!

So i repeat "sudo apt-get ubuntu-desktop" and then it installed packages and after reboot ubuntu start directly into gnome.

I hope this help others.


Still there

For any of you who is still looking for answers at this thread.
The correct syntax is sudo apt-get install ubuntu/kubuntu/xubuntu-desktop
xubuntu is very minimalistic.
If u don't want libre office and music and video support type:
sudo apt-get install x-window-system-core gnome-core
If you also want a gui login, then also install gdm

Very Very New kid to Ubuntu !!

hi,I have some questions which I would be very glad if you would help me work them out !

first of all I have to say that my ubuntu 10.04 is a server installation and it is virtual , so I am trying VNC to manage, in first pace the buffer size of the command line is very little so I cannot see all of the results , what should I do to see the all command result .

then when I ran the commands you've mentioned (sudo apt-get install x-window-system-core gnome-core) during the proccess I saw so many fetch errors and at last I saw this : ( unable to fetch some archives, maybe run apt-get update or try with --fix-missing? )

thank you

having problems in installing desktop version in ubuntu:URGENT

sudo apt-get update
sudo apt-get install ubuntu-desktop
but its comin error..i cant able to install gui mode in ubuntu.


sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-desktop

You will need to reboot.

If you still get errors you need to tell us exactly what those error messages say.


The error I got was Err utopic/main python-sip amd64 4.16.3+dfsg-1
I got others similar to that as well
I also got E: Unable to fetch Could not resolve ''
Help me as soon as possible. I would really like to return to my ubuntu desktop and everything on the thread was no good.