Trying to configure graphical environment on Ubuntu 9.04 Server
Linux - NewbieThis 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.
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.
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?
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:
Code:
id:5:initdefault:
Make a backup of your original inittab before so you can copy it back in case of problem.
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.
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.
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
@ 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 .
Distribution: PCLinuxOS2023 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,486
Rep:
@ 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
.....
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.