Hi!
I have the following packages installed:
freenx-0.4.4-1.centos4.noarch from extras bash-completion-20050721-1.2.el4.rf.noarch from dries/dag bash-3.0-19.2.i386 from base
seems to result in a non-working nxserver (the window manager doesn't start up, although X applications can be launched via logging in through a seperate ssh and setting the DISPLAY variable accordingly)...
As far as I can tell: nxserver calls nxnode which sources ~/.bash_profile which sources ~/.bashrc which sources /etc/bashrc which sources /etc/profile.d/*.sh including /etc/profile.d/bash_completion.sh which sources /etc/bash_completion - which doesn't return (or rather somehow quits, thus causing the skipping of the execution of the X window manager). Anyway the point is that the line after sourcing ~/.bash_profile in nxnode does not get called (when the /etc/bash_completion file is present).
Not sure if the problem is in nxserver or in bash_completion, but renaming the /etc/bash_completion file fixes the problem...
Anyone feel like debugging more of this? (the bash_completion file is rather magicky and I don't feel inclined to dig in it...)
Cheers, MaZe.
On 10/2/05, Maciej Żenczykowski maze@cela.pl wrote:
As far as I can tell: nxserver calls nxnode which sources ~/.bash_profile which sources ~/.bashrc which sources /etc/bashrc which sources /etc/profile.d/*.sh including /etc/profile.d/bash_completion.sh which sources /etc/bash_completion - which doesn't return (or rather somehow quits
The last thing that /etc/bash_completion does is load $HOME/.bash_completion, so you might try looking there for a problem.
Maciej Żenczykowski wrote:
The last thing that /etc/bash_completion does is load $HOME/.bash_completion, so you might try looking there for a problem.
no such file, and it screws up for all users...
Thanks btw ... I attempted playing with FreeNX couple weeks back, and nearly went spare trying to figure out why I was getting a session open, but it wasn't loading the WM seemingly ... bash-completion is the last thing I would have thought of.
Worked straight away once removed it - odd bug, thanks anyhows for mensioning this.
Regards,
Sean
Thanks btw ... I attempted playing with FreeNX couple weeks back, and nearly went spare trying to figure out why I was getting a session open, but it wasn't loading the WM seemingly ... bash-completion is the last thing I would have thought of.
Worked straight away once removed it - odd bug, thanks anyhows for mensioning this.
This wasn't working for me for months (like 3-4) and only yesterday did I finally spend the 3-4 hours echo debugging the /usr/bin/nx* scripts, but I gave up once I saw the size of /etc/bash_completion script.
Cheers, MaZe.