|03-27-2007, 05:28 PM||#1|
Join Date: Jan 2007
Scratchbox and app testing
Whenever I try to run an app in scratchbox (ie. DISPLAY=:0 ./xpyraminx/xpyraminx) I get the message:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Is there an X11 config setting that would disallow connections to the X server?
|03-27-2007, 05:55 PM||#2|
Addicted to Porting
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
How are you running scratchbox? Is it inside a virtual machine, or in a regular desktop linux install (Ubuntu?)?
By default, most linux distros don't allow remote X connections. You'll have to enable it in your display manager. For Ubuntu using GDM, edit /etc/gdm/gdm.conf. Change DisallowTCP=true to DisallowTCP=false. Then you'll need to restart you X session (Ctrl + Alt + Backspace or full restart). Then, you'll need to allow remote connections. You can allow all remote connections by entering "xhost +" in the command line, or "xhost + ipaddress" for a specific host.
If you're still having problems connecting to your xsession, make sure the port is open. Install nmap "sudo apt-get install nmap", and then test your computer "nmap -v -A localhost". If everything is setup correctly, you should see: "Discovered open port 6000/tcp on 127.0.0.1".
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|iLiad Scratchbox VNC Server Usage||BTolputt||iRex Developer's Corner||2||02-02-2009 02:57 AM|
|iLiad colinux + scratchbox ?||ericshliao||iRex Developer's Corner||2||01-28-2009 10:18 AM|
|iLiad Integration of ScratchBox and iRex Official SDK||ericshliao||iRex Developer's Corner||3||10-09-2008 04:51 PM|
|iLiad Howto create a crosscompiler for iliad27 using softfloat, with scratchbox integration||Antartica||iRex Developer's Corner||7||10-26-2006 10:16 AM|
|iLiad Using scratchbox with iliad binaries||Antartica||iRex Developer's Corner||9||07-24-2006 08:40 AM|