Posted by amadeu on Tue 27 Nov 2007 at 15:06
# aptitude install schroot
[sid] description=Debian sid (unstable) type=directory location=/srv/chroot/sid priority=3 users=YOUR_USER groups=SOME_GROUP_LIKE_users root-groups=YOUR_ADMIN_USER run-setup-scripts=true run-exec-scripts=true
# debootstrap --arch i386 sid /srv/chroot/sid http://ftp.br.debian.org/debian
# schroot -c sid -p aptitude install wengophone
$ xhost + $ schroot -c sid -p wengophone
#!/bin/bash ## UPDATED after the comment #16 to reduce security risk ;-) # right way for export Xauthority file xauth extract /srv/chroot/sid$HOME/.Xauthority $DISPLAY # run your command schroot -c sid -p wengophone # remove the Xauthority rm -f /srv/chroot/sid$HOME/.Xauthority
# chmod +x /usr/local/bin/wengophone_wrapper
Fixed now, thanks. I didn't test all the steps myself on this one - I'll be more careful in the future.
[ Parent ]
xhost localhost
[ Parent ]
[ Parent ]
[ Parent ]
amadeu@sarang:~$ xhost access control enabled, only authorized clients can connect amadeu@sarang:~$ xhost localhost localhost being added to access control list amadeu@sarang:~$ schroot -c sid -p skype I: [sid chroot] Running command: "skype" Xlib: connection to ":0.0" refused by server Xlib: No protocol specified
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
Cheers
--
Dave
[ Parent ]