Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
e7f3187e
Commit
e7f3187e
authored
Jun 25, 2015
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/examples/run-nxproxy2nxproxy-test: Create NX_COOKIE dynamically using the mcookie tool.
parent
32bbe01d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
run-nxproxy2nxproxy-test
doc/examples/run-nxproxy2nxproxy-test
+4
-3
No files found.
doc/examples/run-nxproxy2nxproxy-test
View file @
e7f3187e
...
...
@@ -40,9 +40,10 @@ mkdir -p "${NX_ROOT}"
# This should be randlomly generated.
#
#NX_COOKIE=`xauth list |grep "${HOSTNAME}/unix:\<${NX_PORT}\>" | grep MIT | cut -f 5 -d ' '`
NX_COOKIE
=
123efa980d2cba234ef6f73deac810ff
NX_COOKIE
=
`
xauth
-n
list |grep
"
${
HOSTNAME
}
/unix:
${
NX_PORT
}
"
|
grep
MIT |
cut
-f
5
-d
' '
|
head
-n1
`
if
[
-z
"
$NX_COOKIE
"
]
;
then
NX_COOKIE
=
`
mcookie
`
fi
#
# Create the directories for the NX session.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment