Add an X11 server: Difference between revisions

From SaruWiki
Jump to navigation Jump to search
m (... continuing)
(added removal of automatic X starting)
Line 1: Line 1:
First make sure that your kernel supports "userspace software suspend". If it doesn't (as might be with a homegrown kernel), then reconfigure your kernel to include CONFIG_SOFTWARE_SUSPEND=Y, recompile, reboot.
First make sure that your kernel supports "userspace software suspend". If it doesn't (as might be with a homegrown kernel), then reconfigure your kernel to include CONFIG_SOFTWARE_SUSPEND=Y, recompile, reboot.


Now, you can update your apt using
Now, log into the real console of your server. If you use a terminal, the setup of X will "hang" at the end.
 
You can update your apt using
  apt-get update
  apt-get update
Now run
Now run
Line 7: Line 9:
Under Choose software to install, remove all asterisks except for "desktop environment". When you select ''OK'' the system gets going.
Under Choose software to install, remove all asterisks except for "desktop environment". When you select ''OK'' the system gets going.
After installing a LOT of software, Tasksel will ask you what you want your default resolutions to be. Select at least those that you want to be able to use. Then Tasksel installs and configures some more.
After installing a LOT of software, Tasksel will ask you what you want your default resolutions to be. Select at least those that you want to be able to use. Then Tasksel installs and configures some more.
However, since this  will make your server start up with a GUI, we now take out the graphic desktop manager with
update-rc.d -f gdm remove
This means that you still boot into the text mode console. So how do we then get that graphic desktop (should we ever need it)? Simply by issuing
startx
at the root prompt on the real console.


That's it!
That's it!

Revision as of 23:01, 19 July 2008

First make sure that your kernel supports "userspace software suspend". If it doesn't (as might be with a homegrown kernel), then reconfigure your kernel to include CONFIG_SOFTWARE_SUSPEND=Y, recompile, reboot.

Now, log into the real console of your server. If you use a terminal, the setup of X will "hang" at the end.

You can update your apt using

apt-get update

Now run

tasksel

Under Choose software to install, remove all asterisks except for "desktop environment". When you select OK the system gets going. After installing a LOT of software, Tasksel will ask you what you want your default resolutions to be. Select at least those that you want to be able to use. Then Tasksel installs and configures some more.

However, since this will make your server start up with a GUI, we now take out the graphic desktop manager with

update-rc.d -f gdm remove

This means that you still boot into the text mode console. So how do we then get that graphic desktop (should we ever need it)? Simply by issuing

startx

at the root prompt on the real console.

That's it!