Problems with Trisquel 7 install

31 respostas [Última entrada]
GNUser
Desconectado
Joined: 07/17/2013

Hi,

I have installed Trisquel 7, but I am getting some issues:

1. I can't use the Text Mode Install. Unless I connect to the internet, it won't allow me to go beyond the "choosing mirror" option. I have tried to go back and forth, but it seems like unless I get internet connection, I can't use the text mode.

2. I used graphical mode with full disk encryption. All went well, except that when the computer is booting, unlike in my old Debian installation, I don't get a "clear" time to input my password. What I mean is, I am constantly getting new lines appearing (related to the touchpad, the graphics, etc etc, mostly hardware stuff) when it should be quiet waiting for me to input the password. ALSO, if I press the arrow keys, the screen will change back and forth between a text only screen and a graphical with the word Trisquel 7 and some blue dots.

3. When I install it only asks me to create a user and a password. It never asks me to create a root password, which apparently makes my user the root! I have been able to use my regular user password to install programs, is it supposed to work like this? I am used to Debian giving me the option of creating a user and a root password.

4. ORCA is on by default. Is it a feature or just something irritating that I should have changed in some configuration?

5. I can't be sure if the full disk encryption worked or not. In Debian I would open Nautilus window and on the left side I would have a "Encrypted partition" that had the full size of my hard drive and it would actually be requiring a password to access it. But in Trisquel I don't see such a thing.

Basically what I am more troubled is about the fact that it seems to require an internet connection for the install to go well, the fact that the booting process is confusing about when to enter the password, and I can't get a "regular" user account and a root password on the install procedure. That is not too bad, I will just create a root password and create a user account later. But the other issues are affecting me, could you guys provide some insight?

Thanks!

Mzee
Desconectado
Joined: 07/10/2013

I can only help with #4 as you can easily disable ORCA (https://trisquel.info/en/wiki/disable-orca-screen-reader-startup-without-uninstall-it)

GNUser
Desconectado
Joined: 07/17/2013

Yeah, I eventually found it. I know it is probably a "feature" for visually impaired people, but the voice is still very irritating. Lol.

