AndrewX192
|
2011-08-21
, 18:34
|
Posts: 139 |
Thanked: 97 times |
Joined on Nov 2010
@ United States
|
#141
|
|
2011-08-21
, 18:41
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#142
|
No offence, but did you even read my post? I explicitly mentioned my PATH (which includes /opt/NX/bin) and that nxagent does indeed work on the server...
|
2011-08-21
, 18:49
|
Posts: 187 |
Thanked: 345 times |
Joined on Nov 2009
|
#143
|
I'm just asking a sincere question, although it may look redundant to you.
[archer@jackfruit ~]$ nxagent NXAGENT - Version 3.5.0 Copyright (C) 2001, 2011 NoMachine. See http://www.nomachine.com/ for more information. Info: Agent running with pid '18419'. Session: Starting session at 'Sun Aug 21 20:47:52 2011'. Error: Aborting session with 'Unable to open display '''. Session: Aborting session at 'Sun Aug 21 20:47:52 2011'. Session: Session aborted at 'Sun Aug 21 20:47:52 2011'.
EDIT: Ah, by the way, do not use "startx" as the remote command in snx. Use a command to start your favourite windowmanager (startxfce4, startkde, icewm, fvwm2, ...) or even xterm. startx is meant to start the X environment from the console.
|
2011-08-21
, 18:56
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#144
|
Ah okay, in that case we just misunderstood each other. What I was trying to say was: If I do log in (with the same user I use when launching snx) at the server and run nxagent, it works:
I obfuscated the user and domain in the last post, but it's the same of course.
|
2011-08-21
, 19:04
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#145
|
|
2011-08-21
, 19:52
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#146
|
You can try that but don't forget the quotes, or the .xinitrc script directly if it is executable.
EDIT: I just noticed a syntax error in your command line. It is "snx -d account command", not "snx account -d command"
snx -d myaccount@myserver "~/.xinitrc"
|
2011-08-22
, 15:01
|
Posts: 139 |
Thanked: 97 times |
Joined on Nov 2010
@ United States
|
#147
|
|
2011-08-22
, 23:29
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#148
|
|
2011-08-24
, 10:26
|
Posts: 10 |
Thanked: 3 times |
Joined on Mar 2009
|
#149
|
|
2011-08-24
, 11:10
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#150
|
Hey, how can I change keyboard layout with snx? And that cool script doesn't work with zsh on host