On 03/15/09 00:59, Nikos Chantziaras wrote:
[snip]
XP (that is good), but:
1.) the terminal I'm connecting to has to accept my connection, is it
possible to set it up so I connect to it automatically.
2.) I'm taking control of the mouse and keyboard of the remote workstation
(in this case my server).
What I need is to connect to the server being able to use it without
taking control of the desktop mouse or keyboard.
Then you need to enable the "terminal client" service of Windows XP instead
(XP Professional has this). For this to work, you need to disable the RDP
of VirtualBox or use another port. Also, since XP's RDP is a service, you
need port forwarding if you're using NAT networking in VBox.
You can Google on how to enable RDP/terminal services inside XP.
I'm trying now nxserver-freenx but it is giving me problem with configuration;
do you know anything about setting up freenx?
when I run:
nxsetup --install --setup-nomachine-key --clean --purge
...
----> Testing your nxserver connection ...
Permission denied (publickey,keyboard-interactive).
Fatal error: Could not connect to NX Server.
Please check your ssh setup:
The following are _examples_ of what you might need to check.
- Make sure "nx" is one of the AllowUsers in sshd_config.
(or that the line is outcommented/not there)
- Make sure "nx" is one of the AllowGroups in sshd_config.
(or that the line is outcommented/not there)
- Make sure your sshd allows public key authentication.
- Make sure your sshd is really running on port 22.
- Make sure your sshd_config AuthorizedKeysFile in sshd_config is set
to authorized_keys2.
(this should be a filename not a pathname+filename)
- Make sure you allow ssh on localhost, this could come from some
restriction of:
-the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
-the iptables. add to it:
$ iptables -A INPUT -i lo -j ACCEPT
$ iptables -A OUTPUT -o lo -j ACCEPT
my sshd.conf:
Port 22
Protocol 2
PermitRootLogin no
AuthorizedKeysFile authorized_keys2
AllowUsers nx
AllowGroups nx
PasswordAuthentication no
UsePAM no
Subsystem sftp /usr/lib/misc/sftp-server
--
#Joseph
GPG KeyID: ED0E1FB7