Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-23-2009, 07:31 PM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Rep:
|
Trying to configure graphical environment on Ubuntu 9.04 Server
I'm very new to the Linux world, so be gentle. I've been trying to configure the server to run a graphical interface. I have read numerous configuration guides and posts, but nothing seems to fix the issue. I tried to change the run levels from 2 to 5, but still no help. Can someone give some guidance?
|
|
|
11-23-2009, 09:10 PM
|
#2
|
Member
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 235
Rep:
|
Quote:
Originally Posted by rconner
I'm very new to the Linux world, so be gentle. I've been trying to configure the server to run a graphical interface. I have read numerous configuration guides and posts, but nothing seems to fix the issue. I tried to change the run levels from 2 to 5, but still no help. Can someone give some guidance?
|
To change runlevel permanently modify (as root) the file /etc/inittab. Look for a line like this: Make a backup of your original inittab before so you can copy it back in case of problem.
|
|
|
11-23-2009, 11:10 PM
|
#3
|
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638
Rep: 
|
No. Changing the runlevel will not help. Ubuntu server edition does not install X by default. So no matter what run level you choose it would not boot up in graphical environment until you install X server and all the related X packages.
To boot into graphical environment just install the desktop packages and you would be booting X.
Do
Quote:
sudo apt-get install ubuntu-desktop
|
And it is done.
|
|
|
11-24-2009, 06:22 AM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
@ Davno : And Debian uses runlevel 2 as default,
usually no reason to change it, and not at all an
easy thing to do.
.....
Last edited by knudfl; 11-24-2009 at 06:26 AM.
|
|
|
11-24-2009, 07:29 AM
|
#5
|
Member
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 235
Rep:
|
@ knudfl : What is so hard about editing a file ?
And rconner did ask how to do it:
Code:
I tried to change the run levels from 2 to 5, but still no help
As for default of each distro, i agree i don't know them all.
|
|
|
11-24-2009, 08:23 AM
|
#6
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Original Poster
Rep:
|
I just tried to install "ubuntu-desktop". It comes back telling me "Couldn't find the ubuntu-desktop package". I have a stupid question - do you need the internet access to get this "ubuntu-desktop" package? If so, that's part of the problem. We don't have internet access yet.
|
|
|
11-24-2009, 08:36 AM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
@ Davno
No reason to change it means : Don't do it.
May sound like contradictions : Using run level 2
.. and is automatically taking you to the graphical
login ( e.g. gdm ) when a window manager is installed.
Don't know exactly how it works, never had reasons
for changing it.
Default : the file /etc/X11/default-display-manager
says e.g. /usr/bin/kdm . Change the line to : none
.. and the log in is CLI.
https://lists.ubuntu.com/archives/ub...ly/087620.html
Quote:
Ubuntu uses the Debian model, and the default runlevel is 2, unless
otherwise configured - so init 3 won't help, I'm afraid, unless you
enjoy reconfiguring runlevels .
|
|
|
|
11-24-2009, 09:30 AM
|
#8
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
@ rconner : Ubuntu 9.04.
Have you got the install DVD ? cd set ?
( It's a problem finding anything but live ones
on the internet, there should exist a 4 cd set.)
http://iso.linuxquestions.org/ubuntu/
If not already added to /etc/apt/sources.list,
please insert the DVD or cd and do the command
sudo apt-cdrom add
After that it should be possible to install
a 'Desktop Environment' = 'Gnome' with
sudo apt-get install ubuntu-desktop
.....
Last edited by knudfl; 11-24-2009 at 10:01 AM.
|
|
|
11-24-2009, 11:13 PM
|
#9
|
Senior Member
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,638
Rep: 
|
Quote:
Originally Posted by rconner
I just tried to install "ubuntu-desktop". It comes back telling me "Couldn't find the ubuntu-desktop package". I have a stupid question - do you need the internet access to get this "ubuntu-desktop" package? If so, that's part of the problem. We don't have internet access yet.
|
Yes, either you need an internet connection to install the packages or a cd/dvd. Apt is configured to download and install packages from internet repositories and you would need to enable your optical media repository which is disabled by default.
If you just want GUI for administering your server you can do it with webmin . No need for a complete desktop environment. Just install the X server and firefox or any web browser and webmin. It will allow you to administer your server through your web browser.
|
|
|
All times are GMT -5. The time now is 05:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|