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
GNU Screen won't work on re-entry #115
Comments
Turns out screen depends on an init script to add its /var/run/screen directory:
You can add the exact same thing to /etc/rc.local, and crouton will run it when you first enter the chroot. Not much crouton can do by default for you, since it will not parse and run init scripts automatically. |
Thanks! I had figured out something similar. Due to https://bugs.launchpad.net/ubuntu/+source/screen/+bug/574773 I thought I could add /etc/init.d/screen-cleanup to /etc/rc.local in the chroot, but it's an upstart script, so it's right out. I instead went stupid simple and added these lines: mkdir /var/run/screen
chmod 775 /var/run/screen
chgrp utmp /var/run/screen I could one-line those or move them into a script later on, but that works for now. I ❤️ crouton! I've been taking some notes on my setup at https://gist.github.com/5377654. |
Thanks for sharing! I'm guessing you're using ssh just to get the newer hterm? Try the crosh window extension; it uses the ssh app's hterm to launch a shell in a new window. |
Nice! I am using ssh just for a window, and that extension definitely simplifies things. One thing hterm still has over the crosh window, though, is a title bar that plays nicely with screen: The crosh window will still come in handy, I'm sure. Anyway, I really can't thank you enough for turning my chromebook into a fantastic development machine. |
I think this is a result of 8013ab1, but I'm not sure how best to solve it.
The text was updated successfully, but these errors were encountered: