Aniruddha wrote:
I have set up a schroot using this guide: http://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id292205 , but for some reason when I try to run a program I get the following error:~$ schroot -p nero W: Group ‘sbuild’ not found I: [sid chroot] Running command: “nero” (nero:456): Gtk-WARNING **: cannot open display: :0.0I have set up a succesfull schroot before, the only difference now is that I use sudo. "DISPLAY=:0" doesn't work either:(sid32)[EMAIL PROTECTED]:/# export DISPLAY=:0 (sid32)[EMAIL PROTECTED]:/# nero (nero:4231): Gtk-WARNING **: cannot open display: :0My schroot.conf[sid] description=Debian sid (unstable) location=/var/chroot/sid priority=3 users=rleigh,aniruddha groups=sbuild,aniruddha root-groups=root aliases=unstable,default
What does 'xhost' say when you run it as the "normal" user (before you do the schroot)?
You may need to do an 'xhost local:' to allow any local (only your host system logins) user to connect to the display. You will need the DISPLAY=:0.0 exported in the schroot environment, at least.
-- Bob McGowan
smime.p7s
Description: S/MIME Cryptographic Signature