Hi All,
I have a hard time believing that I am the only person attempting to do this or having this problem, so I am posting my findings here, in hope that some smarter individual already has a better solution than what I currently have.
I have a server running Ubuntu 12.10, and I installed VMware Workstation 10 on it. My goal is to be able to be able to remotely manage my virtual machines without having physical access to my Ubuntu host. Sounds simple, right?
I tried VNC (tightVNC), that was easy to connect to from my laptop (running Mac OSX), but when I launch VMware within my VNC connection, it kills my VNC connection instantly. My VNC log file reads something like this (my VNC display is on 8):
Not knowing what really caused this, I tried another route: xrdp. I installed xrdp, fired it up, used my RDP client on the laptop to connect, no problem. But again, without fail, whenever I launch VMware, my RDP session is terminated as well.
So at this point, my gut feeling is that VMware is fighting with X server over some display ports, and since I still have nightmares about manually configuring X11 configuration, I decide to try another way, which seems to work for now (but not very well):
I used an X11 client (XQuartz on the Mac) to ssh into my Linux host, and then launch vmware from the SSH command line. This works okay, but it's somewhat unstable. From time to time, certain keys become unresponsive and I am forced to re-launch X11, and sometimes I am unable to provision a new virtual machine, its screen just stays black when I start it up, and I have no choice but to put a monitor/keyboard/mouse on the Linux host.
So... I am not sure if this is a VMware issue, it's probably a mix of VMware + X display issue, and perhaps even a little Mac/XQuartz in there. I am hoping that someone here has done something similar, and maybe has already found a better solution.
At the end of the day, I am just lazy and don't want to switch mouse/keyboard, I just want to be able to provision virtual machines over a remote connection.
TIA
I have a hard time believing that I am the only person attempting to do this or having this problem, so I am posting my findings here, in hope that some smarter individual already has a better solution than what I currently have.
I have a server running Ubuntu 12.10, and I installed VMware Workstation 10 on it. My goal is to be able to be able to remotely manage my virtual machines without having physical access to my Ubuntu host. Sounds simple, right?
I tried VNC (tightVNC), that was easy to connect to from my laptop (running Mac OSX), but when I launch VMware within my VNC connection, it kills my VNC connection instantly. My VNC log file reads something like this (my VNC display is on 8):
Code:
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Logging to /tmp/vmware-jkuo/vmware-modconfig-31113.log
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
gnome-session[30747]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
ICE default IO error handler doing an exit(), pid = 30795, errno = 11
[1379426121,000,xklavier_config.c:xkl_config_registry_load_helper/] Missing registry file /usr/share/xmodmap/base.xml
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
** (gnome-settings-daemon:30773): WARNING **: Name taken or bus went away - shutting down
ICE default IO error handler doing an exit(), pid = 30794, errno = 11
(gnome-settings-daemon:30773): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':8'.
(gnome-fallback-mount-helper:30812): Gdk-WARNING **: gnome-fallback-mount-helper: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
(nautilus:30803): Gdk-WARNING **: nautilus: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
(gdu-notification-daemon:31025): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
(nm-applet:30800): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server:8.
(telepathy-indicator:31029): Gdk-WARNING **: telepathy-indicator: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
(update-notifier:31078): Gdk-WARNING **: update-notifier: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
vmware-tray: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
vmware: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
vmware-unity-helper: Fatal IO error 11 (Resource temporarily unavailable) on X server :8.
(vmware-unity-helper:32306): Gtk-WARNING **: cannot open display: :8
(vmware-unity-helper:32320): Gtk-WARNING **: cannot open display: :8
So at this point, my gut feeling is that VMware is fighting with X server over some display ports, and since I still have nightmares about manually configuring X11 configuration, I decide to try another way, which seems to work for now (but not very well):
I used an X11 client (XQuartz on the Mac) to ssh into my Linux host, and then launch vmware from the SSH command line. This works okay, but it's somewhat unstable. From time to time, certain keys become unresponsive and I am forced to re-launch X11, and sometimes I am unable to provision a new virtual machine, its screen just stays black when I start it up, and I have no choice but to put a monitor/keyboard/mouse on the Linux host.
So... I am not sure if this is a VMware issue, it's probably a mix of VMware + X display issue, and perhaps even a little Mac/XQuartz in there. I am hoping that someone here has done something similar, and maybe has already found a better solution.
At the end of the day, I am just lazy and don't want to switch mouse/keyboard, I just want to be able to provision virtual machines over a remote connection.
TIA