LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-11-2006, 03:29 PM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Rep: Reputation: 31
Question GUI for Ubuntu Server?


Hi guys, I'm very new to Ubuntu. Here at work we are planning to install Ubuntu Server. We wanted to know if Ubuntu Server comes with a GUI or is it only text mode?

Thanks for the help, I have been looking for this answer for hours.
 
Old 07-11-2006, 03:41 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I don't know, but it is easy to add one if you need to. After install, you'd just have to sudo aptitude install x-window-system-core gnome-core (or gnome if you want all the bells and whistles of a full desktop environment). If you also want a gui login, then also install gdm.

In general, servers will be text only out of the box because running X is considered an unnecessary security risk. Servers usually want as few services running as possible to keep them secure and running quickly.
 
1 members found this post helpful.
Old 07-11-2006, 04:03 PM   #3
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Ubuntu server is a command line distro. It is a subset of Ubuntu. It performs no function that Ubuntu, Kubuntu and Xubuntu don't also perform. Server requires less memory to run. Its fine for a server only box. If however you are trying to get more performance out of an older desktop system, I'd look at Xubuntu since it has a minimalist GUI.
 
Old 07-12-2006, 11:56 AM   #4
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
So should I use Xubuntu for server purposes? We are going to use LAMP. Is it useful to have a graphical interface for this??

Thanks...
 
Old 07-12-2006, 12:05 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
If it's just a home server that you're not too worried about security, you can certainly use Xubuntu (or just aptitude install xubuntu-desktop since ubuntu, kubuntu and xubuntu are all the same under the hood, just different package collections.

If it's a production server that's going to be open to the internet, I'd say to try to do it all at the command line since X is an unnecessary security risk.
 
Old 07-30-2006, 07:00 PM   #6
dalezjc
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
I don't know, but it is easy to add one if you need to. After install, you'd just have to sudo aptitude install x-window-system-core gnome-core (or gnome if you want all the bells and whistles of a full desktop environment). If you also want a gui login, then also install gdm.
Okay, I ran the command line to intall the Gnome GUI, but now how do I run/load it? I'm back at the command prompt.

Thanks!
Dale
 
Old 07-30-2006, 08:07 PM   #7
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
you should just type
Code:
/etc/init.d/gdm start
and that will start the GUI login screen, also GDM should start automatically after startup.
 
Old 07-31-2006, 03:25 PM   #8
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Quote:
Originally Posted by cucolin@
So should I use Xubuntu for server purposes? We are going to use LAMP. Is it useful to have a graphical interface for this??
It might be useful to have a graphical interface to create mySQL databases, tables, users, etc. There are graphical tools to do so, but they can also be used remotely. So, your server would not need a graphical interface.

- At the (X)Ubuntu setup, choose "server installation" at the very first part.
 
Old 08-02-2006, 08:57 PM   #9
PDR60
Member
 
Registered: Aug 2003
Location: Oakland, TN
Distribution: Debian, Kubuntu
Posts: 257

Rep: Reputation: 30
I use Webmin and do everything remotely. I'm putting together a How-To for a secure web server built on Kubuntu alternate cd. Its the same as the ubuntu server build. I have an older How-to up on my site that is Mandriva based. It will let you see the power of using WebMin as an admin tool. Here is the link.

http://www.linuxloader.com/modules.p...pid=22&page=11

(This build is actually pretty good for security but 2005 is outdated now.)

PDR60
 
Old 08-21-2006, 09:49 PM   #10
mindsgoneawol
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 1
i can't seem to get anything to install on ubuntu server or get anything to work..

tried to get aptget to install webmin, xserver, gnome, and xfce. nothing ..

now for some reason i did manage to get aptget to install mozilla .. probably cause i really didn't want it.. but at the time i just wanted to get something to install.. lol.. but i can't get figure out how to get it to work..
 
Old 08-21-2006, 10:39 PM   #11
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by mindsgoneawol
tried to get aptget to install webmin, xserver, gnome, and xfce. nothing ..
What do you mean "nothing .."?
What errors were there?
Did they install and you just dont know how to run them?

Need more info
 
Old 08-22-2006, 12:35 AM   #12
mindsgoneawol
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 1
Quote:
Originally Posted by binary_y2k2
What do you mean "nothing .."?
What errors were there?
Did they install and you just dont know how to run them?

Need more info
i do the sudo apt-get install webmin

then it returns E: package not found. (something to that effect)

and that goes for everything i try to install except firefox.. which it shows up.. but i have no idea how to get it to work.. lol..


so the "just don't know how to run them" is correct for firefox.. and will probably be right for the rest.. but i am trying to learn.. i follow the directions i see in here and with the "manuals".. i don't even know how to edit a .conf file or save changes.. lol.

edit:

reinstalling to see if maybe it didn't install correctly. or if i missed something..

Last edited by mindsgoneawol; 08-22-2006 at 12:36 AM.
 
1 members found this post helpful.
Old 08-22-2006, 01:10 AM   #13
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
What's in your /etc/apt/sources.list ?
Make sure you have all the repositories setup (main, restricted, universe and multiverse).
Use apt-cache to search for packages, rather then guessing at the names,
Code:
apt-cache search xserver
shows
Quote:
xserver-xorg - the X.Org X server
so that's the package you need. also look at "apt-cache --help" and "man apt-cache"

As for the webmin package, it's not in the ubuntu repositories so you'll have to download it from the website. You can either do that after you have gnome/xfce installed or install the package "lynx", it's a web browser for the console.

If you want a desktop environment (with Firefox etc) then you should install the desktop version, not the server version. As you can install server software on the desktop version and vice-versa. If you just want to run a server then you just need webmin. (You can install the X server as well but if you use it often then you may want to switch to the desktop version)
 
Old 08-22-2006, 01:22 AM   #14
mindsgoneawol
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 1
as soon as i get the server reinstalled i will try to see what list has.. atm i forgot how to set the root password.. i did it earlier and now i can't seem to find my notebook or the thread i found the howto in.. lol..

the gui is just because.. i am tinkering with this.. this is the first day i have downloaded and installed the ubuntu server. i may try the desktop version after i get this server version up an running so i have a place for my files.

all i really want to install is webmin. i read its easy to set up and use but so far it didn't wanna work of fd4 (which did nothing but crash.) i have used sme and it came with a browser to make changes and such but i haven't found one in ubuntu. which is why i want to try webmin.

the reason for the gui is mainly a just cause deal.. i wouldn't use it much if at all really.. once the box is up and running i don't mess with them. unless i check on it and has crashed or had hardware problems.

edit:

before i get too much further over my head here.. lol.. how do i read a file and edit a .conf then save it..

and before i forget.. a big thank you for your help.. am really greatful..

Last edited by mindsgoneawol; 08-22-2006 at 01:54 AM.
 
Old 08-22-2006, 09:43 PM   #15
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
To set root password:
Code:
sudo passwd root
Enter YOUR password then the new root password twice.

To install webmin:
Code:
wget http://belnet.dl.sourceforge.net/sourceforge/webadmin/webmin_1.290.deb
sudo dpkg -i webmin_1.290.deb
To edit a .conf file you can use vi nano or some other console editer, nano is the easiest as the controls are displayed on the bottom.
Code:
sudo nano /path/to/file.conf
edit the file an press "Ctrl-O" to save and "Ctrl-X" to exit

To install a X server:
Code:
sudo apt-get install xserver-xorg
That will install basic X capability but no display manager or window manager.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu and Samba--Any GUI? errn12 Linux - Networking 1 04-02-2006 06:05 AM
instaling GUI in ubuntu 5.10 bcon Linux - Software 3 03-09-2006 07:48 AM
Ubuntu doesn't load GUI timclaason Ubuntu 7 02-19-2006 10:15 PM
Ubuntu GUI Tsukasa7 Linux - Newbie 5 09-01-2005 02:10 PM
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration