Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/bin/netcat and /etc/X11/Xsession are not pressent Fedora #12

Closed
GoogleCodeExporter opened this issue Feb 1, 2016 · 11 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Some values in lib/constants.py does not apply on Fedora 11. Here is what I
had to change to make it run:

Index: lib/constants.py
===================================================================
--- lib/constants.py    (revision 19)
+++ lib/constants.py    (working copy)
@@ -25,16 +25,16 @@
 from neatx import _autoconf


-NXDIR = "/usr/lib/nx"
+NXDIR = "/usr/bin"

 SYSLOG_ADDRESS = "/dev/log"
 BASH = "/bin/bash"
-NETCAT = "/bin/netcat"
+NETCAT = "/usr/bin/nc"
 XRDB = "/usr/bin/xrdb"
 SU = "/bin/su"
 SSH = "/usr/bin/ssh"
 XAUTH = "/usr/bin/xauth"
-XSESSION = "/etc/X11/Xsession"
+XSESSION = "/etc/X11/xinit/Xsession"

 START_CONSOLE_COMMAND = "/usr/bin/xterm"
 START_KDE_COMMAND = XSESSION + " startkde"

Original issue reported on code.google.com by MathiasNicolajsenKjaergaard on 20 Jul 2009 at 6:56

@GoogleCodeExporter
Copy link
Author

Thanks. The NXDIR change has recently been made in svn, but the other two will 
still
be needed for now.

Original comment by kormat on 22 Jul 2009 at 4:43

@GoogleCodeExporter
Copy link
Author

These changes can now be made in the neatx.conf file after installation. I've 
sent
out a patch mention this in the INSTALL instructions. Thanks,

Steve

Original comment by kormat on 29 Jul 2009 at 6:06

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

it would be nice to actually autodetect location of netcat (well, basically use 
whatever is in path) and also allow using binary named 'nc', as that's what it 
is 
called like in slackware (and maybe elsewhere).

took me some time to figure out it's defaulting to /bin/netcat...

Original comment by taa...@gmail.com on 7 Sep 2009 at 12:04

@GoogleCodeExporter
Copy link
Author

This is still an issue in trunk in January 2010

Original comment by robparr...@gmail.com on 19 Jan 2010 at 11:48

@GoogleCodeExporter
Copy link
Author

There's a patch out to fix this now.

Original comment by kormat on 9 Feb 2010 at 10:27

@GoogleCodeExporter
Copy link
Author

Fixed in http://code.google.com/p/neatx/source/detail?r=53

Original comment by kormat on 12 Feb 2010 at 11:39

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Issue 41 has been merged into this issue.

Original comment by kormat on 12 Feb 2010 at 11:48

@GoogleCodeExporter
Copy link
Author

I've installed the latest version today (rev 55, 16 Feb 2010) and the default
installation can not find netcat and Xsession (on openSUSE 11.2). Changing the
locations of the files in /etc/neatx.conf did not seem to work.


Original comment by wib...@gmail.com on 16 Feb 2010 at 3:29

@GoogleCodeExporter
Copy link
Author

@wibaje: How did you install? Building the rpm following the instructions in 
INSTALL? 
Can you tell me the paths to your netcat and Xsession programs are, please?

Original comment by kormat on 19 Feb 2010 at 1:34

@GoogleCodeExporter
Copy link
Author

I downloaded the sources from the SVN repository and followed the instructions 
in the
INSTALL file. I did not build the rpm but follwed the instructions from
"Building/installing from source"

I think however my problem was that I didn't copy the neatx.conf.example to
/usr/local/etc/neatx.conf but to /etc/neatx.conf. The /usr/local/etc directory
doesn't exist on the standard openSUSE install. I tried again with the 
neatx.conf
file in /usr/local/etc/ and it works now.

I changed the paths of netcat and xSession as follows:
/bin/netcat -> /usr/bin/netcat
/etc/X11/Xsession -> /etc/X11/xdm/Xsession

Would it be possible to read the neatx.conf file from /etc/ directory iso the
/usr/local/etc/ directory?

Original comment by wib...@gmail.com on 22 Feb 2010 at 11:27

@GoogleCodeExporter
Copy link
Author

wibaje, you should pass --sysconfdir=/etc (and maybe --localstatedir=/var) to 
configure.

Original comment by han...@google.com on 22 Feb 2010 at 11:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant