crouton icon indicating copy to clipboard operation
crouton copied to clipboard

everyone who uses VT-2 is dumb

Open oddbyte opened this issue 1 year ago • 16 comments

here is how to use sudo in crosh. Follow any tutorial you like

oddbyte avatar Jan 18 '24 15:01 oddbyte

main benefit for me is that you can copy paste sudo commands into there, and open sudo-required GUI apps

oddbyte avatar Jan 18 '24 15:01 oddbyte

Getting this error: ssh: connect to host localhost port 22: Connection refused

Do you have read/write protection disabled? If so that is probably my issue, still waiting on a breakout board to get delivered.

grumpyman12601 avatar Jan 18 '24 19:01 grumpyman12601

It also appears that you need to assign both root & chronos passwords. 🤔

DennisLfromGA avatar Jan 18 '24 19:01 DennisLfromGA

i have edited the repo with new instructions @DennisLfromGA @grumpyman12601 new instructions do not require any firmware mods or Write Prot disabled. you only need access to the VT2 terminal and a wifi connection (to install ChromeBrew and netcat) edit: this new method does not require any passwords or opening your ssh port, so either way this method is safer

oddbyte avatar Jan 18 '24 21:01 oddbyte

@OddbyteWasTaken,

ssh'ing into it from the penguin container is easier for me, no chromebrew required.

You can even set up passwordless ssh too by adding the penguin id_rsa.pub file to the chronos authorized_keys file.

-DennisLfromGA

DennisLfromGA avatar Jan 18 '24 22:01 DennisLfromGA

@OddbyteWasTaken,

ssh'ing into it from the penguin container is easier for me, no chromebrew required.

You can even set up passwordless ssh too by adding the penguin id_rsa.pub file to the chronos authorized_keys file.

-DennisLfromGA

while true, installing chromebrew is useful anyways, and i dont like crosstini :P also, for some reason sshd broke for my chromebook, and i dont feel like powerwashing

Edit: that said will try to ssh from crosstini, and if it succedes will update repo

oddbyte avatar Jan 18 '24 22:01 oddbyte

@OddbyteWasTaken,

It's nice to have options.

sshd broke on mine too but I can launch it manually using the opensshd instructions when needed.

-DennisLfromGA

DennisLfromGA avatar Jan 18 '24 22:01 DennisLfromGA

@DennisLfromGA The tutorial has been updated with the crosstini methods

oddbyte avatar Jan 18 '24 23:01 oddbyte

Your title is disingenuous and insulting. Since "everyone" who uses VT-2 is dumb, this includes you. Also, this does not allow you to use crosh: it opens up a new virtual terminal, which is xfce4-terminal.

Still, it's a clever approach, and shows that there is not just one way to solve a problem.

CroutonIsFun avatar Jan 30 '24 15:01 CroutonIsFun

like grah keep it a stack

On Tue, Jan 30, 2024 at 10:54 AM CroutonIsFun @.***> wrote:

Your title is disingenuous and insulting. Since "everyone" who uses VT-2 is dumb, this includes you. Also, this does not allow you to use crosh: it opens up a new virtual terminal, which is xfce4-terminal.

Still, it's a clever approach, and shows that there is not just one way to solve a problem.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Echote1 avatar Jan 30 '24 16:01 Echote1

Your title is disingenuous and insulting. Since "everyone" who uses VT-2 is dumb, this includes you. Also, this does not allow you to use crosh: it opens up a new virtual terminal, which is xfce4-terminal.

Still, it's a clever approach, and shows that there is not just one way to solve a problem.

Yes, i agree that i am insulting. however, it is a joke, so chill.

oddbyte avatar Jan 31 '24 03:01 oddbyte

Lolol will do

CroutonIsFun avatar Jan 31 '24 22:01 CroutonIsFun

@OddbyteWasTaken

As long as you're using Chromebrew, try this:

crew install crew_sudo

Whenever you bootup, just go to VT-2 and login as chronos: the crew_sudo daemon will autorun, and then in the crosh shell, you can use sudo normally. Works like a charm!

Last month, I had a problem with Chromebrew crashing during the install. It may have had something to do with the previous ChromeOS update. I'm currently on 123.0.6312.132 (Official Build) (64-bit).

CroutonIsFun avatar Jan 31 '24 22:01 CroutonIsFun

Do any of these methods allow you to launch crouton? If so would it be possible to autostart any of these and then launch crouton. I was previously able to just tun on my computer and have it open in the xfce4. Now it's a major pita.

hattmall1 avatar Feb 06 '24 05:02 hattmall1

No, although a few things can be automated.

CroutonIsFun avatar Feb 10 '24 00:02 CroutonIsFun