![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Xlib - Mapping Pixel Values to RGB Colors | thebin | High Level Programming | 1 | 03-21-2008 11:55 PM |
| cannot use the same script to read cookie | azmathshaikh | Shell Programming and Scripting | 0 | 03-08-2006 06:15 AM |
| xlib blues (XFree86 - Linux) | Alux | High Level Programming | 1 | 12-01-2005 07:44 AM |
| Cant locate CGI/Cookie.pm | naik_mit | Linux | 1 | 05-27-2005 01:51 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Xlib: Invalid MIT-MAGIC-COOKIE-1
Anyone:
I have a very annoying problem on one of our servers (running Solaris 8). when ever I try to run "xhost +" with the display set at "localhost:0.0" I get the following error: xhost + Xlib: connection to "finappprod:0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key xhost: unable to open display "finappprod:0.0" echo $DISPLAY finappprod:0.0 I've tried to recreate the /.Xauthority file by doing: xauth generate $DISPLAY . trusted but I get the same error. I also found this script on the web: #!/usr/local/bin/perl randomkey=`perl -e 'for (1..4) { srand(time+$$+$seed); printf("%4.5x", ($seed = int(rand(65536)))); } print "\n";'` xauth add `hostname`/unix:0.0 . $randomkey xauth add `hostname`:0.0 . $randomkey This scrip does create the /.Xautority file, but I still get the "Invalid MIT-MAGIC-COOKIE-1 " error message when running "xhost +" Any ideas? I'm now at a dead end..... (((( |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|