Problem With X On VM

Home » CentOS-Virt » Problem With X On VM
CentOS-Virt 7 Comments

I’ve got a CentOS 5 server with Xen installed. I’m trying to install a CentOS 6.5 VM on it but once all is installed, the X window will not sync or display. I think I understand that it’s probably due to the settings on the VNC stuff. I’ve got CentOS 6.2 VMs that act just fine.

Is there a way I can modify the VM’s screen settings either during installation or after installation?

Hope that makes sense. Thanks

steve campbell

7 thoughts on - Problem With X On VM

  • I am a bit confused, so let me flood this with usuless info:

    1. I use TigerVNC Viewer
    2. I take you mean the vm client installation step works fine but after that things get interesting.
    3. If I need to run GUI stuff inside a vm client, I run a VNC server in the said client and then do port forwarding. Also, you can then customize the VNC for that specific client. In fact, I like to keep the console I get from vort/libvirt text only and let VNC in client do the X11 thingie.

  • I use the default VNC that installs with CentOS. I’m using the default client that is installed with the CentOS 6 VM. I believe the default now is TigerVNC, which I think used to be TightVNC. The #2 above seems accurate to describe my problem.

    Again, I have a CentOS 5 server with Xen on it. I’m trying to install a CentOS 6 VM under that system. It’s a fully virtuallized VM. I can install the system just fine, but when it’s time to reboot and bring up the new VM , all I get is a bunch of garbage on the screen as if X11
    can’t start, over and over. I thought I read somewhere where this type of setup uses a VNC connection.

    Thanks

    steve

  • I forgot to mention – I’m using Virtual Machine Manager to create the VM. All of the screen stuff is done by that.

    steve

  • After installation:
    Why don’t you SSH into the running guest from the host and change the X11 config files from the command prompt?
    If sshd is not running on your guest then you can try to stop (shutdown)
    the guest and use libguestfs to modify files inside the VM’s disk.

  • I wasn’t aware I could do the libguestfs thing. But I’ll try both ways.

    Thanks steve