To
 install X11,
sudo apt-get install xinit xorg --no-install-recommends

You can omit the '--no-install-recommends' option, if you want.
But i'm assuming you installed Trisquel-mini for the reason of not
having all those extra unecessary applications.

execute:
xinit

X11 might not permit you to launch unless you're
root.
In that case, you should not run it as
root.
Instead you must edit the file: /etc/X11/Xwrapper.config.
Edit the variable 'allowed_users' to anybody.

allowed_users=anybody

Now you can launch X as a normal user.

However, when you launch it now there will be no window manager or
desktop environment.

Install your preferred window manager/desktop environment using apt-get
install "your_desktop/windowmanager"

Create the file ~/.xinitrc.
In this file you can specify programs to launch when X11 launches.
Additionally, X11 closes whenever this file is done executing.

So to keep X11 running, you need to execute at least one application
that you expect to be running your entire x11 session. This program is
usually the window manager.
This can be specified like this(at the last line in ~/.xinitrc):
exec window_manager.

example of a ~/.xinitrc file:

#!/bin/bash
feh --bg-fill ~/Images/background.png #Wallpaper
xterm & #Open up a terminal as a background process
exec openbox #When this program closes, X11 exits

Reply via email to