[FreeNX-kNX] .xinitrc ignored

Anthony Ettinger apwebdesign at yahoo.com
Tue Nov 1 18:02:17 UTC 2005


> >
http://mail.kde.org/pipermail/freenx-knx/2005-March/000977.html
> > 
> > and I tried setting the directives and restart
> > nxserver, but I still get a blank screen when I
> > choose
> > "Load from X server"
> > 
> > node.conf:
> > USER_X_STARTUP_SCRIPT=.xinitrc
> > DEFAULT_X_SESSION=/etc/X11/xinit/xinitrc
> > 
> > $HOME/.xinitrc:
> > exec xfce4-session
> > 
> > freenx-knx at kde.orgThe only time I can get xfce4 to
> > load is when I
> > specficy the command to load it, however this (and
> > any
> > other way) of looging in via NX !machine client
> > doesn't pick up my user's customized settings. I
> > just
> > get a default desktop (be it gnome, xfce4, kde,
> > etc).
> 
> 
> Well, after playing around with the configuration
> file
> for the last 3 days, I've determined, it's not even
> being used :(
> 
> I edited /usr/NX/etc/node.conf, restart nxserver,
> and
> I'm not getting any of the preferences showing up
> when
> I use nomachine client.
> 
> For example, loading a default window manager (if I
> choose custom, always uses twm (i believe it's twm).
> Even when I enable unix-custom and set it to xfce4:
> ENABLE_DEFAULT_X_WM="1"
> ENABLE_DEFAULT_X_WM_KILL="0"
> DEFAULT_X_WM=/usr/bin/xfce4-session
> 
> In !Machine client I choose "unix custom" and then
> check "Run the default X client script on server".
> 
> This always brings up twm, no matter what I do.
> 
> I also tried the default xinitrc settings (to no
> avail):
> 
> USER_X_STARTUP_SCRIPT=.xinitrc
> DEFAULT_X_SESSION=/etc/X11/xinit/xinitrc
> 
> 
> Anybody get this to work? It's like it's completely
> ignoring the free-nx conf files. The only way I can
> get the window manager I want is by specifiying the
> path in the !machine client: "Run the following
> command" equal to "xcfe4-session" (this is not ideal
> though).


Holy snikies....I figured it out!
/usr/NX/etc/node.conf:
USER_X_STARTUP_SCRIPT=.xinitrc
DEFAULT_X_SESSION=/etc/X11/xinit/xinitrc

chmod 755 /etc/X11/xinit/xinitrc (it wasn't
executable)

I was able to determine this by running
/usr/NX/bin/nxloadconfig --check





Anthony Ettinger
ph: (408) 656-2473
web: http://www.apwebdesign.com



More information about the FreeNX-kNX mailing list