cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

chrisgregg
Journeyman III

Can't run OpenCL (or FindNumDevices) remotely (ssh) on Ubuntu 7.10

Hi there,

  I've been through the setup from http://developer.amd.com/gpu_assets/App_Note-Running_ATI_Stream_Apps_Remotely.pdf

in order to run OpenCL from an SSH session, and I have followed the instructions for RHEL except that I changed the file /etc/gdm/custom.conf.   I've also seen previous posts here about the issue.  The problem is that the following line doesn't seem to "take" when booting up Ubuntu:

command=/usr/bin/Xorg -br -ac -audit 0

When I do a "ps ax | grep X" I get the following:
 5731 tty7     Ss+    0:03 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-pasdtH/database -nolisten tcp
instead of 
 5731 tty7     Ss+    0:03 /usr/bin/Xorg -br -ac -audit 0
Does anyone know how I can force the correct command to run?  Thanks!
-Chris


0 Likes
3 Replies
nou
Exemplar

try add

DisallowTCP=false

into that configuration file.
0 Likes

Thanks for the tip.  That gave me something else to Google, and I was successful in amending the /etc/gdm/gdm.schemas to set DisallowTCP to false.  On the local machine, I also used

$ xhost +

and now everyone (probably in the world...) can connect and run OpenCL on the machine.  Cheers.

 

 

0 Likes

Update: it seems that the DisallowTCP=false wasn't needed after all, but the xhost+ was.

0 Likes