Actually it depends on gnome-session | kdebase-workspace-bin | ksmserver | xfce4-session | freenx-rdp | freenx-vnc.<br>So for gnome you need gnome-session.<br>Did you had gnome-session installed?<br><br>Regards.<br><br><div class="gmail_quote">
On Wed, Feb 25, 2009 at 7:39 PM, Alfred Rapozo <span dir="ltr"><<a href="mailto:alfred.rapozo@gmail.com">alfred.rapozo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Solved installing the package gnome on the server, shamefully, that<br>
package comes with a lot of programs i don't want and have to remove<br>
afterward.<br>
<div><div></div><div class="Wj3C7c"><br>
On Wed, Feb 25, 2009 at 8:50 AM, Alfred Rapozo <<a href="mailto:alfred.rapozo@gmail.com">alfred.rapozo@gmail.com</a>> wrote:<br>
> I did some testing on both my virtual lab and my real machine.<br>
> In both machines i couldn't start a local gnome-session since I don't<br>
> have an xserver installed. But on the client when I connect to my lab<br>
> machine I can remotely create a session, in the real one i cant.<br>
> How can I track what programs is freenx running on my lab machine and<br>
> my real one to see what's causing this problem?<br>
><br>
><br>
> On Tue, Feb 24, 2009 at 6:39 PM, Freerk Kalsbeek<br>
> <<a href="mailto:f.kalsbeek@mindswitch.nl">f.kalsbeek@mindswitch.nl</a>> wrote:<br>
>> Usuably this kind of terminates happen if you try to start a session that<br>
>> does not exist on the server, eg starting a gnome-session on a server where<br>
>> gnome-desktop is not installed.<br>
>><br>
>> In your log it states that it cannot find /usr/lib/python2.5/os.py.<br>
>> On ubuntu that's part of python-minimal.<br>
>><br>
>> 1st. Make sure you can start a gnome session on the server. (Does<br>
>> /usr/bin/gnome-session exist?)<br>
>> 2nd. Try installing python-minimal and see what happens<br>
>><br>
>> Regards,<br>
>><br>
>> Freerk<br>
>><br>
>> On Tue, Feb 24, 2009 at 7:54 PM, Alfred Rapozo <<a href="mailto:alfred.rapozo@gmail.com">alfred.rapozo@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Just adding the output of the session file.<br>
>>><br>
>>> Info: Agent running with pid '4851'.<br>
>>> Session: Starting session at 'Mon Feb 23 09:50:46 2009'.<br>
>>> Info: Proxy running in server mode with pid '4851'.<br>
>>> Info: Waiting for connection from '127.0.0.1' on port '5001'.<br>
>>> Info: Accepted connection from '127.0.0.1'.<br>
>>> Info: Connection with remote proxy completed.<br>
>>> Info: Using WAN link parameters 768/24/1/0.<br>
>>> Info: Using agent parameters 5000/5/50/0/0.<br>
>>> Info: Using cache parameters 4/4096KB/65536KB/65536KB.<br>
>>> Info: Using pack method 'adaptive-9' with session 'gnome'.<br>
>>> Info: Using product 'LFE/None/LFEN/None'.<br>
>>> Info: Using ZLIB data compression 1/1/32.<br>
>>> Info: Using ZLIB stream compression 1/1.<br>
>>> Info: No suitable cache file found.<br>
>>> Info: Listening to X11 connections on display ':1001'.<br>
>>> Info: Established X client connection.<br>
>>> Info: Using shared memory parameters 1/1/0/0K.<br>
>>> Info: Using alpha channel in render extension.<br>
>>> Info: Using local device configuration changes.<br>
>>> Failed to create the keyboard file<br>
>>> Session: Session started at 'Mon Feb 23 09:50:48 2009'.<br>
>>> Session: Terminating session at 'Mon Feb 23 09:50:48 2009'.<br>
>>> Info: Watchdog running with pid '4886'.<br>
>>> Info: Waiting the watchdog process to complete.<br>
>>> 2.5/os.py", line 354, in execvp<br>
>>>    _execvpe(file, args)<br>
>>>  File "/usr/lib/python2.5/os.py", line 378, in _execvpe<br>
>>>    func(file, *argrest)<br>
>>> OSError: [Errno 2] No such file or directory<br>
>>><br>
>>> On Tue, Feb 24, 2009 at 2:14 PM, Alfred Rapozo <<a href="mailto:alfred.rapozo@gmail.com">alfred.rapozo@gmail.com</a>><br>
>>> wrote:<br>
>>> > Im using ubuntu 8.10 and followed the simple howto at the page:<br>
>>> ><br>
>>> > <a href="https://help.ubuntu.com/community/FreeNX" target="_blank">https://help.ubuntu.com/community/FreeNX</a><br>
>>> ><br>
>>> > Everything works good on my lab environment, but when I did it on the<br>
>>> > server that's supposed to be for production the weirdest thing<br>
>>> > happens. I'm using nomachine client from windows and If I connect to<br>
>>> > the gnome session, it authenticates me and opens the window but it<br>
>>> > closes it automatically. But if i set it to run a specific program,<br>
>>> > like firefox, it works perfectly.<br>
>>> ><br>
>>> > This is the relevant portion of the nxserver.log file:<br>
>>> ><br>
>>> > NX> 1009 Session status: starting<br>
>>> > nxnode_reader: NX> 710 Session status: running<br>
>>> > nxnode_reader: NX> 1002 Commit<br>
>>> > nxnode_reader: NX> 1006 Session status: running<br>
>>> > server_nxnode_echo: NX> 710 Session status: running<br>
>>> > server_nxnode_echo: NX> 1002 Commit<br>
>>> > session_status D05BF952C728B84036665F60847899C8 Running<br>
>>> > NX> 105 NX> 710 Session status: running<br>
>>> > NX> 1002 Commit<br>
>>> > NX> 1006 Session status: running<br>
>>> > server_nxnode_echo: NX> 1006 Session status: running<br>
>>> > bye<br>
>>> > Bye<br>
>>> > NX> 999 Bye<br>
>>> > nxnode_reader: NX> 1009 Session status: terminating<br>
>>> > NX> 1009 Session status: terminating<br>
>>> > session_status D05BF952C728B84036665F60847899C8 Terminating<br>
>>> > server_nxnode_echo: NX> 1009 Session status: terminating<br>
>>> > Info: Closing connection to slave with pid 988.<br>
>>> > nxnode_reader: 1001 Bye.<br>
>>> > 1001 Bye.<br>
>>> > nxnode_reader: NX> 1006 Session status: closed<br>
>>> > NX> 1006 Session status: closed<br>
>>> > session_close D05BF952C728B84036665F60847899C8<br>
>>> > server_nxnode_echo: NX> 1006 Session status: closed<br>
>>> > nxnode_reader: NX> 1001 Bye.<br>
>>> > NX> 1001 Bye.<br>
>>> > server_nxnode_echo: NX> 1001 Bye.<br>
>>> > Info: Closing connection to slave with pid 988.<br>
>>> ><br>
>>> > This is the output of the nomachine client when it closes:<br>
>>> ><br>
>>> > Info: Display running with pid '5164' and handler '0x1206b0'.<br>
>>> ><br>
>>> > NXPROXY - Version 3.3.0<br>
>>> ><br>
>>> > Copyright (C) 2001, 2007 NoMachine.<br>
>>> > See <a href="http://www.nomachine.com/" target="_blank">http://www.nomachine.com/</a> for more information.<br>
>>> ><br>
>>> > Info: Proxy running in client mode with pid '5040'.<br>
>>> > Session: Starting session at 'Tue Feb 24 14:19:30 2009'.<br>
>>> > Info: Connection with remote proxy completed.<br>
>>> > Info: Using WAN link parameters 768/24/1/0.<br>
>>> > Info: Using cache parameters 4/4096KB/65536KB/65536KB.<br>
>>> > Info: Using pack method 'adaptive-9' with session 'gnome'.<br>
>>> > Info: Using ZLIB data compression 1/1/32.<br>
>>> > Info: Using ZLIB stream compression 1/1.<br>
>>> > Info: No suitable cache file found.<br>
>>> > Info: Forwarding X11 connections to display ':0'.<br>
>>> > Info: Listening to font server connections on port '11001'.<br>
>>> > Session: Session started at 'Tue Feb 24 14:19:30 2009'.<br>
>>> > Info: Established X server connection.<br>
>>> > Info: Using shared memory parameters 0/0K.<br>
>>> > Session: Terminating session at 'Tue Feb 24 14:19:31 2009'.<br>
>>> > Session: Session terminated at 'Tue Feb 24 14:19:31 2009'.<br>
>>> ><br>
>>> ________________________________________________________________<br>
>>>     Were you helped on this list with your FreeNX problem?<br>
>>>    Then please write up the solution in the FreeNX Wiki/FAQ:<br>
>>><br>
>>> <a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
>>><br>
>>>         Don't forget to check the NX Knowledge Base:<br>
>>>                 <a href="http://www.nomachine.com/kb/" target="_blank">http://www.nomachine.com/kb/</a><br>
>>><br>
>>> ________________________________________________________________<br>
>>>       FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>
>>>      <a href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>
>>> ________________________________________________________________<br>
>><br>
>><br>
>> ________________________________________________________________<br>
>>     Were you helped on this list with your FreeNX problem?<br>
>>    Then please write up the solution in the FreeNX Wiki/FAQ:<br>
>><br>
>> <a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
>><br>
>>         Don't forget to check the NX Knowledge Base:<br>
>>                 <a href="http://www.nomachine.com/kb/" target="_blank">http://www.nomachine.com/kb/</a><br>
>><br>
>> ________________________________________________________________<br>
>>       FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>
>>      <a href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>
>> ________________________________________________________________<br>
>><br>
><br>
________________________________________________________________<br>
     Were you helped on this list with your FreeNX problem?<br>
    Then please write up the solution in the FreeNX Wiki/FAQ:<br>
<br>
<a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
<br>
         Don't forget to check the NX Knowledge Base:<br>
                 <a href="http://www.nomachine.com/kb/" target="_blank">http://www.nomachine.com/kb/</a><br>
<br>
________________________________________________________________<br>
       FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>
      <a href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>
________________________________________________________________<br>
</div></div></blockquote></div><br>