Anyway, I could really use some help with the other questions, I am a total loss :(

If I really have to connect to the internet during install (something that I really dislike doing) I would prefer the netinstall. HOWEVER, i can't seem to find any useful information on the documentation :(

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

With the graphical install (but maybe with the text one too), you only need to rather quickly use the Live system after it boots and Orca is not enabled.

quantumgravity
Desconectado
Joined: 04/22/2013

I can only help with the third issue.
Trisquel goes the "Ubuntu way" when it comes to root authentication.
It uses sudo (https://en.wikipedia.org/wiki/Sudo).
I think you actually know that but maybe you forgot during your time with debian.
So from my understanding, there is a root account in trisquel, but you can't choose the password and you will never find it out, instead you're supposed to get root permission by executing sudo.
So don't worry, you're user is not root.

I have no idea how the idea of sudo actually works in detail or how secure it is compared to the normal method.
All i know is that a lot of big distro are using it and it seems to work.

GNUser
Desconectado
Joined: 07/17/2013

Hum.... yes, I think I remember something like that back in Ubuntu 10.04
Now that you mention it I remember yes. But still, I don't like it this way...
In "User accounts" my account is marked as "Administrator". AND something funny happened, I actually unlocked the options (using my password) and changed the level to base. I lost completely access to installing new stuff and had to reinstall Trisquel. So, it seems like I might wanna do something else...

Do you know if I can create a new account after the install and use the original account password to access sudo?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

Execute 'sudo passwd root', give root a password and take the administrative privileges away from the first created user. You would then end up with a security administration à la Debian.

One advantage in not having a password for "root" is that script kiddies must not only guess the passwords but the name of the administrative user too. 'sudo' supports a far more sophisticated (in particular, per-user) security policy than the all-or-nothing approach of switching to "root". See 'man sudoers' for details. One of sudo's features is that it asks for the password unless it was given (in the same terminal) within the last fifteen minutes (configurable with the "timestamp_timeout" option). In this way, there is less risk of someone facing a root terminal if you have to leave the computer in a hurry (forgetting to lock the screen).

SuperTramp83

I am a translator!

Desconectado
Joined: 10/31/2014

name is "gnu" - script kiddies are welcome! :)

ADFENO
Desconectado
Joined: 12/31/2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I don't know much about Sudo and its relation with the root account
and other accounts.

What I do know so far is:

* sudo cd "${HOME}" doesn't do what you might expect because: (1) Sudo
looks for standalone programs, and cd is a built-in GNU Bash command;
(2) Both ${HOME} and ~ would expand to "/home/${USER}", and ${USER}
expands to your current user. Perhaps Sudo performs a task similar to
Which to find the program being requested for execution;

* The --login option opens a new shell and makes ${HOME} expand to
"/root", and makes ${USER} expand to "root". This is useful when
trying to run scripts that were originally made to run by anacron/cron;

* The --shell option opens a new shell and leaves ${HOME} untouched,
but makes ${USER} expand to "root". This is useful if you want to use
GNU Bash's built-in commands;

* Sudo relies on: (1) the groups "adm" and "sudo", which might serve
different purposes, I just don't know to what extent; (2) the
"/etc/sudoers" file, which configures Sudo and the user accounts which
are allowed to use it, and how they can use it.

- --
Assinatura automática – português brasileiro:
– Página de usuário na wiki do LibrePlanet.org:
https://libreplanet.org/wiki/User:Adfeno
– Em favor da aprovação da Lei ODF em Santa Catarina
(https://secure.avaaz.org/po/petition/Aprovacao_da_Lei_ODF_em_Santa_Cata
rina),
e para garantir os direitos humanos de igual tratamento pelo governo ou
lei, de circulação dentro das fronteiras de cada nação, de participação
no governo, e de igualdade no acesso aos serviços públicos, não estou
aceitando arquivos do Microsoft Office ou do Apple iWork. Por favor,
use o LibreOffice(https://www.libreoffice.org/) e seus formatos do
padrão ODF (.odt, .odp, etc.).

Automatic signature – North American English:
– User page on LibrePlanet.org wiki:
https://libreplanet.org/wiki/User:Adfeno
– In favor of the approval of the ODF law in Santa Catarina
(https://secure.avaaz.org/po/petition/Aprovacao_da_Lei_ODF_em_Santa_Cata
rina),
and to ensure the human rights of equal treatment by the government or
law, of circulation inside the boundaries of each nation, of
participation on the government, and of equality on the access to the
public services, I'm not accepting Microsoft Office's files or Apple
iWork's files. Please use LibreOffice (https://www.libreoffice.org/)
and its formats from the ODF standard (.odt, .odp, etc).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EAREIAAYFAlYShasACgkQyNbhUgHunaGgbQD/QKwmmRpxJ3s02UPTY7wunirr
1YpQLEu51sbGHq70n90A/2UdWz8MAd1naENT+qY5kjbbEjy1OjSpywYHVTy2MwnV
=8DOT
-----END PGP SIGNATURE-----

GNUser
Desconectado
Joined: 07/17/2013

What happens if instead of "sudo" you try to use "su"? Do you get root/administrator permissions with your password anyway?

onpon4
Desconectado
Joined: 05/30/2012

Authentication failure happens, because you don't know the password. You can do "sudo su", though.

GNUser
Desconectado
Joined: 07/17/2013

No one here uses full disk encryption? How does it work for you?

moxalt
Desconectado
Joined: 06/19/2015

I don't actually use encryption of any kind (although I used to use home
directory encryption) because I am far more concerned about my computer or OS
dying and then not being able to get my stuff because of the encryption rather
than someone breaking in and nabbing my drives.

strypey
Desconectado
Joined: 05/14/2015

I've experimented with encrypting my /home folder or partition on install, and it seems to work. When I try to access the partition from another GNU/Linux instance on the same device, or a liveCD/USB, I am asked for a passphrase before it will let me access /home. I'm not even a script kiddy though, so my weak attempts at hacking my own encrypted partition doesn't really count as penetration testing ;)

I generally tend not to encrypt /home, for the same reasons as Moxalt, and because nothing on my laptop requires that level of security. I do endorse the idea that everyone should encrypt so that those who do need it don't stand out though, which is why I have been experimenting with it.

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

When you write about "the Text Mode Install", you do not mean "the NetInstall", do you? Because the "NetInstall" obviously needs the Net.

GNUser
Desconectado
Joined: 07/17/2013

No, I mean the "Text Mode Install", or "Expert install". Don't remember how is it spelled. I am not confusing with the netinstall ;)

Btw, thanks a lot for all the replies, very useful information!
The explanation on sudo vs su was right on! I will later decide how I will handle things.

Thanks!

moxalt
Desconectado
Joined: 06/19/2015

I'm pretty sure the 'text-mode installer' offered on the standard Trisquel
edition ISO is identical to the installer on the netinstall ISO. Both are
basically clones of the Debian text-mode installer. Why the reluctance to just
connect to the internet? Why use the text-mode installer in the first place if
you already went through the trouble of downloading the whole 1.5GB worth of
stuff on the standard edition?

strypey
Desconectado
Joined: 05/14/2015

Text mode installation can be helpful if the packages on the liveCD/USB are not up-to-date enough to fully support a graphical interface on the user's computer. I recently had an issue where the graphical installer kept crashing on me before completing, so I too resorted to the text install. Didn't really help in that case. But I can imagine cases where it would, which the user might not be able to predict before downloading the whole 1.5GB ISO.

GNUser
Desconectado
Joined: 07/17/2013

Ok, so to answer myself, regarding point 2 (not being able to input password without linux giving me output messages) here is the solution I found:

sudo nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="console=tty12"

Now all is black until it asks for the password, and which point I enter it and after that get the usual messages from the boot process.

Hope it helps someone!

I am still unsure about the security of my full disk encryption. In Debian the full disk encryption took over an entire night to complete. Here it takes a few minutes? Weird... Maybe it's because it was already encrypted. Anyway, I will have to try and hack my own pc and see if the hd is indeed encrypted or or not :P

quantumgravity
Desconectado
Joined: 04/22/2013

I also once did a full disk encryption (also with debian i guess) and it didn't take long at all to setup.
But i really think it was successfully encrypted, because everytime i booted the pc, i had to enter a passphrase.
Maybe it's a different way of encrypting?
Would be great if somebody could tell about the technical background, though.

GNUser
Desconectado
Joined: 07/17/2013

GParted gives me this:

/dev/sda1 (key icon) ext4 / 20Gib 5Gib 15Gib boot
/dev/sda2 (no icon) extended 200Gib - - -
/dev/sda5 (warning icon) crypt-luks 200Gib - - -

Does it looks like it is encrypted? Or maybe it only encrypted part of the HD?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010
GNUser
Desconectado
Joined: 07/17/2013

I know sda5 is encrypted.
I am unsure about sda1 though. Maybe it can't be encrypted because it is just the boot partition?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

It is quite probable. It used to be the case that /boot could not be encrypted. It may still be true.

Maatthew Dyer
Desconectado
Joined: 09/26/2015

Hi,

I can't help with your install problem, but as for orca, yes this comes
up at start up. If you want to disable it ofcorse, you can press supper
ault s to turn it off and it should stay off. Orca is the screen reader
that is used for blimd users. HTH.

Matthew

On 10/05/2015 05:46 AM, name at domain wrote:
> Hi,
>
> I have installed Trisquel 7, but I am getting some issues:
>
> 1. I can't use the Text Mode Install. Unless I connect to the
> internet, it won't allow me to go beyond the "choosing mirror" option.
> I have tried to go back and forth, but it seems like unless I get
> internet connection, I can't use the text mode.
>
> 2. I used graphical mode with full disk encryption. All went well,
> except that when the computer is booting, unlike in my old Debian
> installation, I don't get a "clear" time to input my password. What I
> mean is, I am constantly getting new lines appearing (related to the
> touchpad, the graphics, etc etc, mostly hardware stuff) when it should
> be quiet waiting for me to input the password. ALSO, if I press the
> arrow keys, the screen will change back and forth between a text only
> screen and a graphical with the word Trisquel 7 and some blue dots.
>
> 3. When I install it only asks me to create a user and a password. It
> never asks me to create a root password, which apparently makes my
> user the root! I have been able to use my regular user password to
> install programs, is it supposed to work like this? I am used to
> Debian giving me the option of creating a user and a root password.
>
> 4. ORCA is on by default. Is it a feature or just something irritating
> that I should have changed in some configuration?
>
> 5. I can't be sure if the full disk encryption worked or not. In
> Debian I would open Nautilus window and on the left side I would have
> a "Encrypted partition" that had the full size of my hard drive and it
> would actually be requiring a password to access it. But in Trisquel I
> don't see such a thing.
>
>
> Basically what I am more troubled is about the fact that it seems to
> require an internet connection for the install to go well, the fact
> that the booting process is confusing about when to enter the
> password, and I can't get a "regular" user account and a root password
> on the install procedure. That is not too bad, I will just create a
> root password and create a user account later. But the other issues
> are affecting me, could you guys provide some insight?
>
>
> Thanks!

strypey
Desconectado
Joined: 05/14/2015

Mailing list users, can you please trim your posts? Top posts and excessive quoting are poor netiquette even in mailing lists, and those of us who use the web the access the forum don't need to see your PGP signatures or lengthy sig blocks every time you post. These things make both email archives, and web forums, cluttered, and harder to navigate.

antiesnob
Desconectado
Joined: 08/22/2013

LOL! Because of that I only read your post and Mzee one. TL;DR to everything except those.

edit: read moxalt's ones too now.

antiesnob
Desconectado
Joined: 08/22/2013

I redistributed your questions on a different order:

a) 4) Already answer by Mr. Mzee.

