schroot x applications xauth vs. xnest adding users no binding
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
The schroot guides I've found suggest binding /dev, /proc/ /tmp, /sys, /home to folders in /foo/wherei'vegotmy/chroot/dev,/proc,/etc
I thought I wouldn't have to do this with schroot. I don't want the same home for sure. The others... I worry that I'll forget and rm -r /var/chroot without unmounting...
1. Do I really need to? (I think with /proc it's necessary or I get a segfault...)
-------Graphics stuff-------------
2. Is /tmp for /xstuff ?
xnest worked well. copying xauth didn't work. I would prefer to not have to use xnest but I can. The alternative I saw was export display 0:0 and use xhost + for a second, start the program and then xhost -. It didn't open.
3. Any ideas for seamless integration into a running desktop environment?
-------user stuff-------------------
4. For some reason (I checked /etc/schroot/schroot.conf and din't find anything) schroot is looking for my /home/notthechrootuser. I get an error message. How can I correct this? Where should I look?
5. I use adduser to add a user in the chroot but the user diasappears everytime I leave the chroot. The user's directory is still there. How do I stop this?
It's a year later and I've had schroots and chroots come and go. I haven't done any X app out of a chroot recently so the questions I posted before still interest me.
Doesn't schroot take care of the directories?
Are the fstab entries a must?
What the simplest way to be able to execute xapps from a chroot?
(set up procedures)
* Install schroot
* make sure that /etc/schroot/schroot.conf entry has
run-exec-scripts=true
run-setup-scripts=true
How to do this without Xnest?
I've only managed this without using Xnest by mounting /tmp /dev /proc and the /home/user/.Xauthority.
The /etc/schroot/mount-defaults doesn't seem to do much for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.