[Dorset] XDMCP connection problem

2015-09-07 Thread TimA

Hi

I connect to local machines (called fleet and golux) using XDMCP (using 
Xephyr on a laptop) but am just getting a black screen since upgrading 
my laptop to Debian Jessie.


Xephyr -query fleet :1
Xephyr -query golux :1

give black screen.

I can connect to the laptop XDMCP server fine:

Xephyr -query localhost :1

and

ssh -X fleet xeyes

works fine.

Using Xnest instead of Xephyr make no difference. This was working fine 
a few weeks back prior to the laptop upgrade.


No iptables rules.

Logging into fleet or golux from other machines also running Jessie is 
also fine so the XDMCP server on fleet/golux is OK.


Does anyone have any advice on debugging this.

Cheers

Tim


--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Using GitHub

2015-09-07 Thread Tim Waugh
On Mon, 2015-09-07 at 14:25 +0100, Terry Coles wrote:
> A visit to the web page at https://github.com/samaaron/sonic-pi/
> implies that I need to sign up to access the code, so how do I do 
> that from the command line?

No, you don't need to sign up.

On the right-hand side of that page, should see "You can clone with
HTTPS, SSH, or Subversion" below a box with a URI in it. It should
already be labelled "HTTPS clone URL", in which case that's the one you
want.

If not, click on the 'HTTPS' link below the box, and it will show you
the right one.

When you click in that box it will highlight the entire URL ready for
you to copy and paste.

Tim.
*/


signature.asc
Description: This is a digitally signed message part
--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Using GitHub

2015-09-07 Thread Victor Churchill
Hi Terry,
I'd also have thought that you would not want to be doing this with sudo -
just say 'git clone ...' from your regular account.
best of luck
victor


On 7 September 2015 at 17:29, Tim Waugh  wrote:

> On Mon, 2015-09-07 at 14:25 +0100, Terry Coles wrote:
> > A visit to the web page at https://github.com/samaaron/sonic-pi/
> > implies that I need to sign up to access the code, so how do I do
> > that from the command line?
>
> No, you don't need to sign up.
>
> On the right-hand side of that page, should see "You can clone with
> HTTPS, SSH, or Subversion" below a box with a URI in it. It should
> already be labelled "HTTPS clone URL", in which case that's the one you
> want.
>
> If not, click on the 'HTTPS' link below the box, and it will show you
> the right one.
>
> When you click in that box it will highlight the entire URL ready for
> you to copy and paste.
>
> Tim.
> */
>
> --
> Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
> Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
> Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR
>



-- 
best regards,
웃
Victor Churchill,
Bournemouth
--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

[Dorset] Using GitHub

2015-09-07 Thread Terry Coles
Hi,

I'm trying to install Sonic Pi on my Kubuntu box (it's installed by default on 
the Pi, 
but I thought it would be useful to have it running on my main machine).  There 
are 
binary packages for Windows, Mac and the Pi, but nothing for x86 / amd64 based 
Linux machines, so I thought I'd download the source and build it from scratch. 
 
Unfortunately, I've stumbled at the first hurdle; getting the code from GitHub.

A quick google threw up 
https://www.miskatonic.org/2015/01/17/setting-up-sonic-pi-on-ubuntu/[1] .

About two screenfulls down it says, (amongst other things) to run:
git clone g...@github.com:samaaron/sonic-pi.git

This gives me:

terry@Optiplex:/usr/local/src$ sudo git clone g...@github.com:samaaron/sonic-
pi.git
Cloning into 'sonic-pi'...
The authenticity of host 'github.com (192.30.252.129)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.129' (RSA) to the list of 
known 
hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

A visit to the web page at https://github.com/samaaron/sonic-pi/[2] 
implies that I need to sign up to access the code, so how do I do that from the 
command line?

(I appreciate that once I'm signed up I can do what I want on the web page, but 
I'd 
like to know how to do it through the console.)

(I have also spotted that I can download the whole thing as a zip file and this 
is 
currently ongoing, but I'd still like to know how to do it the console way.)

-- 

Terry Coles




[1] https://www.miskatonic.org/2015/01/17/setting-up-sonic-pi-on-ubuntu/
[2] https://github.com/samaaron/sonic-pi/
--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] XDMCP connection problem

2015-09-07 Thread TimA

Hi

Bit more info below:

On 07/09/15 10:32, TimA wrote:

Hi

I connect to local machines (called fleet and golux) using XDMCP (using
Xephyr on a laptop) but am just getting a black screen since upgrading
my laptop to Debian Jessie.