b) 2) & 5) I can't really help you on this one but I propose you to open another thread for this specifically. I think a guy recently claimed that he pressed Ctrl+C and there he was asked for a pass and it looked like everything was working fine ... But, dunno.

c) 1) Not sure about this but this was always my impression: the text mode and the netInstall are the same. The difference is that you're allowed to use the same disc to make different kinds of installation using the same disc. Meaning you need Internet to do both netinstall and textmode install. Anyway, this is an impression and, anyway#2 you DO need to upgrade lots of software after the installation.

d) 3) It seems u was thru a long travel llllllll Well, for security reasons you don't use root. For administrative tasks you use a user that's on the sudoers list. This user is an administrator and belongs to different groups which gives it credentials. The user and password you're asked for is for this user. After installation, you use this user to create another user which must not be an administrative one and is for daily use. Meanwhile, the administrative user you use to create accounts, install software, etc. when needed. This keeps the system safer.

I send you a little kiss on you right eyebrow!!!!!!!!!!!!!! muack :))

GNUser
Desconectado
Joined: 07/17/2013

Please, I hope you are a woman... getting kisses from a dude would be weird, even over the internet :P
And anyway, my girl is jealous! ahahah

Just kidding, thanks for the explanation.

antiesnob
Desconectado
Joined: 08/22/2013

No homo bru. I've sent u a kiss on your eyebrow cause that's clearly a non seksual kiss except if yar a fetichist!! So u know I'm not trying to get into u!

amenex
Desconectado
Joined: 01/03/2015

Lest we forget: That first request for a username & password may be coming from grub.

I ran into this problem myself. Magic Banana was a big help then !

Use "sudo cat /etc/grub.d/01_PASSWORD" in the terminal to find it out for your Trisquel installation.

When you first get that black screen with a request for a username, it's "grub"

Then reply to the request for your password with the number from "sudo cat /etc/grub.d/01_PASSWORD"

That will get Trisquel started.

GNUser
Desconectado
Joined: 07/17/2013

Thanks! That worked! And eventually MagicBanana gave me the same answer :)

I am still having problems with the resolution issue, and maybe I need to do something else (https://trisquel.info/en/forum/making-radeon-work-again-bringing-back-linux-libre-34#comment-80316 here if you can/want to give a help).

But thanks for the explanation.