Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th April 2011, 12:51
jcdole jcdole is offline
Junior Member
 
Join Date: Aug 2007
Location: Pyrennee Atlantique (64) FRANCE
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

JCD

Last edited by jcdole; 12th April 2011 at 14:20. Reason: additional informations
Reply With Quote
Sponsored Links
  #2  
Old 12th April 2011, 22:31
jcdole jcdole is offline
Junior Member
 
Join Date: Aug 2007
Location: Pyrennee Atlantique (64) FRANCE
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hello.

Partially solved by re-running nxmanager --update.

But know can't log with success in the nxmanager login screen :
password error.
But there no defined password ( and no passwdDB at all ) 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 With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot login to phpmyadmin penkku HOWTO-Related Questions 1 24th February 2011 09:26
Companion Script #2 for The Perfect Server - Fedora 13 x86_64 [ISPConfig 3]" MrCompTech Tips/Tricks/Mods 0 10th July 2010 05:11
Forbidden 403; Samba access; config of maildeamon fawkes Installation/Configuration 4 14th January 2010 18:16
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 07:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.