Re: [LAU] Problem connecting to LinuxSampler

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Julien Claassen <julien@...>, Ken Restivo <ken@...>
Cc: linux-audio-user <linux-audio-user@...>
Date: Sunday, June 19, 2011 - 10:05 am

On Sun, 19 Jun 2011 09:46:08 +0200 (CEST), Julien Claassen wrote

So the problematic system's kernel is _not_ custom build?
What does:

grep -i PTY /boot/config-`uname -r`

print? (Here we're just checking the kernel's support for pseudo
terminals as well as the support for legacy pseudo terminals).

> and in the very

But that's the way devices are handled in "recent" kernels. And not
a bad way, if I might add ...
So, for debugging purposes, can you do:
ssh localhost
on the problematic system. Iff you theoy is correct, this should
not work.
Can you compile and run the following small C program (compile it with:
gcc tty-tester.c -o tty-tester -lutil )

----X file: tty-tester.c X-------------------------------------------

/* Compile with
gcc tty-tester.c -o tty-tester -lutil
*/
#include
#include
#include
#include

int main (int argc, char** argvs) {
int res;
int master, slave;
char termname[256];
struct termios termp;
struct winsize winp;

res = openpty(&master, &slave, termname, &termp, &winp);

if (res) {
printf("Could not open pseudo terminal\n");
perror("tty-tester");
return res;
}
printf("Got terminal at %s\n", termname);
while(1) {sleep(1);}
return(0);
}

-------X end file: tty-tester.c X---------------------------------

Just run it and see if we get some more meaningfull error message.

HTH Ralf Mattes

--
R. Mattes -
Hochschule fuer Musik Freiburg
rm@inm.mh-freiburg.de
b
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sat Jun 18, 3:48 pm)
Re: [LAU] Problem connecting to LinuxSampler, Ken Restivo, (Sun Jun 19, 3:39 am)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 7:45 am)
Re: [LAU] Problem connecting to LinuxSampler, R. Mattes, (Sun Jun 19, 10:05 am)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 10:21 am)
Re: [LAU] Problem connecting to LinuxSampler, R. Mattes, (Sun Jun 19, 11:53 am)
Re: [LAU] Problem connecting to LinuxSampler, hermann, (Sun Jun 19, 10:46 am)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 10:50 am)
Re: [LAU] Problem connecting to LinuxSampler, hermann, (Sun Jun 19, 11:07 am)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 11:19 am)
Re: [LAU] Problem connecting to LinuxSampler, R. Mattes, (Sun Jun 19, 11:50 am)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 12:05 pm)
Re: [LAU] Problem connecting to LinuxSampler, Emanuel Rumpf, (Sun Jun 19, 12:50 pm)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 3:12 pm)
Re: [LAU] Problem connecting to LinuxSampler, Emanuel Rumpf, (Sun Jun 19, 8:21 pm)
Re: [LAU] Problem connecting to LinuxSampler, Emanuel Rumpf, (Sun Jun 19, 8:35 pm)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 9:03 pm)
Re: [LAU] Problem connecting to LinuxSampler, Ken Restivo, (Mon Jun 20, 7:33 am)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 3:17 pm)
Re: [LAU] Problem connecting to LinuxSampler, R. Mattes, (Sun Jun 19, 3:44 pm)
Re: [LAU] Problem connecting to LinuxSampler, R. Mattes, (Sun Jun 19, 12:17 pm)
Re: [LAU] Problem connecting to LinuxSampler, Fons Adriaensen, (Sun Jun 19, 9:31 am)
Re: [LAU] Problem connecting to LinuxSampler, Julien Claassen, (Sun Jun 19, 9:57 am)