Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[SOLVED] gentoo as vmware guest --> X not working

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
ats2
Apprentice
Apprentice
Posts: 297
Joined: Fri Apr 22, 2005 9:56 am

[SOLVED] gentoo as vmware guest --> X not working

  • Quote

Post by ats2 » Wed Jul 15, 2009 4:27 pm

Hi,

As I said in the title, I can't get X working for my gentoo guest inside vmware. I have set the video driver to vmware, the mouse to vmmouse, my rc.conf points to gdm, /etc/conf.d/xdm too but when I issue a 'startx', All I get is a x terminal without mouse or keyboard (I have to log via ssh and kill the whole thing to get keyboard back.)
I have set 'exec gnome-session' in .xinitrc too. What's more, I have no error messages in Xorg.0.log or in /var/log/messages.

So I'm stuck here. Any help ? :)

PS : I've checked xf86-input-vmmouse and xf86-video-vmware are installed. They are.
Last edited by ats2 on Thu Jul 16, 2009 4:43 pm, edited 1 time in total.
Top
forkboy
Apprentice
Apprentice
User avatar
Posts: 200
Joined: Wed Nov 24, 2004 5:32 pm
Location: Blackpool, UK

  • Quote

Post by forkboy » Wed Jul 15, 2009 7:08 pm

Is hal running?

Code: Select all

/etc/init.d/hald start
Top
FuzzyRay
Retired Dev
Retired Dev
Posts: 79
Joined: Thu Oct 02, 2003 3:00 pm
Contact:
Contact FuzzyRay
Website

  • Quote

Post by FuzzyRay » Wed Jul 15, 2009 8:23 pm

I had to add the following to my Xorg.conf to get keyboard and mouse working correctly for me in the vmware guest.

Code: Select all

Section "ServerFlags"
        Option  "AutoAddDevices"    "false"
EndSection
Top
ats2
Apprentice
Apprentice
Posts: 297
Joined: Fri Apr 22, 2005 9:56 am

  • Quote

Post by ats2 » Thu Jul 16, 2009 4:43 pm

I needed both actually: hal wasn't started (stupid of me) and the line in xorg.conf was necessary too.
Everything's okay now.
Thanks to you both :D
Top
phajdan.jr
Retired Dev
Retired Dev
User avatar
Posts: 1777
Joined: Thu Mar 23, 2006 4:22 pm
Location: Poland
Contact:
Contact phajdan.jr
Website

  • Quote

Post by phajdan.jr » Sun Oct 11, 2009 6:01 pm

FuzzyRay wrote:I had to add the following to my Xorg.conf to get keyboard and mouse working correctly for me in the vmware guest.

Code: Select all

Section "ServerFlags"
        Option  "AutoAddDevices"    "false"
EndSection
For me keyboard and mouse were working properly, but mouse was not working in Unity mode. I tried applying this change, and it broke mouse for me, even in normal mode. Is there some way to force xorg to use vmmouse driver?
Top
s4e8
Guru
Guru
Posts: 311
Joined: Sat Jul 29, 2006 11:09 am

  • Quote

Post by s4e8 » Thu Oct 15, 2009 6:14 am

the vmmouse problem is: xf86-input-vmmouse install incorrect hal-probe-vmmouse. the right one is:

Code: Select all

gentoo tmp # cat /usr/libexec/hal-probe-vmmouse 
#!/bin/sh
# ................
[ -x /usr/bin/hal-set-property ] || exit 0
[ -x /usr/bin/vmmouse_detect ] || exit 0
/usr/bin/vmmouse_detect
if [ $? -eq 0 ]; then
   (
   for i in 0 1 2 3 4 5 6 7 8 9; do
   /usr/bin/hal-set-property --udi "$UDI" --key input.x11_driver --string "vmmouse"
   sleep 1
   done
   )&
fi

gentoo tmp # lshal -u /org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'
  info.callouts.add = {'hal-probe-vmmouse'} (string list)
  info.capabilities = {'input', 'input.mouse'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
  info.product = 'ImPS/2 Generic Wheel Mouse'  (string)
  info.subsystem = 'input'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'  (string)
  input.device = '/dev/input/event1'  (string)
  input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
  input.product = 'ImPS/2 Generic Wheel Mouse'  (string)
  input.x11_driver = 'vmmouse'  (string)
  linux.device_file = '/dev/input/event1'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input1/event1'  (string)
Top
Post Reply

6 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic