OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: dvdrw on April 18, 2004, 01:52:46 pm

Title: /usr/bin/mcookie missing from pdaXrom 1.0.5
Post by: dvdrw on April 18, 2004, 01:52:46 pm
it appears that /usr/bin/mcookie is missing from pdaXrom 1.0.5.  this causes problems if you use X11 forwarding with ssh to the Z - once you use an X session via ssh then X apps executed on the Z itself are denied access to the X server on the Z.

here\'s a simple script that fixes this problem, create it as /usr/bin/mcookie and set permissions as 755:

#!/bin/bash
dd if=/dev/urandom count=1 2]/dev/null | md5sum | sed -e \'s/  -//\'