[LBo] VNC Issue (Windows Manager already starts) (Emen Zhao)

Collin cdl at rc5.us
Wed Mar 5 15:46:35 CET 2008


> I'm using RedHat Enterprise Linux 4.0 and have vnc-server-4.0-8.1 installed.
> The vnc server used to work fine, but today, when connecting to it,

When you say "connecting to it", do you mean a long-running instance
of the server (e.g., you typed "vncserver :18" last week; today you
said "vncviewer :18")?

When was the last time you connected successfully to this instance of
the server?

> everything on the desktop is gone, only a xterm window stands there alone,
> right-click menu not working either. Here is the ~/.vnc/xtartup file.

It sounds like a window-manager issue.  "ps xf" and look for
descendants of "Xvnc" -- any *wm processes?  twm, fvwm, mwm, icewm?
That would be the window manager.  

You are running /etc/X11/xinit/xinitrc?  You could replace this line:

exec /etc/X11/xinit/xinitrc

by this:

sh -x /etc/X11/xinit/xinitrc 
sleep 99999999

then kill your vncserver instance on :18 and restart it... then check
the log.

...
> I checked the log of vnc server, it says -
> "Window manager warning: Screen 0 on display ":18.0" already has a window
> manager; try using the --replace option to replace the current window
> manager."

What is the mtime of the log file (e.g., what does "ls -l /log/file"
say)?  

> 
> This looks more like an issue with windows manager or gnome desktop. Anyone
> out there ran into this before? Any pointer appreciated.
> 
> Thanks,
> Emen
> 
> 
> ------------------------------
> 
> -- 
> QnA mailing list - To post: QnA at linuxbasics.org
> Site: http://LinuxBasics.org
> List-options: http://LinuxBasics.org/cgi-bin/mailman/listinfo/qna
> 
> End of QnA Digest, Vol 19, Issue 2
> **********************************


More information about the QnA mailing list