Re: dchroot -d doesn't work
Marcin De;bicki wrote: I am trying to run firefox under chroot dchroot -d firefox (ia32) firefox Xlib: connection to :0.0 refused by server Xlib: No protocol specified (firefox-bin:21500): Gtk-WARNING **: cannot open display: dchroot: Child exited non-zero. dchroot: Operation failed. Any ideas what is wrong? Check if you have /proc /dev /home bound into the chroot enviroment. Max -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dchroot -d doesn't work
Marcin Dbicki wrote: Leopold Palomo Avellaneda kiedys napisal: are you running X and dchroot as the same user? are the chroot enviroment working? have you copied your shadow, passwd, group from 64 to 32 env? .. Regards, Leo A Dimarts 14 Juny 2005 17:58, Marcin Dbicki va escriure: I am trying to run firefox under chroot dchroot -d firefox (ia32) firefox Xlib: connection to :0.0 refused by server Xlib: No protocol specified (firefox-bin:21500): Gtk-WARNING **: cannot open display: dchroot: Child exited non-zero. dchroot: Operation failed. Any ideas what is wrong? -- Registered Linux User 369908 [EMAIL PROTECTED] Yes it is already done. I've run xhost localhost but it didn't help. Looks like DISPLAY is set to :0.0. In this case X client will probably try to connect to unix socket (which is prbably not there). Try export DISPLAY=127.0.0.1:0 in combination with xhost +127.0.0.1 I have deleted all my previous 64 bit firefox settings but it didn't work. I've tried to run it as root in chroot and it worked so I've just copied settings generated for root and chown to my user. Now it works. I still don't know what it was but it doesn't matter I think. Thanks for answer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dchroot -d doesn't work
Ilya Sher wrote: Looks like DISPLAY is set to :0.0. In this case X client will probably try to connect to unix socket (which is prbably not there). Try export DISPLAY=127.0.0.1:0 in combination with xhost +127.0.0.1 This is silly when you can just bind mount /tmp and /home and get the Unix socket. Adam -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 5/25/2005 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dchroot -d doesn't work
are you running X and dchroot as the same user? are the chroot enviroment working? have you copied your shadow, passwd, group from 64 to 32 env? .. Regards, Leo A Dimarts 14 Juny 2005 17:58, Marcin Dbicki va escriure: I am trying to run firefox under chroot dchroot -d firefox (ia32) firefox Xlib: connection to :0.0 refused by server Xlib: No protocol specified (firefox-bin:21500): Gtk-WARNING **: cannot open display: dchroot: Child exited non-zero. dchroot: Operation failed. Any ideas what is wrong? -- Registered Linux User 369908 [EMAIL PROTECTED] -- Linux User 152692 Catalonia pgpW4TmyRz2jT.pgp Description: PGP signature
Re: dchroot -d doesn't work
Yes I do run the dchroot programs as myself. I only added my and other users information into the chroot passwd, shadow and group files. Perhaps it is OK to copy these files between the systems but I don't know if all the other groups of the system are the same between 32 and 64 bits. Hope it helps /Gudjon are you running X and dchroot as the same user? are the chroot enviroment working? have you copied your shadow, passwd, group from 64 to 32 env? .. Regards, Leo A Dimarts 14 Juny 2005 17:58, Marcin Dębicki va escriure: I am trying to run firefox under chroot dchroot -d firefox (ia32) firefox Xlib: connection to :0.0 refused by server Xlib: No protocol specified (firefox-bin:21500): Gtk-WARNING **: cannot open display: dchroot: Child exited non-zero. dchroot: Operation failed. Any ideas what is wrong? -- Registered Linux User 369908 [EMAIL PROTECTED] -- Linux User 152692 Catalonia -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: dchroot -d doesn't work
I had this problem recently with one of the users on the system. Found later that i didn't have a recent copy of /etc/shadow /etc/passwd and /etc/group in my chroot. The user didn't exist in the chroot so I was getting the same error as the one you specify. Try copying those files over. Hope this helps. Takis -Original Message- From: Marcin Debicki [mailto:[EMAIL PROTECTED] Sent: Wednesday, 15 June 2005 6:35 AM To: debian-x86-64@lists.debian.org Subject: Re: dchroot -d doesn't work Leopold Palomo Avellaneda kiedys napisal: are you running X and dchroot as the same user? are the chroot enviroment working? have you copied your shadow, passwd, group from 64 to 32 env? .. Regards, Leo A Dimarts 14 Juny 2005 17:58, Marcin Dbicki va escriure: I am trying to run firefox under chroot dchroot -d firefox (ia32) firefox Xlib: connection to :0.0 refused by server Xlib: No protocol specified (firefox-bin:21500): Gtk-WARNING **: cannot open display: dchroot: Child exited non-zero. dchroot: Operation failed. Any ideas what is wrong? -- Registered Linux User 369908 [EMAIL PROTECTED] Yes it is already done. I've run xhost localhost but it didn't help. I have deleted all my previous 64 bit firefox settings but it didn't work. I've tried to run it as root in chroot and it worked so I've just copied settings generated for root and chown to my user. Now it works. I still don't know what it was but it doesn't matter I think. Thanks for answer -- Registered Linux User 369908 [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dchroot -d doesn't work
On Wed, Jun 15, 2005 at 10:27:33AM +1000, Takis Diakoumis wrote: I had this problem recently with one of the users on the system. Found later that i didn't have a recent copy of /etc/shadow /etc/passwd and /etc/group in my chroot. The user didn't exist in the chroot so I was getting the same error as the one you specify. Try copying those files over. Personally I just hardlink them, so they are always the same. Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]