Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 03-01-2008, 01:38 PM   #1
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Rep: Reputation: 30
schroot x applications xauth vs. xnest adding users no binding

Five schroot questions:

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?
Old 02-22-2009, 11:26 PM   #2
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Original Poster
Rep: Reputation: 30
The state of the schroot

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

*xhost localhost
*Xnest :3
(in schroot) export DISPLAY=
*run app

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.

Last edited by donnied; 02-27-2009 at 11:00 PM.


schroot, setting

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding applications to main menu talkinggoat Linux - General 5 09-10-2007 04:52 PM
adding applications to /etc/init.d/rc.n dragunu Linux - Newbie 3 11-11-2006 12:35 PM
Q: Binding applications to a specific cpu Lazy Linux - Software 1 03-02-2006 08:42 AM
Adding new applications to "Applications" menu scng Fedora 1 07-03-2005 01:02 AM
Adding applications to 'K' in KDE nick_krym Linux - Newbie 2 04-05-2004 03:17 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration