Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

everyone who uses VT-2 is dumb #5051

Open
oddbyte opened this issue Jan 18, 2024 · 15 comments
Open

everyone who uses VT-2 is dumb #5051

oddbyte opened this issue Jan 18, 2024 · 15 comments

Comments

@oddbyte
Copy link

oddbyte commented Jan 18, 2024

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

@oddbyte
Copy link
Author

oddbyte commented Jan 18, 2024

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

@grumpyman12601
Copy link

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.

@DennisLfromGA
Copy link
Collaborator

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

@oddbyte
Copy link
Author

oddbyte commented Jan 18, 2024

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

@DennisLfromGA
Copy link
Collaborator

DennisLfromGA commented Jan 18, 2024

@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

@oddbyte
Copy link
Author

oddbyte commented Jan 18, 2024

@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

@DennisLfromGA
Copy link
Collaborator

@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

@oddbyte
Copy link
Author

oddbyte commented Jan 18, 2024

@DennisLfromGA
The tutorial has been updated with the crosstini methods

@CroutonIsFun
Copy link

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.

@Echote1
Copy link

Echote1 commented Jan 30, 2024 via email

@oddbyte
Copy link
Author

oddbyte commented Jan 31, 2024

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.

@CroutonIsFun
Copy link

Lolol will do

@CroutonIsFun
Copy link

CroutonIsFun commented Jan 31, 2024

@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).

@hattmall1
Copy link

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.

@CroutonIsFun
Copy link

No, although a few things can be automated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants