Firefox not able to run in VNC?

Seak, Teng-Fong seak.tf "at" inmail24.com
Sun Feb 25 18:14:01 2007


    Can't you logoff from root after running vncserver?  Or can't you 
open another console to run Firefox using your own username?

Kuma Pageworks wrote:
> Hey all -
>
> I've got a VNC connection going to my Ubuntu 6.10 machine, and I've
> gotten GNOME running.  What I can't get running is Firefox.  When I
> check my logs, it says:
>
> You should really not run firefox through sudo WITHOUT the -H option.
> Anyway, I'll do as if you did use the -H option.
> AUDIT: Fri Feb 23 06:21:18 2007: 12403 Xrealvnc: client 13 rejected
> from local host
>  Auth name: MIT-MAGIC-COOKIE-1 ID: -1
> Xlib: connection to ":1.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
>
> (firefox-bin:12540): Gtk-WARNING **: cannot open display:
>
> ... and I'm confused.  If I don't run vncserver using sudo, I can't
> connect at all.  If I use sudo, it seems that I'm getting some
> conflicts.
>
> I was also getting dbus errors, but after adding dbus-launch to the
> gnome-session line, I've stopped getting those.
>
> Any help?
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
>
>
> ----------
> * Zoner PhotoStudio 8 - Your Photos perfect, shared, organised! 
> www.zoner.com/zps
>  You can download your free version.