How does Trisquel Mini work?

14 risposte [Ultimo contenuto]
anonymous

When I boot "normal" Trisquel, everything works graphically. When I boot Trisquel Mini, I get a CLI! Does this mean my computer is not compatible with Mini, or do I need to learn some commands?

ssdclickofdeath
Offline
Iscritto: 05/18/2013

That has happened to me, too, with many of my computers. I am able to install the package "trisquel-mini", (With LXDE desktop environment) though.

lembas
Offline
Iscritto: 05/13/2010
Sachin
Offline
Iscritto: 06/02/2012

This similar issue occurs to me with trisquel-mini and parabola-lxde I
trying to resolve this issue too.

---
___________________
Sachin Dey

On 27/09/2013 05:13 AM, name at domain wrote:
> When I boot "normal" Trisquel, everything works graphically. When I
> boot Trisquel Mini, I get a CLI! Does this mean my computer is not
> compatible with Mini, or do I need to learn some commands?

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

I would try to start X from the terminal:
$ startx

If it works, then LXDM probably is the culprit. You can install Trisquel's display manager:
$ sudo apt-get install gdm

ssdclickofdeath
Offline
Iscritto: 05/18/2013

I tried that, but it didn't do anything.

dadix
Offline
Iscritto: 07/01/2013

Upgrade your BIOS.

FriendFX
Offline
Iscritto: 01/03/2014

I am trying the Mini 6.0 live CD.

Same problem here - the CD boots into a CLI on my DELL Latitude E6500.

I tried "startx" (no such program seems to exist out-of-the-box), "lscpi" (doesn't exist either) and trying to "sudo apt-get install gdm" fails with errors about inability to connect to one of the repositories.

I found a "startlxde" program, but that (as most other programs starting with x) fail with something like "can't use DISPLAY".

On an ancient IBM ThinkPad A21m however, the same live CD boots straight into the GUI.

Note that I'm a GNU/Linux noob (coming from Windows) and need help with the basics here... do I need to install Xinit (how would I do that?) as mentioned in this forum entry: http://trisquel.info/en/forum/startx-gui-lxdm ?

quiliro@congresolibre.org
Offline
Iscritto: 10/28/2010

El 03/01/14 08:24, name at domain escribió:
> I am trying the Mini 6.0 live CD.
>
> Same problem here - the CD boots into a CLI on my DELL Latitude E6500.
>
> I tried "startx" (no such program seems to exist out-of-the-box),
> "lscpi" (doesn't exist either) and trying to "sudo apt-get install
> gdm" fails with errors about inability to connect to one of the
> repositories.
>
> I found a "startlxde" program, but that (as most other programs
> starting with x) fail with something like "can't use DISPLAY".
>
> On an ancient IBM ThinkPad A21m however, the same live CD boots
> straight into the GUI.
>
> Note that I'm a GNU/Linux noob (coming from Windows) and need help
> with the basics here!
>

Probably the CD reader has problems. Change it and and everything will
probably be OK. You could also install the system from another computer
by booting from FTP. But that is more complicated than just changing the
CD_ROM reader.

sebelius
Offline
Iscritto: 08/22/2013

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

Julius22
Offline
Iscritto: 07/01/2010

Have you tried the "sudo lxdm" command?

sebelius
Offline
Iscritto: 08/22/2013

If you selected to install "trisquel-mini-desktop"(or something similar), but you do not boot into lxde.
You could try: sudo service lxdm start

FriendFX
Offline
Iscritto: 01/03/2014

Thanks a lot, "sudo lxdm" worked and got me into graphical mode. Haven't tried "sudo service lxdm start", what would be the difference?

As sebelius pointed out (https://trisquel.info/en/forum/how-does-trisquel-mini-work#comment-48064) about starting X11 as root being unsafe, does the same apply to lxdm? If yes, what to do to make it safe (equivalent of editing Xwrapper.config and starting as normal user)?

Thanks for your generous support!

sebelius
Offline
Iscritto: 08/22/2013

service script_name start will execute system V init script script_name located in /etc/init.d.
System V init scripts are executed on boot. A Login Manager requires this, otherwise you'd need to start it manually from the terminal which makes it much easier to just type xinit in order to start X11. You can disable a system V init script by typing sudo update-rc.d script_name disable.

man update-rc.d
man service

axgb
Offline
Iscritto: 09/22/2013

I had that problem. You have to do sudo apt-get install trisquel-mini