Kuma, The problem running Firefox is that you are running it as one user, and trying to display it on a desktop that was started by a different user.
Why are you running "vncserver" with "sudo"? Wez @ RealVNC Ltd. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kuma Pageworks > Sent: 23 February 2007 12:38 > To: vnc-list@realvnc.com > Subject: Firefox not able to run in VNC? > > 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@realvnc.com > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list VNC-List@realvnc.com To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list