Bug 539308 - Freenx-server don't work
Summary: Freenx-server don't work
Keywords:
Status: CLOSED DUPLICATE of bug 521090
Alias: None
Product: Fedora
Classification: Fedora
Component: freenx-server
Version: 12
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Axel Thimm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-19 20:34 UTC by kirill
Modified: 2009-11-23 11:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-23 11:48:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description kirill 2009-11-19 20:34:01 UTC
Error in script /usr/libexec/nx/nxserver and other nxnode

uniqueid=$(echo $[$RANDOM*$RANDOM] | $COMMAND_MD5SUM | cut -d" " -f1 | tr "[a-z]" "[A-Z]")

need replace on

uniqueid=$(echo $[$RANDOM*$RANDOM] | $COMMAND_MD5SUM | cut -d" " -f2 | tr "[a-z]" "[A-Z]")

Comment 1 Axel Thimm 2009-11-21 17:17:23 UTC
Why do you think this is an error? The -f1 switch is supposed to pick everything before the first space, which is what we want.

Comment 2 kirill 2009-11-22 21:37:24 UTC
COMMAND_MD5SUM = openssl md5

In Fedora 11

# echo "123" | openssl md5
ba1f2511fc30423bdbb183fe33f3dd0f

In Fedora 12

# echo "123" | openssl md5
(stdin)= ba1f2511fc30423bdbb183fe33f3dd0f

Comment 3 Axel Thimm 2009-11-23 11:48:58 UTC

*** This bug has been marked as a duplicate of bug 521090 ***


Note You need to log in before you can comment on or make changes to this bug.