View Single Post
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#154
Originally Posted by Larswad View Post
I have the same situation, using the NoMachine binaries, but in ubuntu.
So I tried adding the lines:
Code:
export LD_LIBRARY_PATH=/usr/NX/lib:$LD_LIBRARY_PATH
PATH=$PATH:/usr/NX/bin
...to the .bashrc file on the server side, but that didn't work (doesn't this ssh session read the .bashrc file? Hmm?
So, as of now I have also modified the snx script with the changed paths for nxagent and the libraries.

Any ideas here?
Google ssh bashrc first hit : http://stackoverflow.com/questions/8...c-at-ssh-login
BTW, as a command to start a full gnome desktop on my server i use:

snx -d user@myserver gnome-session

It works, sure, but is that the correct command to use?
I mean, I thought -d was enough to get a desktop session, or is that -d meant just to put nx in fullscreen mode?

Sorry if I'm kind of slow in understanding this.
That's fine, I use startkde to start my kde session. "-d" is used to start in desktop mode (and fullscreen), otherwise it will start in locally managed windows mode (useful to start just a program, not a remote desktop session).
 

The Following User Says Thank You to maacruz For This Useful Post: