OpenSUSE Network :: FreeNX Server Not Running But Responding (?!)?
Feb 28, 2010
I've been working on getting NoMachine and FreeNX working together ... and they're both working well, listening on different ports (guess I should write a howto). At some point I decided to write an init script to control FreeNX behaviour (start, stop, status, setup), since the Ubuntu version has one (called freenx-server) and openSUSE doesn't, but I noticed that it was not necessary, as FreeNX got started automatically... but how ? I could not find any init.d script or command which would start the FreeNX server. Indeed it wasn't actually running :
neelix:~ # /usr/bin/nxserver --status
NX> 100 NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.2.0)
I have installed bootpd-dd2 and enabled and configured it with xinetd. 1. Made sure that their is a bootptab file and it is configured. 2. Tested the bootpd is working by runing the command /usr/sbin/bootptest cmdbfs .3. tail -f the /var/log/messages and saw the requests from the test.4. rebooted a machine that is configured to pxe boot.there is no messages by bootpd when a request is made.request is picked up by network monitor on a seperate computer on the proper udp port
Just incase anyone is suffering from the same problem as I was after upgrading to 11.3 that there was no such file or directory in /var/lib/nxserver/db/running/sessionID. I found the answer in another forum and thought i would post it here. Basically there is a change in the openssl library used to calculate the md5sum used by nx which stopped it from connecting.
Putting COMMAND_MD5SUM="md5sum" at the end of /etc/nxserver/node.conf fixes the problem.
This thread (nxserver now broken?) has inspired me to install FreeNX and the client from nomachine on openSUSE-11.2 (this is the version used on both, server and client machine). The good news is: basically it works. I can connect and get the desktop. However, I have some trouble with the keyboard. Up and Down arrow keys do not work. The up arrow triggers a screen snapshot. The down arrow key does nothing. I tried to connect using qtnx as well. This does not work. Result is:
I recently installed OpenSUSE 11.2 and everything works fine except wi-fi card, of course. The problem is that after installation the system recognized the card (is was listed in network devices in Yast) but I was unable to enable it through network-manager applet. Though the device could make scanning through terminal (found article in docs but didn't fully understand wpa_gui). Then i was stupid enough to delete the device from Yast list to try to reinstall it. So the problem is that i simply can't do this cause i see no way to re-detect. That is the goal is to at least turn back to post-install system state and try to enable wifi card again.
after a update to 5.3 from 5.2 via the built in updater the system stops responding to visitors from the outside, http that is, but heres the odd part, if i say run firefox on the server the connection works also for some reason if i'm on the network with my own computer the connection seems to stay open but as soon as i stop using these the server seems to drop the conenctions, but as i said as soon as i go via my comp to the server via say ie it works right away.
this i tried yesterday:did a cold boot to see if some update had problems and actually needed a reboot even if the updater didn't say, after it started the connection seemed to be open for a good while, and not untill this morning from a outside source the connection is droped again, not been on my comp nor logged on on the server today yet.the install only has on it what i got from the dvd, and as far as i know it has all the updates on it since 5.3 came out.my network is built up like this:
i'm trying to get a bind server up and running on my opensuse installation but I'm having some slight problems, I've been looking for a solution to what is probably a silly problem for quite a while so I decided to come here.
Dear all, I have system running LAMP and acting as a regular webserver.After running the setup for quite some months, I start having major issues:Symptoms:1. Applications do not respond neither from LAN nor WAN - SSH daemon, Apache, MySQL, FTP2. Network still seems to work for ping and port listeners3. Telnet is still successful for 21, 22, 80, 33064. Server has to be restarted manuallyTrying to find out the issue, I went through /var/log/ looking for major issues or warnings. But nothing seemed plausible to me to understand the issue - except I knew I was running out of disk space a few times.Not being able to identify nor replicate the issue, I replaced the hardware running 24x7 since quite a few years. Doing this, I migrated at the same time from OpenSUSE 10.1 to 11.3.The machine itself is behind a firewall and only the above mentioned standard ports are accessible
I have been spending hours and hours trying to find a "Remote installation for Dummies" ....kind of step-by-step approach. But after several evenings googling and reading. This is how far I got: I have installed FeeNX on my server and after sudo nxserver -- status I get a reply like this:
NX> 100 NXSERVER - Version 2.1.0-72 OS (GPL. using backend: 3.4.0) NX> 110 NX Server is running NX> 999 Bye
so to me that looks like the server process is running. I also installed the windows Nomachine on my laptop and hooked it all up in my local network (so no routers whatsoever) I disabled the firewalls on both my laptop and my server. just in case configured the client for port 22 and the fixed IP address of my server. even imported the users.id_dsa.pub key in the client. long story short: I only get that annoying little error window from Nomachine saying: "Cannot initialize the display service"
I'm trying to install Thunderbird on my mom's desktop. She has been using Outlook Express for years, and I want her to get away from that as well as Windows in general (her computer has a true 1.8 GHZ single-core processor and only 512MB of ram). The first thing I did was install Thunderbird on her XP partition, then I copied the .default file to a flash drive and copied it into the folder where I saw that Thunderbird had another .default folder in (although I never created a user for it). I deleted that folder and replaced it with the .default folder from her XP system. I then went to load Thunderbird, and it gave me the error message that is in the title.
I restarted Ubuntu, and it still gave me the same error message. I then deleted Thunderbird from the Synaptic, Software Center, and Terminal. Every time I went to re-install it I got the same message when I tried to open the program. I did find a couple of threads here that had problems with the same error, but it was after they upgraded the software.I found a lot of threads on Google on how to convert from Outlook to Thunderbird, but most of them were 2-3 years old, and the instructions were useless.
Some FreeNX start-up troubles here, need a hand. 1) I am trying to establish a connection from my workplace PC on my workplaces's LAN to my home PC on my private LAN (LAN-to-LAN). Just typing in the public IP of the target LAN in the "Host" field gets me nowhere, as it fails to connect due to a denial at port 22 SSH - even though I've done the forwarding in my home router and punched the required hole in the local firewall of the target machine.
This resembles what I'm looking at: [URL]..2) My home PC is 64-bit Mepis and my workmachine is a 32-bit Ubuntu. Is this a problem?
I created a VMware Workstation VM with OpenSUSE 11.2. When I copy the VM to a new location the network configuration disappears. If I go into the networking control panel and save, the interface names are changed. Originally had 2 nics as "eth0" and "eth1", copy the vm, configure network and the interfaces are now "eth2" and "eth3". How do I get back to my original configuration?
Also, I would like users to authenticate against using LDAP rather having created manually in the NX server. I installed using yum install freenx nx and rename the node.conf.sample to node.conf and installed the windows client. but when I am trying to conenct the nx server it says it is connected but it gives me NX> 202 Authenticating user: nxNX> 208 Using auth method: publickeyNX> 204 Authentication failed.I have change this nx user in sshd_config file to user that i created using nx server command which exists in local machine.
I'm having some trouble with FreeNX on OpenSuse 11.2. I followed the instructions on this page to set up the server on my linux machine, and I'm connecting to it with the Nomachine client for Windows, running on Windows XP x64. It refuses to complete the connection, and the console log from the NX client is as follows code...
I've searched this forum and many web pages on google, but I haven't found anyone with this exact problem. the fact that it can't stat those files suggests to me that it might be a permissions thing, but I wouldn't expect non-root users to EVER have permission to files in any subdirectory of /var, so I sincerely doubt that they would release a program that requires read/write access to such files, and therefore, I am pretty certain it's a configuration issue, although I'm not experienced enough with the NX server to know where to start looking for the failure. Previous attempts with FreeNX and opensuse 10.3 (I am testing 11.2 for a possible upgrade of all of our linux systems here at my office) yielded totally successful results. the fact that there is no NX server included in the DVD distribution of 11.2 seems a little strange to me, as it was included with 10.3, but this is of little significance compared to my real issues.
Currently I have successfully setup a server as remote freenx-server terminal and I may login to this system using local users.
As I want a central ldap based user management, I have setup a working ldaps configuration. I am able to login as a ldap user via ssh.
Now the strange issue I am facing is that the freenx-server won't let me login to my server anymore when I enable the following setting in /etc/ssh/sshd_config:
Code: UsePAM yes Naturally if I disable UsePAM, ldap based logins will fail because they are passed through PAM. uname -a: Code: Linux srv01 2.6.26-2-openvz-amd64 #1 SMP Thu Feb 11 01:40:09 UTC 2010 i686 i686 i386 GNU/Linux my sshd_config:
I have a script that basically adds a zypper repo, then proceeds to install and configure FreeNX.To add the repo:
zypper addrepo Index of /repositories/X11:/RemoteDesktop/openSUSE_11.1 RemoteDesktop
To install FreeNX & it's relevant dependencies:
zypper install FreeNX
To setup and configure FreeNX:
nxsetup --install --setup-nomachine-key --clean --purge sed -i 's/AllowUsers idcuser/AllowUsers idcuser nx/' /etc/ssh/sshd_config service sshd reload
After completing these steps on version 11, I can immediately open the FreeNX client (windows 7), and connect. On 11.1, at the very end of the FreeNX connect, just after "Dowloading the session information", I get:
Permission denied (publickey,keyboard-interactive).NX> 280 Exiting on signal: 15 I've googled this to death, and tried a bunch of random changes to both ssh and nxserver, but I can't seem to get rid of it. What might have changed from 11 to 11.1 that could cause this behavior change? The NXserver seems to be configured and running identical on both systems.
I recently upgraded an openSUSE 11.3 install to 11.4 by downloading the DVD, burning it, & chosing the upgrade option upon booting to it. I used all the upgrade defaults. Upon coming back up, I added the FreeNX zypper repository & installed the latest FreeNX. Connecting via FreeNX works, but I'm not able to see any window menus on any of my applications. They get stuck to the top left corner of the screen &/or they don't have the window border surrounding the window (as in the top bar that contains the minimize/maximize buttons).
I have been messing around with freenx to see if I can support my customer via remote desktop... I have installed the server on Ubuntu Karmic and the client on Windows 7. I love linux but need the windows computer for customer work and that is why I chose to install the client on windows. I setup the server the best I could and created custom keys which I then copied to windows and imported them to the freenx client. I am looking for security for my customer and that is why I chose custom keys... There are several issues to deal with but I want to just get started to see where it takes me. I added the test server computers ip address to the freenx client configuration and tried to connect to Ubuntu... I have left the port as 22 at the moment
Desktop setting on the client...I chose vnc which seems to be a good choice according to all the material I have been reading....Other settings I have left alone at the moment to see how things work.... All that said - I have the login window asking for information... I have the password asking for information....and I have the session wanting information....? Obviously I understand that login info can be set on the server and the password...but I haven't seen how to set up that? Of course I am testing the server from a client on my home network at the moment - but the customer has his own router as do I so those settings will need to be looked at as well.
I am trying (desperately) to setup freeNX so that I can access my Mandriva box from my Macbook over my network. I have great need to be able to do this. Here's the necessary info for you: Mandriva PC: running Mandriva 2010.0 with freeNX installed from the Mandriva repos Macbook: running OS 10.4 with the Nomachine NX Client installed Now, I have followed the setup from the Mandriva wiki as well as the freenx wiki to no avail. I simply cannot connect the Macbook's NX client to the server. I get an authentication failed message. However, I can ssh from the Macbook to the server just fine (that's how I'm getting most of this work done).
Sorry if this is in the wrong group but its a bit of an odd one but I think comes under Server Support.. I've set up both x11vnc and freenx in an attempt to eliminate either as a cause for this issue. The problem is that when I log in with either, I can get into the desktop and run things from the menus but when I make the System menu active - the session hangs and you have to killall for the freenx or vnc processes.
I was wondering if anyone might be able to help me investigate this and hopefully fix it as I'm not sure where to look given that both types of remote connection seem to have the same issue.
I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.
I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.
I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).
When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.
Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?