[SOLVED] Problems with setting up 32-bit chroot environment

Recently I've moved to Arch64 and decided to build chroot environment in order to have a working flashplugin, Java and some other applications without messing up system libraries of two different architectures. I've followed directly instrucions from the wiki, but unfortunately still can't make it work. I'm stuck with
Kod:
bash-3.2# /etc/rc.d/arch32 start
:: Starting Arch32 chroot [DONE]
bash-3.2# xhost +local:
No protocol specified
xhost: unable to open display ":0.0"
bash-3.2# chroot /opt/arch32
I've googled a lot, asked on Polish Arch Linux forum, but so far I wasn't able to find a working solution. Can someone more experienced give me a hand with this?
Last edited by Zibi1981 (2008-11-14 22:35:48)

I have a working 32 bits chroot on a 64 bits system. My /etc/rc.d/arch32:
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case $1 in
start)
stat_busy "Starting Arch32 chroot"
mount --bind /proc /opt/arch32/proc
mount --bind /proc/bus/usb /opt/arch32/proc/bus/usb
mount --bind /dev /opt/arch32/dev
mount --bind /dev/pts /opt/arch32/dev/pts
mount --bind /dev/shm /opt/arch32/dev/shm
mount --bind /sys /opt/arch32/sys
mount --bind /tmp /opt/arch32/tmp
mount --bind /home /opt/arch32/home
add_daemon arch32
stat_done
stop)
stat_busy "Stopping Arch32 chroot"
umount /opt/arch32/proc/bus/usb
umount /opt/arch32/proc
umount /opt/arch32/dev/pts
umount /opt/arch32/dev/shm
umount /opt/arch32/dev
umount /opt/arch32/sys
umount /opt/arch32/tmp
umount /opt/arch32/home
rm_daemon arch32
stat_done
restart)
$0 stop
sleep 1
$0 start
echo "usage: $0 {start|stop|restart}"
esac
exit 0
I have the arch32 daemon in my /etc/rc.conf and I run this when I want to use the chroot:
#!/bin/sh
/etc/rc.d/arch32 start
xhost +local:
chroot /opt/arch32 su -l username -c "linux32 zsh"
Is it similar to your setup?

