Home > howto > windows 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
How To Run Gambas On Windows
Gambaso does not run on the Windows Operating System.

But if what you need is running an application made in Gambaso from a Windows computer, here is a solution!

This solution is based on the free implementation of the NoMachine NX protocol, named freenx server.

The Windows computer will use the NoMachine NX client to connect to the Linux server and run the application.

1. Take a Linux server

We will suppose that Mandriva 2006 is installed on it.

2. Install the freenx server

$ urpmi freenx

This will install the openssh server too.

Note: Of course you must be root.

3. Create the user that will run the application.

$ useradd -p "p4$$w0rD" gamby

We call it 'gamby'.

4. Tell FreeNX which users can connect to the server

$ nxserver --adduser gamby

5. Install Gambaso

Of course :-) And install your Gambaso application too. We suppose that the name of your application is KillerApp.

6. Install the NX client on the Windows computer

Follow these instructions.

7. Copy the FreeNX server key into the Windows NX client

The FreeNX server key is located at /var/lib/nxserver/nxhome/.ssh/client.id_dsa.key

$ cat /var/lib/nxserver/nxhome/.ssh/client.id_dsa.key
-----BEGIN DSA PRIVATE KEY-----
MIIDPQIBAAKCAQEAoBI/XksyT8Zr64rKZFsIooE9WWj9YU5/ED94RlbeCRrzpn0Q
B6Ep9wI9T6RuLepUisdpXUkGbYrlhH61pzZ5zjCHXhrHNb8nPQzLMFF2ogtaawT4
zovCyRqFC94/PcmgugDkIFQftHopIbLdl/DFmQwS2RA1jH4mC04RtRk2PT5ss5hg
OR13pJpPyJu64py5kmGglAszHPCN8nFF/MG1EhBLwbn2IidSyNXbUoLFb0ymIYNr
...
-----END DSA PRIVATE KEY-----

Copy this key in the Windows client:

8. Try to connect to the Linux server

9. Configure the NX client to launch your application