"pd: exiting" when starting up on RPi

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

"pd: exiting" when starting up on RPi

Postby jamesss » Sun May 26, 2013 3:08 pm

Hi,

I have installed Arch linux on my Raspberry Pi and am logging in with
$this->bbcode_second_pass_code('', 'ssh -Y raspberrypi.local')
I can run xterm fine over the connection but pd fails with no information other than:

$this->bbcode_second_pass_code('', '$ pd
priority 6 scheduling enabled.
priority 8 scheduling enabled.
watchdog: signaling pd...
pd: exiting
')
If I set the debug level to 5 I get the following information:

$this->bbcode_second_pass_code('', '$ pd -d 5
set pd_whichmidiapi 2
priority 6 scheduling enabled.
priority 8 scheduling enabled.
pdtk_watchdog
set ::tmp_path {}
set ::sys_searchpath $::tmp_path
set ::tmp_path {}
lappend ::tmp_path {/home/james/pd-externals}
lappend ::tmp_path {/usr/local/lib/pd-externals}
lappend ::tmp_path {/usr/lib/pd/extra}
set ::sys_staticpath $::tmp_path
set ::startup_flags {}
set ::startup_libraries {}
pdtk_pd_startup 0 43 4 {} { {OSS 2} {ALSA 1} {jack 5} } { {default-MIDI 2} {ALSA-MIDI 1} } {DejaVu Sans Mono} bold
set pd_whichmidiapi 2
pd: exiting')

Any ideas why pd can't run over the ssh connection? It runs fine with the -nogui option.

James
jamesss
 
Posts: 4
Joined: Fri May 24, 2013 12:00 pm

Re: "pd: exiting" when starting up on RPi

Postby moonman » Sun May 26, 2013 11:03 pm

You may have to "export DISPLAY=:0" before you run it and make sure you run it as the same user as logged on in GUI
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: "pd: exiting" when starting up on RPi

Postby jamesss » Tue May 28, 2013 12:25 pm

DISPLAY is currently set to:

$this->bbcode_second_pass_code('', '$ echo $DISPLAY
localhost:10.0')

This works fine for xterm and wish - they are forwarded to the local machine. I have a minimal arch install with no x server, but I don't see why pd shouldn't still run..?

I tried changing DISPLAY to :0 but that didn't work for xterm, wish or pd so I think this environment variable is set ok - it's maybe a pd/tcl/tk thing.. any ideas?
jamesss
 
Posts: 4
Joined: Fri May 24, 2013 12:00 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest