Thomas Steffen wrote:
> Just a guess, but it may be that dchroot does not create a terminal by
> default. So try dchroot -c ia32 sh first, and then start glxgears from
> the shell. You can also check the variable $DISPLAY that way.

$ dchroot -c ia32 sh
(ia32) sh
Must be connected to a terminal.
dchroot: Child exited non-zero.
dchroot: Operation failed.

There is no program that starts with dchroot as user. As root all
programs run with dchroot.


As user I have the possibility to dchroot with preserving environment or
without but both produce an error:

$ dchroot -c ia32 ls
(ia32) ls
Must be connected to a terminal.
dchroot: Child exited non-zero.
dchroot: Operation failed.

[EMAIL PROTECTED]:~$ dchroot -c ia32 -d ls
(ia32) ls
No shell
dchroot: Child exited non-zero.
dchroot: Operation failed.


But as I have said before I can chroot as root, then switch user in the
chroot environment and then all programs run too.

So what's the problem with dchroot?

Regards,
Alex


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to