Trisquel encrypted and in textual mode

8 respuestas [Último envío]
tius

I am a member!

Desconectado/a
se unió: 05/09/2011

I want to change my informatic habits, and I would try to install Trisquel in text mode (and encrypted).
It's possible to run startx from shell (for graphycal applications) after that?
Or for better says, its easy for a stupid, like me?
Thanks

Chris

I am a member!

Desconectado/a
se unió: 04/23/2011

It isn't too hard if you have the directions for it although if your really technically challenged... it might be too much still.

tius

I am a member!

Desconectado/a
se unió: 05/09/2011

Thanks Chris.
I didn't want create too much messes, and be forced to reinstall normally.
From now on I would like encrypt all my devices...

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

There is no real point in seeing the installation process in the terminal. It basically is the same as with the graphical utility (and since you want graphical applications, you will have to download the graphical software at some point).

On the contrary, it is very interesting to learn how to take advantage of the command line interface. You can, of course, use a virtual terminal but you can also switch to a real terminal by typing Ctrl+Alt+F1 (and Ctrl+Alt+F2 for another one, etc.). Ctrl+Alt+F7 brings you back to the graphical session.

That said, if you really want to (rapidly) start your computer in text-mode only, you can have it as a default... although I am not entirely sure to do that with Upstart (Trisquel's init). Based on a search on the Web, I would edit /etc/default/grub to add the keyword text to the variable GRUB_CMDLINE_LINUX_DEFAULT. Then fire the following command:
sudo update-grub

The subsequent boots should not run the display manager anymore, i.e., you should be invited to log into a terminal. By the way, you want to know about the gpm package (in Trisquel's repositories): it allows you to use your mouse in a real terminal. It is, for instance, pretty useful when editing text files.

Chris

I am a member!

Desconectado/a
se unió: 04/23/2011

I think there are some bugs related to this that have been ignored for quite some time. They could be fixed although I'm doubtful. Don't ask me what they were or are. 2nd hand info from a little ways back.

MagicFab
Desconectado/a
se unió: 12/13/2010

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 12-12-04 07:15 AM, name at domain a écrit :
> I want to change my informatic habits, and I would try to install Trisquel in text mode (and encrypted).
> It's possible to run startx from shell (for graphycal applications)
after that?
> Or for better says, its easy for a stupid, like me?
> Thanks

Ubuntu used to have "Alternate edition" install ISOs which would let you
install in text mode, even a "command line" only system. This would also
offer full-disk encryption at install time. Such editions don't exist
with the newer Ubuntu versions, and the graphical installer now supports
full-disk encryption setup since Ubuntu 12.10. Even if you use Trisquel
6.0 alpha/beta, you won't have that.

I asked a similar question recently, as it turns out *the "netinst"
images for Trisquel installers do offer to setup the full-disk
encryption automatically*. To setup a text-only system, I believe you could:

1) Boot from netinst installer (I tested 5.5)
2) Choose the default "Install system"
3) Follow the steps and then at partitioning time you'll be offered a
partitioning choice - choose "Guided - use entire disk and setup
encrypted LVM".
4) Choose components to install "Trisquel Desktop" ? Not sure here which
ones.
4) If asked about "Postfix configuration" choose "no configuration".

The downside I can see is this requires a good network connection.

When using full-dsk encryption I don't also specify to encrypt the home
directory - I find it to be unnecessary overhead. I am the only user (or
there is a single user) on most systems where I use full-disk encryption
so I don't add that setup too. When installation completes, after
restarting and at every boot you will be asked for the full disk
encryption password.

I am not sure what would be needed to install to get the full Trisquel
desktop after that (in Ubuntu it was "ubuntu-desktop"), but then you
could follow the instructions given by magicbanana to disable automatic
startup and then start a graphic session only when needed.

If you try this succesfully could you please reply back with any
suggestions/improvements to the above?

Hope this helps.

Cheers,

Fabian Rodriguez
http://trisquel.magicfab.ca

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: PGP/Mime available upon request
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC/VmwACgkQfUcTXFrypNUvBgCgxq4n9TLGNGTTJ44q4yOIluWA
7m8Aniru+X2/qZS+qZp5xXgrc68QJmol
=BiDb
-----END PGP SIGNATURE-----

Magic Banana

I am a member!

Desconectado/a
se unió: 07/24/2010

The packages named "trisquel" and "trisquel-recommended" provide the GNOME default install. "trisquel-mini" and "trisquel-mini-recommended" for the LXDE install. "triskel" and "triskel-recommended" for the KDE install.

sphynx
Desconectado/a
se unió: 11/30/2011

I recommended the following in another topic, but it can be useful to you.

Here is a good introduction to the command-line interface: http://flossmanuals.net/command-line/

And from here you can achieve good documentation: https://www.gnu.org/software/bash/

tius

I am a member!

Desconectado/a
se unió: 05/09/2011

Ok, thanks to all.