LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2011, 06:53 AM   #1
jcdole
LQ Newbie
 
Registered: Apr 2006
Location: Saint-Jean-de-Luz. South West, Atlantic coast (France)
Distribution: SUSE 13.3 (Commercial)
Posts: 14

Rep: Reputation: 0
NOMACHINE - NX - Unable to run nxmanager


hello.

Opensuse 11.3

here is my configuration files :

/etc/sysconfig/apache2 :
APACHE_CONF_INCLUDE_FILES="/etc/apache2/httpd.conf.local"

Note : Doing this way ( recommanded by apache documentation ) I don't know if it is the good way as recommended by NOMACHINE documentation : <<It can be updated by adding the following directive before the "Global Environment" section >>

/etc/apache2/httpd.conf.local
Include /usr/NX/etc/manager.conf

/usr/NX/etc/manager.conf :
Alias /nxmanager/ "/usr/NX/share/htdocs/nxmanager/"
ScriptAlias "/nxmanager" "/usr/NX/bin/nxmanager"
<Directory "/usr/NX/">
AllowOverride None
Options None
Order allow,deny
### ADDRESS RESTRICTIONS START ###
Allow from all
### ADDRESS RESTRICTIONS STOP ###
</Directory>

/usr/NX/etc/manager.cfg ( just the modify part ) :

#
# Specify user name of Apache owner.
#
#ApacheUname = "nobody"
ApacheUname = "wwwuser"

#
# Specify group name of Apache owner.
#
#ApacheGname = "nogroup"
ApacheGname = "wwwgroup"


Running this http://localhost/nxmanager from firefox I get :

The requested operation could not be completed
Internal Error in Server
Details of the Request:
URL: http://localhost/nxmanager
Protocol: http
Date and Time: Monday 11 April 2011 22:03
Additional Information: localhost
Description:
The program on the server which provides access to the http protocol has reported an internal error: localhost.
Possible Causes:
This is most likely to be caused by a bug in the server program. Please consider submitting a full bug report as detailed below.
Possible Solutions:
Contact the administrator of the server to advise them of the problem.
If you know who the authors of the server software are, submit the bug report directly to them.


Running this http://localhost/nxmanager/ from firefox I get this :

Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403

any help should be great.

Any way, nxclient is working. I can connect to server from my laptop or locally.

Additional information :

[Tue Apr 12 14:05:39 2011] [error] [client 127.0.0.1] nxmanager: WARNING: configuration file '/usr/NX/etc/manager.cfg' does not exist
[Tue Apr 12 14:05:39 2011] [error] [client 127.0.0.1] main: cannot write directory '/usr/NX/var/db/manager': Permission denied
[Tue Apr 12 14:05:39 2011] [error] [client 127.0.0.1] Premature end of script headers: nxmanager

/usr/NX/etc/manager.cfg is owned by nobody:nobody permissions : 640
/usr/NX/etc/manager.conf is owned by nobody:nobody permissions : 640


Thank you for your time.

Last edited by jcdole; 04-12-2011 at 07:28 AM. Reason: additionnal information
 
Old 04-12-2011, 03:26 PM   #2
jcdole
LQ Newbie
 
Registered: Apr 2006
Location: Saint-Jean-de-Luz. South West, Atlantic coast (France)
Distribution: SUSE 13.3 (Commercial)
Posts: 14

Original Poster
Rep: Reputation: 0
Hello.

Partially solved by re-running << nxmanager --update >>.

But know I can't log with success in the nxmanager login screen : password error.
But there no defined password as I use SSHD authentication with PAM is enabled.

Both 'EnableUserDB' and 'EnablePasswordDB' are set to 0, so any user are being authenticated by SSHD account and then will be enabled to connect to the system.


So How to connect to nxmanager ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to run up2date mukulsharma Linux - Newbie 1 02-17-2011 07:30 PM
nx nomachine johnh10000 Linux - Server 7 09-16-2009 02:49 PM
unable to run a.out skvasistha Linux - Software 1 07-29-2005 02:42 AM
unable to run a.out skvasistha Linux - General 1 07-29-2005 02:27 AM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration