1 |
Peter Humphrey wrote: |
2 |
> prh@gentoo32 ~ $ xterm |
3 |
> prh@wstn ~ $ xhost local:localhost |
4 |
> prh@wstn ~ $ l32 bash |
5 |
> prh@gentoo32 ~ $ sh /usr/local/src/install-crossover-standard-5.0.0.sh |
6 |
> prh@wstn ~ $ xhost local:localhost |
7 |
> prh@wstn ~ $ l32 bash |
8 |
> prh@gentoo32 ~ $ sh /usr/local/src/install-crossover-standard-5.0.0.sh |
9 |
|
10 |
first, I'm not sure what your prompt means ($PS1). did you create a |
11 |
different prompt for your 32-bit? Is that in the 32-bit handbook? |
12 |
|
13 |
> prh@wstn ~ $ xhost local:localhost && l32 |
14 |
> /usr/local/src/install-crossover-standard-5.0.0.sh |
15 |
> non-network local connections being added to access control list |
16 |
> /bin/bash: /usr/local/src/install-crossover-standard-5.0.0.sh: |
17 |
> Permission denied |
18 |
|
19 |
second, I think your install-crossover-standard-5.0.0.sh doesn't have |
20 |
the execute bit set (-rw-r--r-- when you do a ls -l). you should be able |
21 |
to still run it as "l32 sh install-crossover-..." (notice the "sh" at |
22 |
the beginning). To make it an executable script, you can do "chmod +x |
23 |
install-cross-...". However, that's not required. |
24 |
|
25 |
third, I'm concerned how your environment variables are dissappearing |
26 |
when you switch to the new environment. l32 doesn't touch your |
27 |
environment, and it should (theoretically) inherit the same environment |
28 |
as the parent that ran it. |
29 |
|
30 |
As a side note, you can force the DISPLAY variable to be set like so: |
31 |
|
32 |
$ export DISPLAY=:0 |
33 |
$ xterm |
34 |
|
35 |
I'd try the xterm test using the old method: |
36 |
|
37 |
[with sudo installed] |
38 |
$ sudo linux32 chroot /mnt/gentoo32 su - $USER -c xterm |
39 |
|
40 |
[without sudo install] |
41 |
$ su -c "linux32 chroot /mnt/gentoo32 su - $USER -c xterm" |
42 |
|
43 |
I'm thinking that there must be a difference between your /etc/profile, |
44 |
/etc/bash/bashrc, ~/.profile, and ~/.bashrc and mine and Mark's. |
45 |
|
46 |
Is anyone else having issues with the DISPLAY variable not carrying over |
47 |
from the 64-bit to the 32-bit environment? |
48 |
-- |
49 |
gentoo-amd64@g.o mailing list |