Xephyr -query fleet :1
Xephyr -query golux :1

give black screen.

I can connect to the laptop XDMCP server fine:

Xephyr -query localhost :1

and

ssh -X fleet xeyes

works fine.

Using Xnest instead of Xephyr make no difference. This was working fine
a few weeks back prior to the laptop upgrade.

No iptables rules.

Logging into fleet or golux from other machines also running Jessie is
also fine so the XDMCP server on fleet/golux is OK.

Does anyone have any advice on debugging this.


Something to do with wireless network connection:

Plugging in wired network cable, ifup eth0  and all works. Thereafter 
disconnecting cable, ifdown eth0 and retrying XDMCP over wireless again 
also works.


So some strange networking issue.


Cheers

Tim



--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Using GitHub

2015-09-07 Thread Terry Coles
On Monday 07 Sep 2015 17:34:29 Victor Churchill wrote:
> Hi Terry,
> I'd also have thought that you would not want to be doing this with sudo -
> just say 'git clone ...' from your regular account.

The reason I was using sudo is that the page that I referenced (and Sam 
Aaron's documentation) puts the code into /usr/src.

-- 

Terry Coles



--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


[Dorset] Cannot Run Sonic Pi as an Ordinary User

2015-09-07 Thread Terry Coles
Hi,

So I built the Sonic Pi code and it is installed and launched by running the 
following script in  /usr/src/sonic-pi-master/app/gui/qt/.

rp-app-bin:

#!/bin/bash

#--
# This file is part of Sonic Pi: http://sonic-pi.net
# Full project source: https://github.com/samaaron/sonic-pi
# License: https://github.com/samaaron/sonic-pi/blob/master/LICENSE.md
#
# Copyright 2013, 2014, 2015 by Sam Aaron (http://sam.aaron.name).
# All rights reserved.
#
# Permission is granted for use, copying, modification, and
# distribution of modified versions of this work as long as this
# notice is included.
#++

eval $(dbus-launch --auto-syntax)

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

$DIR/sonic-pi

If I launch it with sudo ./rp-app-bin it launches Sonic Pi and I get the 
ability to enter notes etc.  (It doesn't work yet, but I think that is to do 
with jack.  I'll worry about that later.)

If I launch the same script as myself, I get a dialog with:

Apologies, a critical error occurred during startup:

Ruby could not be started, is it installed and in your PATH?

Please consider reporting a bug at
http://github.com/samaaron/sonic-pi/issues

Clearly, ruby is installed, since it works when I sudo the script.  When I 
invoke env, I can see the directory containing ruby (/usr/bin/) listed.

There are also some details given in the dialog:

Detailed Error Report:

GUI log
---
[GUI] - shutting down any old audio servers...
[GUI] - using default editor colours
[GUI] - booting live coding server
[GUI] - booting live coding server
[GUI] - starting UDP OSC Server on port 4558...
[GUI] - UDP OSC Server ready and listening
[GUI] - waiting for server to connect...
[GUI] - server connection established
[GUI] - loading workspaces
[GUI] - saving workspaces
[GUI] - asking server process to exit...
[GUI] - server asked us to exit
[GUI] - exiting. Cheerio :-)

Server Errors
-
ERROR system:playback_1 not a valid port
ERROR system:playback_2 not a valid port
ignoring {:type=>:job, :jobid=>1, :action=>:start, 
:jobinfo=>{:workspace=>"Workspace 0"}}
ignoring {:type=>:job, :jobid=>1, :action=>:killed}
ignoring {:type=>:job, :jobid=>1, :action=>:completed, 
:jobinfo=>{:workspace=>"Workspace 0"}}
ignoring {:type=>:job, :jobid=>2, :action=>:start, 
:jobinfo=>{:workspace=>"Workspace 0"}}
ignoring {:type=>:job, :jobid=>2, :action=>:killed}
ignoring {:type=>:job, :jobid=>2, :action=>:completed, 
:jobinfo=>{:workspace=>"Workspace 0"}}

Server Output
-
Using protocol: udp
JackDriver: client name is 'SuperCollider'
SC_AudioDriver: sample rate = 16000.00, driver's block size = 1024
SuperCollider 3 server ready.
exception in GrafDef_Load: UGen 'MdaPiano' not installed.
while reading file '/usr/src/sonic-pi-master/etc/synthdefs/compiled/sonic-pi-
piano.scsyndef'
exception in GrafDef_Load: UGen 'Decimator' not installed.
while reading file '/usr/src/sonic-pi-master/etc/synthdefs/compiled/sonic-pi-
fx_bitcrusher.scsyndef'
late 0.197549483
late 0.044707808
late 0.108747585
late 0.103747470
FAILURE IN SERVER /n_free Node 84 not found
saving: workspace_zero.spi
saving: workspace_zero.spi
saving: workspace_zero.spi
saving: workspace_one.spi
saving: workspace_two.spi
saving: workspace_three.spi
saving: workspace_four.spi
saving: workspace_five.spi
saving: workspace_six.spi
saving: workspace_seven.spi
saving: workspace_eight.spi
saving: workspace_nine.spi


Any ideas?  MdaPiano and Decimator seem to be causing an issue, but I don't 
see why the ruby bit is being thrown up.

-- 

Terry Coles



--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Using GitHub

2015-09-07 Thread Terry Coles
On Monday 07 Sep 2015 17:29:42 Tim Waugh wrote:
> On Mon, 2015-09-07 at 14:25 +0100, Terry Coles wrote:
> > A visit to the web page at https://github.com/samaaron/sonic-pi/
> > implies that I need to sign up to access the code, so how do I do
> > that from the command line?
> 
> No, you don't need to sign up.
> 
> On the right-hand side of that page, should see "You can clone with
> HTTPS, SSH, or Subversion" below a box with a URI in it. It should
> already be labelled "HTTPS clone URL", in which case that's the one you
> want.
> 
> If not, click on the 'HTTPS' link below the box, and it will show you
> the right one.
> 
> When you click in that box it will highlight the entire URL ready for
> you to copy and paste.

Thanks Tim.  That'll teach me to believe everything I read on the internet :-)

-- 

Terry Coles



--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] XDMCP connection problem

