HOWTO: Install X Window System and a Desktop Environment

Share your own howto's etc. Not for support questions!

Re: HOWTO: Install X Window System and a Desktop Environment

Postby Ibidem » 2011-09-08 22:41

jjmac wrote:Hello all,

Firstly, sorry about the anal tone of my last post (above) :) .
It sounds kind of wierd to me on reading it back (grin).

In any case ...

dbbolton wrote:
>>
Usually I just install the driver for my video card and utils, and let apt drag in the dependencies. One of those meta-packages depends on the exceptionally ugly meta-package xserver-xorg-video-all, and I absolutely don't want that. Same thing with input: only need kbd, mouse, and evdev.
>>


Yes, 'xserver-xorg-video-all' is a right pain ... But that's X for you. Such as ...
'xserver-xorg-video-all' says that it can be removed, but 'xserver-xorg' has it listed as a dependency.

One way to get around those things is by creating a customised meta package with out all the cruft. But including things that may be useful.

xserver-xorg is a metapackage, meant to get X working (on any computer)
It depends on xserver-xorg-video-all, or a virtual package that every X driver provides.
The minimum is xinit and an X server (xserver-xorg-core or xserver-xfbdev), with xserver-xorg-core needing at least evdev and a video driver. evdev can handle mouse and keyboard, if I recall correctly; xfbdev doesn't need drivers, besides a working kernel framebuffer (which isn't always available...)
Besides that you'll need at least one client, preferably a window manager and terminal.
I have set X up like this, from a bare minimum install.
Thinkpad X100e/Debian Squeeze (All reposiories enabled)/Linux 3.4.11:
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0
Ibidem
 
Posts: 160
Joined: 2010-12-24 18:28

Re: HOWTO: Install X Window System and a Desktop Environment

Postby ubungeeek » 2011-10-19 13:04

Ibidem wrote:evdev can handle mouse and keyboard, if I recall correctly; xfbdev doesn't need drivers, besides a working kernel framebuffer (which isn't always available...)

You're right about the mouse and keyboard. But one thing I didn't understand - does kernel framework need drivers or not?
Read about gsm booster www.art-marron.com/wiki/wakka.php?wiki=gsmrepeaterreview
Different Types of Mobile Signals Read article
ubungeeek
 
Posts: 1
Joined: 2011-10-19 12:49

Re: HOWTO: Install X Window System and a Desktop Environment

Postby Ibidem » 2011-10-20 23:38

ubungeeek wrote:You're right about the mouse and keyboard. But one thing I didn't understand - does kernel framework need drivers or not?

Not sure I follow the question.
Do you mean to ask whether you need kernel drivers as well as the X drivers, or X drivers as well as the kernel drivers?

If so, yes. But the kernel drivers are built into the stock kernel.
The kernel must have drivers for most peripherals you plan to use (excepting those with libusb, FUSE, or CUSE drivers, or raw access like a graphics card used by a VM--which isn't the standard configuration). In the case of proprietary drivers, these are provided by the *-dkms, *-kernel-(*-)source, or *-source packages (fglrx-dkms, fglrx-source, nvidia-kernel-legacy-96xx-source...)

X needs its own drivers to use the devices. These drivers won't work properly unless the kernel drivers are loaded and working (except, the fglrx X driver can do 2d graphics without the kernel module).

If you want to use Mesa, you also need a mesa (gl) driver. These are included in the Mesa packaging. Proprietary drivers require their own glx library, using the kernel and X drivers that are bundled with them.

Does that confuse things more for you? :roll:
Thinkpad X100e/Debian Squeeze (All reposiories enabled)/Linux 3.4.11:
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0
Ibidem
 
Posts: 160
Joined: 2010-12-24 18:28

Re: HOWTO: Install X Window System and a Desktop Environment

Postby suttiwit » 2014-11-30 04:46

Here is my setup:
I installed Debian Wheezy 7 from the first DVD without selecting "Desktop environment" at tasksel because I wanted to install MATE as my desktop environment.
So, here is what I did once I logged in (as root):
1. Add 'wheezy backports' to /etc/apt/sources.list:
Code: Select all
deb http://http.debian.net/debian wheezy-backports main

2. Run
Code: Select all
apt-get update

3. Install xorg
Code: Select all
apt-get install xorg

4. Install MATE
Code: Select all
apt-get install mate-desktop-environment-extras

5. Log out of root and get back to normal user
6. Let X start automatically after login without typing 'startx' on every login
Code: Select all
echo "startx" >> ~/.profile


That's it! Once X is started, it looks like the good old GNOME 2 :)
suttiwit
 
Posts: 11
Joined: 2014-11-30 02:57

Re: HOWTO: Install X Window System and a Desktop Environment

Postby BhooshanAJ » 2018-03-11 18:51

Can this guide be still conisdered goood for installing a minimal GNOME desktop? Here's what I was thinknig..

Install the necessary Debian Package without choosing any DE at tasksel. Start it up bare bones. Set the sources.list to testing

Code: Select all
apt install linux-headers-$(uname -r)
apt install xorg
apt install gnome-core
apt install gdm3 (redundant?)


Will this get me on a fairly bare bones GNOME desktop that I can later customize as I wish?
Do I need to explicitly nvidia drivers?
Will this possibly run me into those "Oh no! Something went wrong!" errors?

Also have OpenBox in mind if this can't be done. But I will not do a full GNOME install from Live CD or anything. It has too many things I never use.
BhooshanAJ
 
Posts: 2
Joined: 2018-03-11 18:28

Re: HOWTO: Install X Window System and a Desktop Environment

Postby GarryRicketson » 2018-03-11 18:59

by BhooshanAJ »Will this possibly run me into those "Oh no! Something went wrong!" errors?

That is funny, :D When Gnome is involved, those error messages are all ways a possibility.
Me, NO Gnome, and I never get those kind of messages.
I use Open Box, with some XFCE utilities.
User avatar
GarryRicketson
 
Posts: 4818
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: HOWTO: Install X Window System and a Desktop Environment

Postby stevepusser » 2018-03-11 19:10

Don't use Debian testing if you can't find the answer yourself in these forums. It's only been asked and answered a million times.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.10, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.0.4
User avatar
stevepusser
 
Posts: 9654
Joined: 2009-10-06 05:53

Re: HOWTO: Install X Window System and a Desktop Environment

Postby BhooshanAJ » 2018-03-12 07:59

GarryRicketson wrote: That is funny, :D When Gnome is involved, those error messages are all ways a possibility.
Me, NO Gnome, and I never get those kind of messages.
I use Open Box, with some XFCE utilities.

True. But does installing just bare bones GNOME makes it more prone to these errors?

stevepusser wrote:Don't use Debian testing if you can't find the answer yourself in these forums. It's only been asked and answered a million times.

I did ..I found this topic after I did a search. A noob would've made a new Topic. No?
And...Let's just say I am taking leap into learning. I come from Arch and this is the way I install Linux. While Stable is well..Stable it feels too outdated. And I hear (I am not sure) that Testing is like having a Rolling release.
BhooshanAJ
 
Posts: 2
Joined: 2018-03-11 18:28

Re: HOWTO: Install X Window System and a Desktop Environment

Postby debiman » 2018-03-12 08:16

there's no such thing as "minimal GNOME". that's a contradiction.
unless you believe in chickenshit minimalism...
:mrgreen:
User avatar
debiman
 
Posts: 2411
Joined: 2013-03-12 07:18

Previous

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable