Unless there are some firewalls involved it should work. Try uninstallinng X2Go on both client and server, example:

sudo apt-get -y remove --purge x2goserver x2goclient
sudo apt-get -y autoremove --purge
rm -rf ~/.nx/ ~/.x2go/ ~/.x2goclient/

Then install X2Go again and cross your fingers.

If it still doesn't work, try editing /usr/bin/x2gostartagent on the server and change SSH_PORT to 30500 and see if it changes anything.

I have the exact same setup (Wheezy client connecting to Squeeze server) and haven't had any similar problems.

Cheers,
Daniel


2012/11/23 Saint Germain <saintger@gmail.com>
Hello,

Yes I already tried that: that's why I am sure that nothing is using port 30001.

Thanks,

On 23 November 2012 00:34, Terje Andersen <teranders@gmail.com> wrote:
> Hi,
> You could try a:
> netstat -anp | grep 30001
>
> to see which process that is currently using the port.
>
> Regards,
> Terje
>
> On 2012 11 22 18:53, "Saint Germain" <saintger@gmail.com> wrote:
>>
>> On Thu, 22 Nov 2012 15:11:03 +0100, Mike Gabriel
>> <mike.gabriel@das-netzwerkteam.de> wrote :
>>
>> > Hi!
>> >
>> > On Do 22 Nov 2012 10:41:17 CET Saint Germain wrote:
>> >
>> > > Hello Daniel,
>> > >
>> > > No my setup is quite simple: I have only one server and one client
>> > > (and of course the server is on a different machine than the client)
>> > > The client only connect to the server and the server has only one
>> > > client. And I also got only one session.
>> > >
>> > > Thanks !
>> >
>> > On the server, please kill all x2goagent processes and check the all
>> > x2goruncommand processes vanish soon after you have killed all
>> > x2goagent instances.
>> >
>> > If there is no x2goagent instance running... Hmmm...
>> >
>> > Just in case: also restart sshd on the server.
>>
>> Hello,
>>
>> I have no x2goagent running on the server:
>> ps af | grep x2
>> 26924 pts/0    S      0:00 /usr/bin/perl /usr/sbin/x2gocleansessions
>>
>> I tried stopping x2goserver and sshd and restarting them: same errors.
>>
>> Is there any way I can have more meaningful messages to debug this ?
>> I don't understand why the port 30001 seems to be occupied. I have
>> nothing running behind that port.
>>
>> Thanks for your help !
>> _______________________________________________
>> X2Go-User mailing list
>> X2Go-User@lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/x2go-user
>
>
> _______________________________________________
> X2Go-User mailing list
> X2Go-User@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-user
_______________________________________________
X2Go-User mailing list
X2Go-User@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-user