Every time I start firefox from the command line I get: xwininfo: unable to open display '10.0' followed by the xwininfo usage message. At line 46 in /usr/bin/firefox xdpyinfo is used to discover the display name and the number of screens available by piping the output through awk, which splits the name on the first dot. In my case, the display name is an IP address (10.x.x.x:0.0), though I believe the same problem would occur if the display name was fully-qualified (host.domain.org:0.0). To be strictly accurate, the awk script should split on the *last* dot on the line, and then only if it occurs after a colon. Reproducible: Always Steps to Reproduce: 1.export DISPLAY=[your ip address here]:0.0 2.firefox Actual Results: $ firefox xwininfo: unable to open display '10.0' usage: xwininfo [-options ...] where options include: -help print this message -display host:dpy X server to contact -root use the root window -id windowid use the window with the specified id -name windowname use the window with the specified name -int print window id in decimal -children print parent and child identifiers -tree print children identifiers recursively -stats print window geometry [DEFAULT] -bits print window pixel information -events print events selected for on window -size print size hints -wm print window manager hints -shape print shape extents -frame don't ignore window manager frames -english print sizes in english units -metric print sizes in metric units -all -tree, -stats, -bits, -events, -wm, -size, -shape Expected Results: No messages, just start firefox.
Created attachment 27537 [details, diff] patch to fix display parsing Please try the following patch. Let me know if it works for you.
committed to cvs