2015-09-07 Thread Tim Allen

On 07/09/15 15:04, TimA wrote:

Hi

Bit more info below:

On 07/09/15 10:32, TimA wrote:

Hi

I connect to local machines (called fleet and golux) using XDMCP (using
Xephyr on a laptop) but am just getting a black screen since upgrading
my laptop to Debian Jessie.

Xephyr -query fleet :1
Xephyr -query golux :1

give black screen.

I can connect to the laptop XDMCP server fine:

Xephyr -query localhost :1

and

ssh -X fleet xeyes

works fine.

Using Xnest instead of Xephyr make no difference. This was working fine
a few weeks back prior to the laptop upgrade.

No iptables rules.

Logging into fleet or golux from other machines also running Jessie is
also fine so the XDMCP server on fleet/golux is OK.

Does anyone have any advice on debugging this.


Something to do with wireless network connection:

Plugging in wired network cable, ifup eth0  and all works. Thereafter
disconnecting cable, ifdown eth0 and retrying XDMCP over wireless again
also works.

So some strange networking issue.




Problem was eth0 was manually configured in /etc/network/interfaces, 
wlan0 was configured by network manager. Removing manual eth0 config 
(which previously worked in Wheezy) fixed the problem.


Tim


--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] XDMCP connection problem

2015-09-07 Thread Peter Merchant

On 07/09/15 19:52, Tim Allen wrote:

On 07/09/15 15:04, TimA wrote:

Hi

Bit more info below:

On 07/09/15 10:32, TimA wrote:

Hi

I connect to local machines (called fleet and golux) using XDMCP (using
Xephyr on a laptop) but am just getting a black screen since upgrading
my laptop to Debian Jessie.

Xephyr -query fleet :1
Xephyr -query golux :1

give black screen.

I can connect to the laptop XDMCP server fine:

Xephyr -query localhost :1

and

ssh -X fleet xeyes

works fine.

Using Xnest instead of Xephyr make no difference. This was working fine
a few weeks back prior to the laptop upgrade.

No iptables rules.

Logging into fleet or golux from other machines also running Jessie is
also fine so the XDMCP server on fleet/golux is OK.

Does anyone have any advice on debugging this.


Something to do with wireless network connection:

Plugging in wired network cable, ifup eth0  and all works. Thereafter
disconnecting cable, ifdown eth0 and retrying XDMCP over wireless again
also works.

So some strange networking issue.




Problem was eth0 was manually configured in /etc/network/interfaces, 
wlan0 was configured by network manager. Removing manual eth0 config 
(which previously worked in Wheezy) fixed the problem.


Tim

I have seen this before, where Eth0 has a priority over wireless 
connection, and you have to disable the wired connection for Wireless to 
connect.


The caveat to this is that it was always on NT4 or XP boxes, never with 
linux.


Peter

--
Next meeting:  Bournemouth, Tuesday, 2015-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR