Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sometimes users will find that they are unable to reconnect to an existing session, and are shown only a blank screen.  We do not yet understand this issue, so our solution is to terminate the user's existing sessions, and kill all the user's running processes on the Nomachine server.  The easiest way for users to fix deal with this is to send a note to pcds-it-l@slac.stanford.edu and we will remove all old sessions and process.

It's also possible for users to deal fix with this themselves by ssh'ing to psnxserv.slac.stanford.edu and killing their own process.  Potentially useful commands follow:

Show

...

all

...

running

...

user

...

processes: 

Code Block
languagebash
ps -f -u $USERNAME

Kill

...

a

...

specific

...

process

...

using

...

its

...

process

...

ID

...

(found in the PID column of the "ps" command output):

Code Block
languagebash
kill <PID>

Kill

...

a

...

specific

...

process

...

that

...

doesn't

...

want

...

to

...

die

...

(i.e. was not killed by "kill <PID>"):

Code Block
languagebash
kill -9 <PID>

Kill

...

all

...

user

...

owned

...

processes running on the server,

...

including

...

current

...

ssh

...

session,

...

shell

...

and

...

the

...

pkill

...

command

...

itself.

...

This

...

is

...

a

...

quick

...

way

...

to

...

remove

...

the

...

majority

...

of

...

user owned processes:

Code Block
languagebash
pkill -U $USERNAME

 

Note that you may the user will have to reconnect after running "pkill" and may have to try a number of times (possibly using the -9 option, as shown with the "kill" command).

...