Similar Messages

  • [solved] Wine with 3D under 32 Bit chroot - any how2 ?

    Hi fellow archers,
    I have set up a 32 Bit change root as discribed in the wiki here:
    http://wiki.archlinux.org/index.php/Ins … _in_Arch64
    The installation and configuration worked pretty straight forward. Unfortunately WINE doesn't find 3D acceleration. I installed Mesa inside the chroot but it lists softwaremode for the renderer when I do a glxinfo.
    Do I need to follow the ATI guide in the wiki and install some libs like this ?
    pacman -S libgl ati-dri
    Or do I need to completely build Mesa within the 32 bit chroot ?
    TIA,
    D$
    Last edited by Darksoul71 (2010-04-16 20:48:48)

    You're welcome If you don't have a wiki account, just register one and you should be able to edit the page you want. It's a wiki, after all.
    Darksoul71 wrote:
    BTW: A CDROM mounted inside the chroot seems to be accessed different from being mounted inside the native linux environment.
    At least Starcraft tells me that the original CD is not inserted although it is my original CD is inserted in the DVD drive. Under 64 Bit Ubuntu 9.04 works fine with WINE and the original CD.
    Do I have to change my mounting approach ?
    First of all: Do you use schroot and have your --bind mounts set up properly?
    The Arch Linux Wiki wrote:mount --bind /proc /opt/arch32/proc
            mount --bind /proc/bus/usb /opt/arch32/proc/bus/usb
            mount --bind /dev /opt/arch32/dev
            mount --bind /dev/pts /opt/arch32/dev/pts
            mount --bind /dev/shm /opt/arch32/dev/shm
            mount --bind /sys /opt/arch32/sys
            mount --bind /tmp /opt/arch32/tmp
            mount --bind /home /opt/arch32/home
    You can just add the path to your arch32 rc.d script (if you use that) or to mount-arch32 (if you use schroot), e.g.
    mount --bind /media/cd /opt/arch32/media/cd
    Anyways, CD checks are a weird matter with wine… I can't get Warcraft III to recognize the CD either, so I'd just cross my fingers

  • [SOLVED] Problems with setting default printer in Libreoffice

    Everytime I print in Libreoffice it complains about me not having set the default printer. Where do I do that in Libreoffice or is it refferring to my setup in cups? Also in systemsettings under KDE4 when I try to manage my printer and I try to set it as default I get the following error:
    Der opstod en fejl under CUPS-handlingen: "client-error-forbidden".
    EDIT: Fixed by setting default under cups administration.
    Last edited by fettouhi (2013-12-08 14:48:04)

    mahen wrote:
    bkadoctaj : this is actually exactly what I did as well. It works, although there is still a strange behaviour compared to under Ubuntu for instance :
    - The printer wasn't detected, I had to add it from the CUPS web interface
    - Libo complains about "no default printer" although I definitely set it as default in the aforementioned interface
    (I use cups-usblp and splix-svn due to my specific hardware)
    Hmm, weird... as far as I can tell LibO is using my CUPS-defined default printer as its default.  Thanks for the feedback - you made me glad that I wasn't posting something irrelevant lol.
    Possibly a stupid question but your user is a member of the lp group, right?  I don't have anything set for "Allowed Users" in CUPS but you could also try adding your user there.  Curious to hear of a solution if you find one.

  • Problems with setting up my ISP's mail server in Windows Live Mail and Thunderbird

    The laptop is a G60-535DX with Windows 7  64 bit. I've managed to setup my gmail account fine in Live Mail, but when setting  up my ISP' mail server, it doesn't work. I get the message that the information was entered correctly, and I see the 'connecting' at the bottom of the page, and then 'error', and clicking on it shows a socket error #10061. In Thunderbird, I get a timeout error message. I've entered all the incoming and outgoing server information correctly, (I've done this over 8-9 times now), the ports are the defaults(110,25), no SSL, no authentication. I've talked with my ISP several times. Just a couple of hours ago was the last time. Their only other possibilities were that Live Mail had problems with setting up more than one account, that Live Mail needed updating, that Windows 7 was a new operating system and there were 'kinks'. I removed the gmail account, set up the ISP's mail by itself; didn't help. I checked for Live Mail updates, but found out that they all come from Windows updates(which are current).  The folks on PCQ&A inform me that they have 3 or 4 accounts with Live Mail. I can get my mail, by logging onto my ISP's website, but that' kind of a nuisance. I posted this in Seven Forums and they didn't have any ideas. As I said, I also can't get my mail server to work in Thunderbird, either.  I don't know what else to try. (short of activating the recovery partition and starting from scratch). Any ideas would be more that welcome.
    Thanks,
    Steve

    Stevehiker wrote:
    Nevermind, it's fixed. One of the guys on PCQ&A suggested going to my ISP's website to see if they had a support page. They did and it stated that under certain circumstances that for the login ID the whole email address should be entered. For XP and Outlook Express one only uses the first part of the email address (your name); so just for grins I entered the whole address, name and all and everyting worked. Called my ISP and was told that that wasn't the way it's supposed to work. Well----
    Thanks anyway,
    Steve
    Mine works the same way_must enter full email address as login. AT&T?
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Problem with SET GET parameters

    Hi all,
    I am facing a problem using SET and GET parameters.
    There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.
    Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using
    SET PARAMETER ID 'QLS' FIELD lv_prueflos.
    Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).
    Example: Inspection Lots : 4100000234
                                               4100000235
                                              4100000236
    Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.
    Could you pls help me in solving this issue.
    Thanks,
    Aravind

    Hi,
    Problem with SET GET parameters
    Regarding on your query. Follow this below link.
    It will help you.
    Re: Problem with Set parameter ID
    Re: Problem in Set parameter ID
    I Hope it will helps to you.
    Regards,
    Sekhar

  • Problem with Set/Get volume of input device with single channel

    from Symadept <[email protected]>
    to Cocoa Developers <[email protected]>,
    coreaudio-api <[email protected]>
    date Thu, Dec 10, 2009 at 2:45 PM
    subject Problem with Set/Get volume of input device with single channel
    mailed-by gmail.com
    hide details 2:45 PM (2 hours ago)
    Hi,
    I am trying to Set/Get Volume level of Input device which has only single channel but no master channel, then it fails to retrieve the kAudioDevicePropertyPreferredChannelsForStereo and intermittently kAudioDevicePropertyVolumeScalar for each channel. But this works well for Output device.
    So is there any difference in setting/getting the volume of input channels?
    I am pasting the downloadable link to sample.
    http://www.4shared.com/file/169494513/f53ed27/VolumeManagerTest.html
    Thanks in advance.
    Regards
    Mustafa
    Tags: MacOSX, CoreAudio, Objective C.

    That works but the the game will not be in full screen, it will have an empty strip at the bottom.
    I actually found out what's the problem. I traced the stageWidth and stageHeight during resizing event. I found out that when it first resized, the stage width and height were the size with the notification bar. So when I pass the stage into startling, myStarling = new Starling(Game,stage), the stage is in the wrong size. For some reason, I can only get the correct stage width and height after the third resizing event.
    So now I need to restart Starling everytime a resizing event happened. It gives me the right result but I am not sure it is a good idea to do that.
    And thanks a lot for your time kglad~I really appriciate your help.

  • Button in Bex Analyser 7.0 - problem with setting up Static Parameters

    Hello,
    I know a similar problem has been discussed here already, but I am still having problems with setting up Static Parameters of my Button in BEx Analyser 7.0, so that I can pass Variable values from that button to my query.
    This is what I do - in Static Parameters of my Button I set the following values:
    Name                          Index          Value
    DATA_PROVIDER        0               DP_1
    CMD                             0               PROCESS_VARIABLES
    SUBCMD                      0               VAR_SUBMIT
    VAR_NAME                 0               0RMA_FIP
    VAR_VALUE               0               004/2010
    As a result, I would like the value 004/2010 to be passed to variable 0RMA_FIP (which is mandatory) and the query to be executed with that value. For some reason, however, the value is not passed correctly, and instead the variable is filled with a blank or not filled at all, and I am getting a message "Specifiy value for variable Fiscal year/period". What do I do wrong?
    Just to give you a broader picture - I would like to later use this logic to pass more than one variables into a query, including a hierarchy node, and read the values from an Excel worksheet - however, after many attempts to do so, I started playing with just one variable to figure out what the problem was.
    I have already seen the following two threads and SAP notes on passing variable values from the button:
    Re: Button in BEx Analyzer 7.0
    Re: How to set variables values via VBA.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be?quicklink=index&overridelayout=true
    Can anyone please advise?
    Cheers,
    AL

    I managed to figure it out myself!
    Instead of VAR_VALUE I need to enter VAR_VALUE_EXT, and it works fine.
    I will mark this thread as "answered".

  • Problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition

    Hello all,
    I have a problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition (32 bit).
    I have successfully installed it immediately after OS installation. But today, i have decided to deinstall it and go for Oracle 10g version for 32 bit.
    Everything went normal during installation, but i can see the services is not present in services.msc. Also its throwing some exception for dbca, netca
    Now i tried to deinstall it and again go for 11g. But even the same story here..
    Can anybody give me a solution for this..
    -Regards
    Rajesh Menon

    Saqib Alam wrote:
    i recently install Oracle 11g R1 on windows 7 ultimate, i installed it and working perfectly.
    ur problem is that u install latest version and now u trying to installing old version.
    now u need to uninstall 10g and delete oracle from services, if the probleme presist then u should
    install fresh windows 7.
    Regards
    SaqibNo need to install a fresh OS. That's like tearing your house down just because you wired a lamp wrong and blew a circuit breaker.
    There are MeaLink notes on how to eradicate an Oracle install from Windows, but it boils down to this:
    Stop all Oracle services
    In the registery:
    - Delete all oracle services from the register (HKLM\SYSTEM\CurrentControlSet
    - Delete the entire Oralce folder from HKLM\Software
    reboot
    Delete the ORACLE_HOME directory and any other Oracle related directories/files. Offhand, it seems like there is an Oracle directory under Program Files.
    reboot

  • Problem with setting Source Level in Sun Studio 2

    I've got problem with setting Source Level to 1.5 in Sun Studio 2. When I try to set it to 1.5 in Project properties and click Ok everything seem to go well, but when I open Project Properties again Source Level is set to 1.4. I need this to work cause I started to lear Java recently and I want to use foreach loop.
    Please help

    I'm just citing an example using Date().
    In fact, whether I use DateFormat or Calendar, it shows the same result.
    When I set the date to 1 Jan 1950 0 hours 0 minutes 0 seconds,
    jdk1.4.2 will always return me 1 Jan 1950 0 hours 10 minutes 0 seconds.
    It works correctly under jdk1.3.1

  • Obiee 11g . problem with set default as columnname in interaction tab

    Hi Obiee gurus ,
    I have small problem with set default option in interaction tab in column properties. actually my problem is , i changed one column bold save as set default option bold and how to revert back to my column option. when i create new analysis with same name . it takes set default option for that column.
    can Please give some suggestion for this problem.
    regards
    Srinivas

    Hi Srinivas,
    i guess this will be same for 11G
    Refer
    http://blogs.oracle.com/siebelessentials//2008/08/remove_systemwide_default_sett.html
    thanks,
    Saichand.v

  • Problem with setting Item level permissions lists

    Hello!
    I have SPS 2013 on-premised environment with AD authentication.
    At some moment I've noticed that we have a problem with setting the item level permissions on any lists except the document libraries.
    When I click the "shared with" button I see a popup form with a list of users who have an access to that list but there is no "invite people" link or "Advanced" link. Moreover, the "loading" ring rotates
    instanly like some operation was'nt ended. 
    The same operation with documents in libraries works well.
    I am be grateful for any help!

    Hi Mischael,
    From your description, my understanding is that there were no "invite people" or "Advanced" link when some users clicked "shared with" button in some lists.
    This issue seems like about permissions. Please log on your site with site collection administrator or a user who has full control for the site, then go to a problematic list->List settings->Permissions for this list, check whether the list
    has unique permissions. Then click "Check Permissions", check the permission level for the problematic users and then go to Site Settings->Site permissions->Permission levels, check whether the permission level contains "Manage permissions".
    If not, add the permission into the permission level.
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I just bought an AirPort Extreme system over this weekend and I am having problem with setting it up. I plugged the cable as explained in the manual but there is no way I can get a steady green light. I all see is flashing amber light. Can anyone help me,

    I just bought an AirPort Extreme system over this weekend and I am having problem with setting it up. I plugged the cable as explained in the manual but there is no way I can get a steady green light. I all see is flashing amber light. Can anyone help me,

    Think you need to provide some more details about what you are connecting

  • IPhone 3GS SYnc problems with Windows 7 64 Bit

    I am having sync problems with windows 7 64 Bit.
    The iPhone syncs a few tracks then hangs, a few minutes later itunes tells me the iphone has timed out.
    Anyone have any ideas about this. I have tried different USB ports, cleaned the apple USB cable contacts with Servisol, restored the iPhone and reinstalled itunes.
    iPhone and iTunes are latest versions.
    Thanks
    Joe

    "Try this connect the iPhone, let the mtp driver installation fail, then go into the device manager and uninstall the unknown mtp device. If you then scan for new hardware from the device manager it should recognize the iPhone & update the driver."
    Ok here's what I did:
    1) Connect the iPhone (iTunes had been installed)
    2) No MTP driver installation is happening as Windows detects iPhone successfully
    3) Open Device Manager
    4) There seems to be 2 drivers for iPhone that are active now, although I still can't see which one is the MPT driver you're referring to.
    One of them sits under Portable Devices: "Apple iPhone". If I view the details of this driver, it lists the following files:
    - C:\Windows\system32\DRIVERS\UMDF\WpdMtpDr.dll
    - C:\Windows\system32\DRIVERS\winusb.sys
    - C:\Windows\system32\DRIVERS\WUDFRd.sys
    - C:\Windows\system32\WpdMtp.dll
    - C:\Windows\system32\WpdMtpUS.dll
    The other one sits under Universal Serial Bus controllers: "Apple Mobile Device USB Driver". And as indicated by Joe above, it lists the following files when I view the Details:
    - C:\Windows\system32\Drivers\usbaapl64.sys
    - C:\Windows\system32\usbaaplrc.dll

  • [Solved] Problem with network

    Oi,
    I have a problem with setting up my network configuration, when I run /etc/rc.d/network start I get the following SIOCADDRT: Network is unreachable. I have a Realteck RTC 8168/8111 and load the following modules: 8139too, 8139cp and r8169.
    /etc/rc.conf
    lo="lo 127.0.0.1"
    eth0="dhcp"
    INTERFACES=(lo eth0)
    ROUTES=(!gateway)
    ifconfig
    lo
    Link encap: Local Loopback
    inet addr: 127.0.0.1 Mask:225.0.0.0
    enz..
    ifconfig eth0
    Link encap:UNSPEC HWaddr 00-DC-10-00-F4-B3-EC-00-00-00-00-00-00-00-00-00
    BROADCAST MULTICAST MTU:1500 Metric:1
    enz...
    When I make an extra divice eth1. ifconfig eth1
    eth1: error fetching interface information: Decice not found
    I have a Fireware port on my computer. I blocked eth1394, ohci1394 and ieee1394 from loading. Now when i run ifconfig eth0 I get:
    eth0: error fetching interface information: Decice not found
    It looks like there is something strange with the fireware port and eth0, can someone help me?
    <_abe>

    It seems to me that this is a driver problem.
    Just to get out of doubts do this:
    1. type ifconfig eth0 192.168.1.30
    2. type route add default gw 192.168.1.1, eth0
    3. echo "nameserver xx.xxx.xxx.xxx" > /etc/resolv.conf
    IMPORTNAT: The above assumes you are using a LAN with a private address of 192.168.1.x
    You should adjust these numbers accordingly based on your LAN settings.
    In step 3 the nameserver is the address of one of your nameservers.
    This will set up your card with a static address. If this works then dhcp is not working on your network.
    Also if this works ifconfig will give you a totally different response than what you currently get.
    Finally step 2 is the green address of your router, so you can connect to the internet.
    Hope this helps.
    R

  • When Apple solve problems with new iTunes calendar sync with windows and outlook?

    When Apple solve problems with new iTunes calendar sync with windows and outlook?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    More Info here...
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622
    If necessary...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for