You are not logged in.

#1 2010-05-01 15:26:25

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

This is my third day trying to get the freeNX to work on my LAN system. Its said to be straightforward but I am missing something. Red the wiki and other threads.
http://wiki.archlinux.org/index.php/FreeNX

I need step-by-step guidance. My ssd connection works well:

ssh -D 127.0.0.1:8080 amurt@192.168.0.101

Server:
1. pacman -S freenx

2. Edit /opt/NX/etc/node.conf (any other changes than the below line?)
COMMAND_MD5SUM="md5sum"

3. # /opt/NX/bin/nxsetup --install --setup-nomachine-key
4. Copy /opt/NX/home/nx/.ssh/client.id_dsa.key to client
5. #/etc/rc.d/sshd restart

Client:
1. pacman -S nxclient
2. # nxclient (start GUI)
<Configure...>
Host: 192.168.0.101 Port:22 Desktop: Unix KDE Display: 1024x768
<Save>
<Key...><Import> folder with client.id_dsa.key
<Save><Ok>
Login: amurt
Password: *******
Session: mytest (does it requires a particular name?)
<Login>
Authentication failed for amurt

In the server there is an existing username: amurt. Do I need to create new username (/opt/NX/bin/nxserver --useradd amurt), which does get authenticated, thought, I still didn't get the session started. If needed an additional user setup, does it display the existing amurt user folder, or another folder?


Markku

Offline

#2 2010-05-03 17:32:41

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

How about using VNC with KDE4? Also should work with clients' with Windows. Preferable a front-end GUI starting the server and client viewer.


Markku

Offline

#3 2010-05-03 21:34:10

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

rasat,

I followed the FreeNX wiki, with some help from here:

http://www.unyttig.info/2009/08/05/tuto … eenx-wave/

I did not copy the client.id_dsa.key (your step 4) since setting nxsetup --install --setup-nomachine-key should
not need that (thats how I understood it).

My server is at a VPS at Linode, and since I am not using Gnome nor KDE, I had a couple of steps more.

Its working OK.

Don't forget /etc/hosts.allow and any firewalls.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#4 2010-05-04 16:57:52

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

Thanks for the link. But still having problem with the authentication.

I tried tightvnc but the color resolution is poor (vncserver -geometry 1280x962 -depth 24 :1)
Another short come I am noticing, two instances of openoffice applications cannot run (in server and client) simultaneously). Oo is designed for single user.


Markku

Offline

#5 2010-05-06 12:41:06

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

Sounds to me like you've skipped some essential steps in the freenx setup. Have you tried to do it all over?


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

#6 2010-05-06 21:08:34

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

serrghi wrote:

Have you tried to do it all over?

Thanks for the encouragement to try once more, it WORKS!!

I am not sure what did the trick, I did three things.

1. I didn't copy /opt/NX/home/nx/.ssh/client.id_dsa.key to client, which is not needed with option "-setup-nomachine-key".

2. Server

# /etc/hosts.deny
#
sshd: localhost.localdomain: ALLOW
ALL: ALL: DENY

3. This I DON'T recommend anyone. I removed both openssl and openssh and cleaned the associated folders in /etc. Please don't do then the packages cannot be reinstalled with pacman which depends on openssl. It requires manually to uncompress openssl in /.

COMMENT:
FreeNX is great!! Fast, full color/resolution, and works well with KDE4.


Markku

Offline

#7 2010-05-09 17:46:40

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

How to run multiple instances of applications? Example, if one client is running Open Office, the application doesn't allow other clients to use the OO. Same with Kmail, Firefox, etc.


Markku

Offline

#8 2010-05-09 17:49:32

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,397

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

Probably because of the same username, it's expected.
Just courious, does your keyboard works well? i'm having problems with arrow keys, pgup,down and others.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#9 2010-05-09 17:57:55

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

I also though it may not work in same username, but then what's the point of setting up VNC when runs as a PC instead of network. The idea is to use the same files and documents for all clients. Different usernames can be setup still running the same files, I don't like the complication.

My keyboard works well.


Markku

Offline

#10 2010-05-10 10:29:39

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

rasat wrote:

The idea is to use the same files and documents for all clients. Different usernames can be setup still running the same files, I don't like the complication

Put those shared files in a shared folder outside the $HOME for each user. Our setup is completely different (NFS serving our $HOME over the network), but OOo complains if the same username is logged in on more than 1 client at the same time.

If you want to make the dot-files the same for every user, set up 1 user and copy the relevant files to the skeleton-dir, so that upon making a new user, all the settings are in place.

Offline

#11 2010-05-11 19:57:20

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: FreeNX - howto? or VNC -- [SOLVED] -- multiple instances of apps???

Thanks!


Markku

Offline

Board footer

Powered by FluxBB