I just installed Debian 9 XFCE on my Lenovo Thinkpad 13 Chromebook using Crouton.
https://github.com/dnschneid/crouton
The installation process with crouton is different than the normal way, crouton does almost everything for you. The only prompts I was given was to enter a username and enter a password. It seems to have installed Debian just fine as far as I am aware. To start Debian I need to open a terminal on my chromebook CTRL+ALT+T and then type in 'shell' enter, then 'sudo startxfce4' I started following this youtube tutorial on things to do after installing Debian and I hit a snag on step 1.
https://www.youtube.com/watch?v=BWBHJmAmZgk
If I type in 'su' I get 'su: Authentication failure' I figured that this was coming from the alternate install issue that I did with crouton compared to the normal way for a desktop or a laptop. I saw that you typically set up root when first installing Debian in these videos:
https://www.youtube.com/watch?v=bjjj_Me_jdo
https://www.youtube.com/watch?v=BWBHJmAmZgk
I googled around to see if any other crouton users were having the same issue as me, I think I found someone stating that they have the same issue as me and the creator of crouton answering him:
https://github.com/dnschneid/crouton/issues/243
Despite having read this I was still confused with how to go about the solution that was stated. I was unsure if I was supposed to type in 'sudo enter-chroot -u root' in the chromebook terminal or in the debian terminal. I think it is in the chromebook terminal so I can open up a Debian session as root. Is that correct? At that point he says to install sudo. How do I install sudo once I am in Debian as root?
Thank you so much for your help, if anyone needs further elaboration or needs screenshots of my terminal I can provide those. Thank you.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to enable root permission, not done during install?
-
- Posts: 1
- Joined: 2018-06-25 23:28
- sunrat
- Administrator
- Posts: 6476
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: How to enable root permission, not done during install?
Assuming you have an internet connection:
You should read some docs about package management in Debian, the wiki is a good start.
Also, Chromebooks are strange. If you used Crouton, you should use their support channels as it's not the same as Debian. Normally in Debian you should absolutely NOT start your desktop as root.
PS. no-one really wants to see terminal screenshots or videos if it can be avoided.
Code: Select all
apt update && apt install sudo
Also, Chromebooks are strange. If you used Crouton, you should use their support channels as it's not the same as Debian. Normally in Debian you should absolutely NOT start your desktop as root.
PS. no-one really wants to see terminal screenshots or videos if it can be avoided.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 190
- Joined: 2018-05-05 22:30
Re: How to enable root permission, not done during install?
Support for a Debian installation via Crouton is going to be patchy at best, it's a chroot environment using the ChromeOS kernel and so not truly Debian. Depending on what you want to do as root, the ChromeOS kernel may well block it anyway--in that way, Crouton resembles a sandbox environment, you can play with Debian but you can't do anything that might compromise ChromeOS. But you might try sudo, the installer may have enabled that and not installed su at all.