Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

6.15.2.2. SPICE를 사용하도록 가상 머신의 Tablet 및 Mouse 구성

/etc/X11/xorg.conf 파일을 편집하여 가상 머신의 사용자 지정 장치에 SPICE를 활성화합니다.

절차 6.38. SPICE를 사용하도록 가상 머신의 Tablet 및 Mouse 구성

  1. 게스트에서 타블릿 장치를 사용할 수 있는지 확인합니다.
    # /sbin/lsusb -v | grep 'QEMU USB Tablet'
    명령에 출력이 없는 경우 모블릿 구성을 계속 구성하지 마십시오.
  2. /etc/X11/xorg.conf 백업 :
    # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.$$.backup
  3. /etc/X11/xorg.conf 를 다음과 같이 변경합니다.
    Section "ServerLayout"
    Identifier     "single head configuration"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Tablet" "SendCoreEvents"
    InputDevice    "Mouse" "CorePointer"
    EndSection
    							 
    Section "InputDevice"
    Identifier  "Mouse"
    Driver      "void"
    #Option      "Device" "/dev/input/mice"
    #Option      "Emulate3Buttons" "yes"
    EndSection
    							 
    Section "InputDevice"
    Identifier  "Tablet"
    Driver      "evdev"
    Option      "Device" "/dev/input/event2"
    Option "CorePointer" "true"
    EndSection
  4. 로그아웃한 후 가상 머신에 다시 로그인하여 X-Windows를 다시 시작합니다.