[Debian] Running Debian in a chroot
This is a technical discussion thread about running Debian in a chroot. Please post questions about custom setups or technical problems here.
UPDATE, AUGUST 10 2008: I have posted the newest versions of the chroot scripts (/sbin/debian, /sbin/closechroot, /sbin/synchroot, /usr/bin/debbie) and the chroot config file (/home/user/.chroot) in this post. You can use these scripts to set up your own custom chroot solution. If you just wish to have the applications that Debian gives you (OpenOffice, Firefox, etc) without the hassle, use the Easy Debian package. UPDATE, JULY 3 2008: The post with the first installable .deb files and a link to the first version of the chroot image file is here on page 9, and there is an empty 1GB image file with some cool ideas for other chroot options a few posts later, here. I posted a smaller image file (730MB) with all of the applications installed a bit later, here. Lastly, I posted a 1GB image file with only minimal applications installed here, so that those who want to experiment with installing lots of different apps can have more "play-space". The rest of the thread is a bunch of hardcore Debian chroot enthusiasts trying to get stuff working and keeping each other up to date. Oh yes, and one very cool video. ORIGINAL POST FOLLOWS: Hi all, I have a wiki entry, Running Debian in a chroot This method allows you to install and run any of the thousands of applications, including things like Gimp and OpenOffice, compiled for the Debian armel port, without rebooting your tablet. Many of them run under the default OS, but you may need to use penguinbait's KDE to run some of the apps, because they are designed for a desktop OS and they have problems like dialog boxes that don't fit on the standard tablet operating system's screen. I have posted about this in various threads, but I wanted to start a new thread so that people can discuss this in one place and propose better ways to do it. I would love to see a simple, newbie-friendly way to set this up so that anyone can install and run Debian apps with a minimum of hassle. This thread might help to make that happen. Also, if you find Debian apps that work particularly well, apps that totally crash the system, or tricks for getting certain Debian apps to work on the tablet (eg. make sure you install esound support to get sound working on several apps), you can report your findings here. EDIT: The "Discussion" tab on the wiki now links back to this thread. Nice. |
Re: Running Debian in a chroot
Hello qole my friend,
in order to avoid fiddling with passwordless ssh, I changed the /usr/bin/debbie script as follows: Code:
#!/bin/sh This seems OK BUT I haven't been able to make hildon menu items work. If your menus do their job indeed, would you please try this modified script to see if it makes them not functional? Thanks |
Re: Running Debian in a chroot
I have added a bit to the wiki from Benson, he pointed me to using visudo to make it possible to run anything as root just by typing sudo <command>, so now I just make the exec line in my menu item look something like:
Quote:
You can make the "debbie" script just say "sudo debian hilda $*", that works too. I found Personal Menu to be great for running these programs too; you don't have to mess around with a text editor and .desktop files. Also, there's a "run as root" checkbox. |
Re: Running Debian in a chroot
Xnest won't behave, installed, and it's not there...
|
Re: Running Debian in a chroot
Xephyr works. Try it instead of Xnest.
|
Re: Running Debian in a chroot
This is great news.
I installed xserver-xephyr on the debian chroot, then started xephyr in fullscreen as display :1. Then in the Debian prompt exported display to :1 Then started xfce4-session. Ta-dah! Full screen xfce4 (with abiword, openoffice and all the band) along with hildon-matchbox and those other odd things. Two worlds together! I am verrrrry happy :-) Now I need a new 8gigs transflash. The one I had from Sandisk was fridged by the tablet and I was never able to restore it. My present 6gigs has become insufficient for that debianosaurus. |
XFCE4 in Xephyr on top of OS2008
Quote:
But, if you want to go the two-WM route, I suggest looking into the VNC method: VNC METHOD
This method has the following advantages:
However, for anyone interested in getting this to work with Xephyr (come on, you know you do), within Debian you'll need to: XEPHYR METHOD Code:
apt-get install xserver-xephyr Then, I suggest a little script (/usr/bin/xephce4 ? ;) ) with something like the following: Code:
#!/bin/sh Code:
sudo debian xephce4 Advantages of this method:
http://farm3.static.flickr.com/2059/...4603f6b4d1.jpg Quote:
|
Re: Running Debian in a chroot
Could one of you guys post a quick recipe for getting Abiword to work through Debian on maemo and/or KDE?
If so, thanks! |
Re: Running Debian in a chroot
Once you have your chroot scripts set up as I describe in the wiki, you go into Debian and "apt-get install abiword", and abiword should run from the Debian prompt. Then you just have to run "sudo debian hilda abiword" from a maemo terminal or put that line into a .desktop file.
Could you be more specific as to what your problem is? I can give better help if I know what's wrong. |
Re: Running Debian in a chroot
From my approximate evaluation, calling openoffice or abiword in hildon windows (the "debbie abiword" method) is much quicker than calling them under xfce4 in a Xephyr window.
At present I don't know if that depends on Xephyr or on xfce4. I'll experiment more - with JWM I presume, a very light WM. |
All times are GMT. The time now is 00:38. |
vBulletin® Version 3.8.8