LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   chroot archbang->CAElinux (http://www.linuxquestions.org/questions/linux-software-2/chroot-archbang-caelinux-888112/)

blacksky2 06-24-2011 09:47 AM

chroot archbang->CAElinux
 
greetings, the reason of the post is that recently i had a multi distro setup, comprising slackware, arch and LFS, recently ive been forced to change slackware with CAElinux, (due to space constrains on de hd, and time constrains on my carrer), but i used to make use of chroot, and xhost to use arch programs on slackware, but, when i try to do the same on arch to use CAElinux programs, it fails with a generic error "cannot connect to X server :0.0 || Gtk-WARNING **: cannot open display: :0.0"

this is the commant i used before (as root every thing is mount in /mnt/<distro-name>):
thanks in advance for the help
xhost local:localhost ;mount -v --bind /home /mnt/caelinux/home ;mount -v --bind /dev /mnt/caelinux/dev ; mount -vt devpts devpts /mnt/caelinux/dev/pts ; mount -vt tmpfs shm /mnt/caelinux/dev/shm ; mount -vt proc proc /mnt/caelinux/proc ; mount -vt sysfs sysfs /mnt/caelinux/sys ; cp -L /etc/resolv.conf /mnt/caelinux/etc/resolv.conf ; mount -t proc none /mnt/caelinux/proc ;chroot /mnt/caelinux/ /bin/bash

manzdagratiano 06-24-2011 10:44 PM

Maybe you should try:

Code:

$ startx -- :1
The following page might be useful to some extent, after the part where Slackware is set up:

http://slackworld.berlios.de/2007/chroot_howto.html

blacksky2 07-05-2011 11:40 PM

im thankfull for the help, but im not trying to run a separate xorg, im trying to run x aplications on the same x, and the command opens another session in arch,

blacksky2 07-13-2011 10:52 AM

ive recently also started using "Xnest -ac :10.0" an changin the display variable to DISPLAY=:10.0, but it only allows for an incomplete, window, that crashes a few seconds later


All times are GMT -5. The time now is 09:25 PM.