Ok, I've gotten closer to solving this. Apparently if I open a terminal, su to root, and start a new gnome-session, the windows go back to normal. While under my username (Kevin), it says a "session manager is already running" if I try to execute the gnome-session again.
So the question is, what's going wrong when the gnome-session executes as an unprivileged user? Here's a copy of the log when VNC starts as my username (the one that doesn't work):
Code:
Mon Oct 20 13:11:14 2008
vncext: VNC extension running!
vncext: Listening for VNC connections on port 3389
vncext: created VNC server for screen 0
expected keysym, got XF86Info: line 914 of inet
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3486,unix/unix:/tmp/.ICE-unix/3486
(gtk-window-decorator:3560): Gdk-WARNING **: Using Cairo rendering requires the drawable argument to
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_set_colormap
(gtk-window-decorator:3560): Gdk-CRITICAL **: gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
compiz (core) - Fatal: No composite extension
14
** (nm-applet:3602): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken. Return: 3
(nm-applet:3602): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Error: Screen isn't composited. Please run compiz (-fusion) or another compositing manager.
** (nautilus:3559): WARNING **: Unable to add monitor: Not supported
** (nautilus:3559): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS
** (nautilus:3559): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS
** (nautilus:3559): WARNING **: Can not get _NET_WORKAREA
** (nautilus:3559): WARNING **: Can not determine workarea, guessing at layout
could not attach to desktop process
Mon Oct 20 13:11:29 2008
Connections: accepted: 159.140.254.187::35711
Mon Oct 20 13:11:30 2008
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VncAuth(2)
And when I run the gnome-session as root, I get this output to the terminal, but it DOES work:
Code:
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3734,unix/unix:/tmp/.ICE-unix/3734
Window manager warning: Failed to read saved session file /root/.metacity/sessions/default1.ms: Failed to open file '/root/.metacity/sessions/default1.ms': No such file or directory
Failure: Module initalization failed
** (nm-applet:3786): WARNING **: <WARN> applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken. Return: 3
(nm-applet:3786): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (nautilus:3758): WARNING **: Unable to add monitor: Not supported
could not attach to desktop process
I guess the only problem is that I have 2 taskbars running after that. If I hover over it, it will flicker between the user task bar and the root taskbar. So, there is SOMETHING wrong with my window manager and what user it executes with. Does anyone have any ideas?
Also, here's a SC of what it looks like when it's not working: