[Trick] Use Keyboard + Mouse from Xorg to control another Xorg session

So you have two computers sitting together,  you don't have a kvm switch, and using two keyboards and mice is just plan annoying!
X2X is the solution. This program allows you to use your mouse and keyboard from Computer A on Computer B.
From the man page
x2x  allows the keyboard and mouse on one ("from") X display to be used to control another ("to") X display.
How to make it work?
Allow TCP from xorg on both systems
Edit /etc/X11/xinit/xserverrc and change
exec /usr/bin/X -nolisten tcp
to
exec /usr/bin/X
Computer A = computer that has the keyboard and mouse you want to use
Computer B = computer that does not have the keyboard and mouse you want to use hooked up to it
On Computer B run the command
xhost +ComputerA
Where ComputerA is the hostname/ip address of ComputerA
This allows ComputerA to connect to ComputerB's xorg server
On Computer A run the command
x2x -to ComputerB:0.0 -west
Where ComputerB is the hostname/ip address of ComputerB
Now on ComputerA you should be able to move the mouse left, off the screen, and be able to control ComputerB!
I use this to control my laptop using my desktop's mouse and keyboard. It's a lot easier than switching between my desktop keyboard/mouse and laptop keyboard/mouse!

diederick76 wrote:
I have used x2x for some time before I started using Arch, but recently I decided to start using it again to control my laptop from my desktop box. I have installed x2x on the laptop. However, when I do
# ssh -X laptop 'x2x -west -to :0'
I get:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 25 (X_SendEvent)
Resource id in failed request: 0x400001b
Serial number of failed request: 21
Current serial number in output stream: 21
I have tried following your howto, but I seem unable to start X with tcp support. I have changed /etc/X11/xinit/xserverrc as you instructed, but when I start X and issue
ps ax | grep X
from a console, I still get:
1670 tty7 Ss+ 0:15 /usr/bin/X -nolisten tcp vt07 -auth /var/run/slim.auth
Can you tell me what I'm missing? Are these at all related?
Thanks!
Today I was looking into this and got working very fast using this thread. Are you sure you restarted your X server after changing xserverrc? Are you sure your display is at :0?
Use
echo $DISPLAY
on the terminal to find out. Also you need x2x installed on both machines.
Last edited by quiquex (2011-11-08 18:59:08)

Similar Messages

  • I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?

    I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    If you have two displays attached, then the function to change from mirrored to extended Desktop will appear in System Prefs/Displays.

  • [solved] init 5 and logout from Xorg session -- crash

    Hi guys and gals!
    Hope this is the right forum.
    I have a strange issue here with restarting Xorg sessions. As long as I just boot up or use Ctrl+Alt+Backspace to start and shutdown X, there's no problem at all, session manager (kdm) comes up properly and everything is just fine. But if I logout from the environment  (KDE3), Xorg crashes and I get a black screen with a blinking cursor or even full of strange y" symbols on vc/7.
    On the other virtual consoles I'm able to run startx and this is still in runlevel 5!
    Here are the last 50 lines from Xorg.0.log after such a crash:
    (II) Initializing built-in extension XEVIE
    (II) Initializing extension GLX
    (**) Option "Protocol" "auto"
    (**) Mouse0: Device: "/dev/input/mice"
    (**) Mouse0: Protocol: "auto"
    (**) Option "CorePointer"
    (**) Mouse0: always reports core events
    (**) Option "Device" "/dev/input/mice"
    (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
    (**) Option "ZAxisMapping" "4 5 6 7"
    (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
    (**) Mouse0: Buttons: 11
    (**) Mouse0: Sensitivity: 1
    (**) Option "CoreKeyboard"
    (**) Keyboard0: always reports core events
    (**) Option "Protocol" "standard"
    (**) Keyboard0: Protocol: standard
    (**) Option "AutoRepeat" "500 30"
    (**) Option "XkbRules" "xorg"
    (**) Keyboard0: XkbRules: "xorg"
    (**) Option "XkbModel" "pc105"
    (**) Keyboard0: XkbModel: "pc105"
    (**) Option "XkbLayout" "de"
    (**) Keyboard0: XkbLayout: "de"
    (**) Option "XkbVariant" "nodeadkeys"
    (**) Keyboard0: XkbVariant: "nodeadkeys"
    (**) Option "CustomKeycodes" "off"
    (**) Keyboard0: CustomKeycodes disabled
    (II) evaluating device (Keyboard0)
    (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
    (II) evaluating device (Mouse0)
    (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
    (--) Mouse0: PnP-detected protocol: "ExplorerPS/2"
    (II) Mouse0: ps2EnableDataReporting: succeeded
    (II) NVIDIA(0): Setting mode "nvidia-auto-select"
    FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 3, should be 2; fixing.
    (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    (II) No APM support in BIOS or kernel
    (II) NVIDIA(0): Initialized GART.
    (II) NVIDIA(0): Setting mode "1280x1024"
    Backtrace:
    0: /usr/bin/X(xf86SigHandler+0x7e) [0x80e053e]
    1: [0xb7f7c420]
    2: /usr/lib/xorg/modules/drivers//nvidia_drv.so(_nv001216X+0xe5) [0xb71cf711]
    3: [0x1]
    Fatal server error:
    Caught signal 11. Server aborting
    BTW: nvidia-96xx 96.43.05-1
    Of course, I can switch to runlevel 3 and then 5 again to get a session manager, but you have to be root for this and I got other users here. So this is quite stupid.
    I can't remember to had this problem before, it seems to be since my update yesterday. Repositories only current, extra and community, pacnew files are all merged with my configs. Don't see any cause.
    Can anyone help me with this?
    Thanks.
    Last edited by Trac3R (2008-03-30 11:54:24)

    This is already in another thread : http://bbs.archlinux.org/viewtopic.php?id=43799
    It's probably a nvidia bug, but there is a workaround given at the end of the other thread.

  • How to transfer mouse from one computer to another

    I want to be able slide my mouse from my Macbook Pro to my Mac Pro. I use an App called teleport which allows me to do it but half the time it does not work. Id also like to use my keyboard on my laptop on my Mac Pro. Im sorry if this is confusing.
    Thanks for your help.
    John

    Teleport is the App you want to use, but you will want to contact Teleport's support for assistance on this, since the issue comes from this software. You can also use Synergy, though I haven't used either.

  • [solved]no keyboard/mouse after xorg-xinit upgrade (startxfce4 broken)

    Today's upgrade and subsequent downgrade (with testing repos disabled)
    [root@KISE-005 ~]# cat /var/log/pacman.log | grep 2015-03-17 | grep upgraded
    [2015-03-17 09:54] [ALPM] upgraded conky (1.9.0-4 -> 1.9.0-5)
    [2015-03-17 09:54] [ALPM] upgraded gsfonts (20130917-1 -> 20150122-1)
    [2015-03-17 09:54] [ALPM] upgraded libmatekbd (1.8.0-1 -> 1.8.1-1)
    [2015-03-17 09:54] [ALPM] upgraded libvdpau (1.0-1 -> 1.1-1)
    [2015-03-17 09:54] [ALPM] upgraded mate-desktop (1.8.1-2 -> 1.8.2-1)
    [2015-03-17 09:54] [ALPM] upgraded marco (1.8.2-4 -> 1.8.3-1)
    [2015-03-17 09:54] [ALPM] upgraded mate-settings-daemon-gstreamer (1.8.2-3 -> 1.8.3-1)
    [2015-03-17 09:54] [ALPM] upgraded python-setuptools (1:14.1.1-1 -> 1:14.3-1)
    [2015-03-17 09:54] [ALPM] upgraded python2-setuptools (1:14.1.1-1 -> 1:14.3-1)
    [2015-03-17 09:54] [ALPM] upgraded vim-runtime (7.4.617-1 -> 7.4.663-1)
    [2015-03-17 09:54] [ALPM] upgraded vim (7.4.617-1 -> 7.4.663-1)
    [2015-03-17 09:54] [ALPM] upgraded xdg-utils (1.1.0.git20141009-1 -> 1.1.0.git20150302-1)
    [2015-03-17 09:54] [ALPM] upgraded xorg-xinit (1.3.4-1 -> 1.3.4-2)
    [2015-03-17 09:56] [ALPM] upgraded insync (1.1.5-1 -> 1.2.1-1)
    [2015-03-17 09:59] [ALPM] upgraded ttf-google-fonts-git (20140805-1 -> 20150316-1)
    [root@KISE-005 ~]# cat /var/log/pacman.log | grep 2015-03-17 | grep downgraded
    [2015-03-17 10:56] [ALPM] downgraded libutil-linux (2.26.1-3 -> 2.25.2-1)
    [2015-03-17 10:56] [ALPM] downgraded libsystemd (219-3 -> 218-2)
    [2015-03-17 10:56] [ALPM] downgraded shadow (4.2.1-3 -> 4.2.1-2)
    [2015-03-17 10:56] [ALPM] downgraded util-linux (2.26.1-3 -> 2.25.2-1)
    [2015-03-17 10:56] [ALPM] downgraded systemd (219-3 -> 218-2)
    [2015-03-17 10:56] [ALPM] downgraded libcups (2.0.2-2 -> 2.0.2-1)
    [2015-03-17 10:56] [ALPM] downgraded cups (2.0.2-2 -> 2.0.2-1)
    [2015-03-17 10:56] [ALPM] downgraded libssh2 (1.5.0-1 -> 1.4.3-2)
    [2015-03-17 10:56] [ALPM] downgraded lib32-libssh2 (1.5.0-1 -> 1.4.3-2)
    [2015-03-17 10:56] [ALPM] downgraded lib32-libx11 (1.6.3-1 -> 1.6.2-1)
    [2015-03-17 10:56] [ALPM] downgraded lib32-util-linux (2.26-1 -> 2.25.2-1)
    [2015-03-17 10:57] [ALPM] downgraded linux (3.19.1-1 -> 3.18.6-1)
    [2015-03-17 10:57] [ALPM] downgraded nvidia (346.47-9 -> 346.47-3)
    [2015-03-17 10:57] [ALPM] downgraded systemd-sysvcompat (219-3 -> 218-2)
    [2015-03-17 10:57] [ALPM] downgraded vim-runtime (7.4.663-1 -> 7.4.617-1)
    [2015-03-17 10:57] [ALPM] downgraded vim (7.4.663-1 -> 7.4.617-1)
    [2015-03-17 10:57] [ALPM] downgraded xdg-utils (1.1.0.git20150302-1 -> 1.1.0.git20141009-1)
    [2015-03-17 10:57] [ALPM] downgraded xorg-xinit (1.3.4-2 -> 1.3.4-1)
    After upgrade the keyboard and mouse were unresponsive. Restored by downgrading with testing repos disabled.
    Also upgraded today with testing repos enabled was i686 and no anomalies detected.
    Xorg.0.log for failed boot is here http://pastebin.com/aarDvve2
    Last edited by keepitsimpleengineer (2015-03-24 19:30:45)

    hello ,
    after an upgrade yesterday , it is not possible to launch xfce4 on tty , when i do startxfce4 , i had this error :
    xinit giving up
    xinit unable to connect to x server ..................
    xinit server error
    this my xorg log :
    [   198.530]
    X.Org X Server 1.17.1
    Release Date: 2015-02-10
    [   198.536] X Protocol Version 11, Revision 0
    [   198.538] Build Operating System: Linux 3.18.6-1-ARCH i686
    [   198.540] Current Operating System: Linux eternity 3.14.36-1-lts #1 SMP Wed Mar 18 18:32:14 CET 2015 i686
    [   198.541] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=b52f032b-9579-4da9-9a9b-d15b4dd7e565 rw quiet
    [   198.545] Build Date: 14 March 2015  06:47:44PM
    [   198.547]
    [   198.550] Current version of pixman: 0.32.6
    [   198.554]    Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
    [   198.554] Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [   198.564] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 23 10:03:55 2015
    [   198.567] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [   198.567] (==) No Layout section.  Using the first Screen section.
    [   198.567] (==) No screen section available. Using defaults.
    [   198.567] (**) |-->Screen "Default Screen Section" (0)
    [   198.567] (**) |   |-->Monitor "<default monitor>"
    [   198.568] (==) No monitor specified for screen "Default Screen Section".
       Using a default monitor configuration.
    [   198.568] (==) Automatically adding devices
    [   198.568] (==) Automatically enabling devices
    [   198.568] (==) Automatically adding GPU devices
    [   198.568] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF/".
    [   198.568]    Entry deleted from font path.
    [   198.568]    (Run 'mkfontdir' on "/usr/share/fonts/OTF/").
    [   198.568] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [   198.568]    Entry deleted from font path.
    [   198.568]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [   198.568] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [   198.568]    Entry deleted from font path.
    [   198.568]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [   198.568] (==) FontPath set to:
       /usr/share/fonts/misc/,
       /usr/share/fonts/TTF/,
       /usr/share/fonts/Type1/
    [   198.568] (==) ModulePath set to "/usr/lib/xorg/modules"
    [   198.568] (II) The server relies on udev to provide the list of input devices.
       If no devices become available, reconfigure udev or disable AutoAddDevices.
    [   198.568] (II) Loader magic: 0x829e700
    [   198.568] (II) Module ABI versions:
    [   198.568]    X.Org ANSI C Emulation: 0.4
    [   198.568]    X.Org Video Driver: 19.0
    [   198.568]    X.Org XInput driver : 21.0
    [   198.568]    X.Org Server Extension : 9.0
    [   198.570] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
    [   198.571] (II) xfree86: Adding drm device (/dev/dri/card0)
    [   198.571] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
    [   198.573] (--) PCI:*(0:1:5:0) 1002:5a62:1043:1402 rev 0, Mem @ 0xa0000000/268435456, 0xfa8f0000/65536, I/O @ 0x00009800/256, BIOS @ 0x????????/131072
    [   198.573] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [   198.573] (II) LoadModule: "glx"
    [   198.574] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [   198.576] (II) Module glx: vendor="X.Org Foundation"
    [   198.576]    compiled for 1.17.1, module version = 1.0.0
    [   198.576]    ABI class: X.Org Server Extension, version 9.0
    [   198.576] (==) AIGLX enabled
    [   198.576] (==) Matched ati as autoconfigured driver 0
    [   198.576] (==) Matched ati as autoconfigured driver 1
    [   198.576] (==) Matched modesetting as autoconfigured driver 2
    [   198.576] (==) Matched fbdev as autoconfigured driver 3
    [   198.576] (==) Matched vesa as autoconfigured driver 4
    [   198.576] (==) Assigned the driver to the xf86ConfigLayout
    [   198.576] (II) LoadModule: "ati"
    [   198.576] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
    [   198.576] (II) Module ati: vendor="X.Org Foundation"
    [   198.576]    compiled for 1.17.0, module version = 7.5.0
    [   198.576]    Module class: X.Org Video Driver
    [   198.576]    ABI class: X.Org Video Driver, version 19.0
    [   198.576] (II) LoadModule: "radeon"
    [   198.576] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
    [   198.577] (II) Module radeon: vendor="X.Org Foundation"
    [   198.577]    compiled for 1.17.0, module version = 7.5.0
    [   198.577]    Module class: X.Org Video Driver
    [   198.577]    ABI class: X.Org Video Driver, version 19.0
    [   198.577] (II) LoadModule: "modesetting"
    [   198.577] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    [   198.577] (II) Module modesetting: vendor="X.Org Foundation"
    [   198.577]    compiled for 1.17.1, module version = 1.17.1
    [   198.577]    Module class: X.Org Video Driver
    [   198.577]    ABI class: X.Org Video Driver, version 19.0
    [   198.577] (II) LoadModule: "fbdev"
    [   198.577] (WW) Warning, couldn't open module fbdev
    [   198.577] (II) UnloadModule: "fbdev"
    [   198.577] (II) Unloading fbdev
    [   198.577] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [   198.577] (II) LoadModule: "vesa"
    [   198.578] (WW) Warning, couldn't open module vesa
    [   198.578] (II) UnloadModule: "vesa"
    [   198.578] (II) Unloading vesa
    [   198.578] (EE) Failed to load module "vesa" (module does not exist, 0)
    [   198.578] (II) RADEON: Driver for ATI Radeon chipsets:
       ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
       ATI Radeon Mobility X300 (M24) 3152 (PCIE),
       ATI FireGL M24 GL 3154 (PCIE), ATI FireMV 2400 3155 (PCI),
       ATI Radeon X600 (RV380) 3E50 (PCIE),
       ATI FireGL V3200 (RV380) 3E54 (PCIE), ATI Radeon IGP320 (A3) 4136,
       ATI Radeon IGP330/340/350 (A4) 4137, ATI Radeon 9500 AD (AGP),
       ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
       ATI FireGL Z1 AG (AGP), ATI Radeon 9800SE AH (AGP),
       ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
       ATI FireGL X2 AK (AGP), ATI Radeon 9600 AP (AGP),
       ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
       ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP), ATI Radeon 9650,
       ATI FireGL RV360 AV (AGP), ATI Radeon 7000 IGP (A4+) 4237,
       ATI Radeon 8500 AIW BB (AGP), ATI Radeon IGP320M (U1) 4336,
       ATI Radeon IGP330M/340M/350M (U2) 4337,
       ATI Radeon Mobility 7000 IGP 4437, ATI Radeon 9000/PRO If (AGP/PCI),
       ATI Radeon 9000 Ig (AGP/PCI), ATI Radeon X800 (R420) JH (AGP),
       ATI Radeon X800PRO (R420) JI (AGP),
       ATI Radeon X800SE (R420) JJ (AGP), ATI Radeon X800 (R420) JK (AGP),
       ATI Radeon X800 (R420) JL (AGP), ATI FireGL X3 (R420) JM (AGP),
       ATI Radeon Mobility 9800 (M18) JN (AGP),
       ATI Radeon X800 SE (R420) (AGP), ATI Radeon X800XT (R420) JP (AGP),
       ATI Radeon X800 VE (R420) JT (AGP), ATI Radeon X850 (R480) (AGP),
       ATI Radeon X850 XT (R480) (AGP), ATI Radeon X850 SE (R480) (AGP),
       ATI Radeon X850 PRO (R480) (AGP), ATI Radeon X850 XT PE (R480) (AGP),
       ATI Radeon Mobility M7 LW (AGP),
       ATI Mobility FireGL 7800 M7 LX (AGP),
       ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
       ATI FireGL Mobility 9000 (M9) Ld (AGP),
       ATI Radeon Mobility 9000 (M9) Lf (AGP),
       ATI Radeon Mobility 9000 (M9) Lg (AGP), ATI FireMV 2400 PCI,
       ATI Radeon 9700 Pro ND (AGP), ATI Radeon 9700/9500Pro NE (AGP),
       ATI Radeon 9600TX NF (AGP), ATI FireGL X1 NG (AGP),
       ATI Radeon 9800PRO NH (AGP), ATI Radeon 9800 NI (AGP),
       ATI FireGL X2 NK (AGP), ATI Radeon 9800XT NJ (AGP),
       ATI Radeon Mobility 9600/9700 (M10/M11) NP (AGP),
       ATI Radeon Mobility 9600 (M10) NQ (AGP),
       ATI Radeon Mobility 9600 (M11) NR (AGP),
       ATI Radeon Mobility 9600 (M10) NS (AGP),
       ATI FireGL Mobility T2 (M10) NT (AGP),
       ATI FireGL Mobility T2e (M11) NV (AGP), ATI Radeon QD (AGP),
       ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
       ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
       ATI Radeon 9100 QM (AGP), ATI Radeon 7500 QW (AGP/PCI),
       ATI Radeon 7500 QX (AGP/PCI), ATI Radeon VE/7000 QY (AGP/PCI),
       ATI Radeon VE/7000 QZ (AGP/PCI), ATI ES1000 515E (PCI),
       ATI Radeon Mobility X300 (M22) 5460 (PCIE),
       ATI Radeon Mobility X600 SE (M24C) 5462 (PCIE),
       ATI FireGL M22 GL 5464 (PCIE), ATI Radeon X800 (R423) UH (PCIE),
       ATI Radeon X800PRO (R423) UI (PCIE),
       ATI Radeon X800LE (R423) UJ (PCIE),
       ATI Radeon X800SE (R423) UK (PCIE),
       ATI Radeon X800 XTP (R430) (PCIE), ATI Radeon X800 XL (R430) (PCIE),
       ATI Radeon X800 SE (R430) (PCIE), ATI Radeon X800 (R430) (PCIE),
       ATI FireGL V7100 (R423) (PCIE), ATI FireGL V5100 (R423) UQ (PCIE),
       ATI FireGL unknown (R423) UR (PCIE),
       ATI FireGL unknown (R423) UT (PCIE),
       ATI Mobility FireGL V5000 (M26) (PCIE),
       ATI Mobility FireGL V5000 (M26) (PCIE),
       ATI Mobility Radeon X700 XL (M26) (PCIE),
       ATI Mobility Radeon X700 (M26) (PCIE),
       ATI Mobility Radeon X700 (M26) (PCIE),
       ATI Radeon X550XTX 5657 (PCIE), ATI Radeon 9100 IGP (A5) 5834,
       ATI Radeon Mobility 9100 IGP (U3) 5835,
       ATI Radeon XPRESS 200 5954 (PCIE),
       ATI Radeon XPRESS 200M 5955 (PCIE), ATI Radeon 9250 5960 (AGP),
       ATI Radeon 9200 5961 (AGP), ATI Radeon 9200 5962 (AGP),
       ATI Radeon 9200SE 5964 (AGP), ATI FireMV 2200 (PCI),
       ATI ES1000 5969 (PCI), ATI Radeon XPRESS 200 5974 (PCIE),
       ATI Radeon XPRESS 200M 5975 (PCIE),
       ATI Radeon XPRESS 200 5A41 (PCIE),
       ATI Radeon XPRESS 200M 5A42 (PCIE),
       ATI Radeon XPRESS 200 5A61 (PCIE),
       ATI Radeon XPRESS 200M 5A62 (PCIE),
       ATI Radeon X300 (RV370) 5B60 (PCIE),
       ATI Radeon X600 (RV370) 5B62 (PCIE),
       ATI Radeon X550 (RV370) 5B63 (PCIE),
       ATI FireGL V3100 (RV370) 5B64 (PCIE),
       ATI FireMV 2200 PCIE (RV370) 5B65 (PCIE),
       ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
       ATI Radeon Mobility 9200 (M9+) 5C63 (AGP),
       ATI Mobility Radeon X800 XT (M28) (PCIE),
       ATI Mobility FireGL V5100 (M28) (PCIE),
       ATI Mobility Radeon X800 (M28) (PCIE), ATI Radeon X850 5D4C (PCIE),
       ATI Radeon X850 XT PE (R480) (PCIE),
       ATI Radeon X850 SE (R480) (PCIE), ATI Radeon X850 PRO (R480) (PCIE),
       ATI unknown Radeon / FireGL (R480) 5D50 (PCIE),
       ATI Radeon X850 XT (R480) (PCIE),
       ATI Radeon X800XT (R423) 5D57 (PCIE),
       ATI FireGL V5000 (RV410) (PCIE), ATI Radeon X700 XT (RV410) (PCIE),
       ATI Radeon X700 PRO (RV410) (PCIE),
       ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X700 (RV410) (PCIE),
       ATI Radeon X700 SE (RV410) (PCIE), ATI Radeon X1800,
       ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800,
       ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300,
       ATI Mobility FireGL V7100, ATI Radeon X1800, ATI Radeon X1800,
       ATI Radeon X1800, ATI Radeon X1800, ATI Radeon X1800,
       ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505,
       ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL,
       ATI Mobility Radeon X1400, ATI Radeon X1300/X1550,
       ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300,
       ATI Mobility Radeon X1300, ATI Mobility Radeon X1300,
       ATI Mobility Radeon X1300, ATI Radeon X1300, ATI Radeon X1300,
       ATI RV505, ATI RV505, ATI FireGL V3300, ATI FireGL V3350,
       ATI Radeon X1300, ATI Radeon X1550 64-bit, ATI Radeon X1300/X1550,
       ATI Radeon X1600, ATI Radeon X1300/X1550, ATI Mobility Radeon X1450,
       ATI Radeon X1300/X1550, ATI Mobility Radeon X2300,
       ATI Mobility Radeon X2300, ATI Mobility Radeon X1350,
       ATI Mobility Radeon X1350, ATI Mobility Radeon X1450,
       ATI Radeon X1300, ATI Radeon X1550, ATI Mobility Radeon X1350,
       ATI FireMV 2250, ATI Radeon X1550 64-bit, ATI Radeon X1600,
       ATI Radeon X1650, ATI Radeon X1600, ATI Radeon X1600,
       ATI Mobility FireGL V5200, ATI Mobility Radeon X1600,
       ATI Radeon X1650, ATI Radeon X1650, ATI Radeon X1600,
       ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400,
       ATI Mobility FireGL V5250, ATI Mobility Radeon X1700,
       ATI Mobility Radeon X1700 XT, ATI FireGL V5200,
       ATI Mobility Radeon X1700, ATI Radeon X2300HD,
       ATI Mobility Radeon HD 2300, ATI Mobility Radeon HD 2300,
       ATI Radeon X1950, ATI Radeon X1900, ATI Radeon X1950,
       ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
       ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
       ATI Radeon X1900, ATI Radeon X1900, ATI Radeon X1900,
       ATI AMD Stream Processor, ATI Radeon X1900, ATI Radeon X1950,
       ATI RV560, ATI RV560, ATI Mobility Radeon X1900, ATI RV560,
       ATI Radeon X1950 GT, ATI RV570, ATI RV570, ATI FireGL V7400,
       ATI RV560, ATI Radeon X1650, ATI Radeon X1650, ATI RV560,
       ATI Radeon 9100 PRO IGP 7834, ATI Radeon Mobility 9200 IGP 7835,
       ATI Radeon X1200, ATI Radeon X1200, ATI Radeon X1200,
       ATI Radeon X1200, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI RS740,
       ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 XT,
       ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT,
       ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600,
       ATI Radeon 4800 Series, ATI Radeon HD 4870 x2,
       ATI Radeon 4800 Series, ATI Radeon HD 4850 x2,
       ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL),
       ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2,
       ATI Radeon 4800 Series, ATI FirePro RV770, AMD FireStream 9270,
       AMD FireStream 9250, ATI FirePro V8700 (FireGL),
       ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98,
       ATI Mobility RADEON HD 4870, ATI Radeon 4800 Series,
       ATI Radeon 4800 Series, ATI FirePro M7750, ATI M98, ATI M98, ATI M98,
       ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP),
       ATI Mobility Radeon HD 4670, ATI FirePro M5750,
       ATI Mobility Radeon HD 4670, ATI Radeon RV730 (AGP),
       ATI RV730XT [Radeon HD 4670], ATI RADEON E4600,
       ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650],
       ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL),
       ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830,
       ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740,
       ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI Radeon HD 4770,
       ATI FirePro M5750, ATI RV610, ATI Radeon HD 2400 XT,
       ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000,
       ATI RV610, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT,
       ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610,
       ATI FireMV 2260, ATI RV670, ATI Radeon HD3870,
       ATI Mobility Radeon HD 3850, ATI Radeon HD3850,
       ATI Mobility Radeon HD 3850 X2, ATI RV670,
       ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2,
       ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3850,
       ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550,
       ATI Radeon RV710, ATI Radeon RV710, ATI Radeon RV710,
       ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series,
       ATI Mobility Radeon 4500 Series, ATI Mobility Radeon 4500 Series,
       ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630,
       ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT,
       ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP,
       ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630,
       ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600,
       ATI FireGL V3600, ATI Radeon HD 2600 LE,
       ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470,
       ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series,
       ATI Radeon HD 3450, ATI Radeon HD 3450, ATI Radeon HD 3430,
       ATI Radeon HD 3450, ATI FirePro V3700, ATI FireMV 2450,
       ATI FireMV 2260, ATI FireMV 2260, ATI Radeon HD 3600 Series,
       ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO,
       ATI Radeon HD 3600 XT, ATI Radeon HD 3600 PRO,
       ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670,
       ATI Mobility FireGL V5700, ATI Mobility FireGL V5725,
       ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
       ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics,
       ATI Radeon HD 3300 Graphics, ATI Radeon HD 3200 Graphics,
       ATI Radeon 3000 Graphics, SUMO, SUMO, SUMO2, SUMO2, SUMO2, SUMO2,
       SUMO, SUMO, SUMO2, SUMO, SUMO, SUMO, SUMO, SUMO, ATI Radeon HD 4200,
       ATI Radeon 4100, ATI Mobility Radeon HD 4200,
       ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250,
       AMD Radeon HD 6310 Graphics, AMD Radeon HD 6310 Graphics,
       AMD Radeon HD 6250 Graphics, AMD Radeon HD 6250 Graphics,
       AMD Radeon HD 6300 Series Graphics,
       AMD Radeon HD 6200 Series Graphics, PALM, PALM, PALM, CYPRESS,
       ATI FirePro (FireGL) Graphics Adapter,
       ATI FirePro (FireGL) Graphics Adapter,
       ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370,
       AMD Firestream 9350, ATI Radeon HD 5800 Series,
       ATI Radeon HD 5800 Series, ATI Radeon HD 5800 Series,
       ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series,
       ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series,
       ATI Mobility Radeon HD 5800 Series,
       ATI FirePro (FireGL) Graphics Adapter,
       ATI FirePro (FireGL) Graphics Adapter,
       ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series,
       ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
       ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series,
       ATI Mobility Radeon HD 5000 Series,
       ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570,
       ATI FirePro (FireGL) Graphics Adapter,
       ATI FirePro (FireGL) Graphics Adapter, ATI Radeon HD 5670,
       ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD,
       ATI Mobility Radeon HD 5000 Series,
       ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon Graphics,
       ATI Mobility Radeon Graphics, CEDAR,
       ATI FirePro (FireGL) Graphics Adapter,
       ATI FirePro (FireGL) Graphics Adapter, ATI FirePro 2270, CEDAR,
       ATI Radeon HD 5450, CEDAR, CEDAR, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
       CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN, CAYMAN,
       AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
       CAYMAN, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series,
       BARTS, BARTS, Mobility Radeon HD 6000 Series,
       Mobility Radeon HD 6000 Series, BARTS, BARTS, BARTS, BARTS,
       AMD Radeon HD 6800 Series, AMD Radeon HD 6800 Series,
       AMD Radeon HD 6700 Series, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
       TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
       TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS, TURKS,
       CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS,
       CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, CAICOS, ARUBA, ARUBA,
       ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
       ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
       ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, ARUBA,
       ARUBA, ARUBA, ARUBA, ARUBA, ARUBA, TAHITI, TAHITI, TAHITI, TAHITI,
       TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI, TAHITI,
       TAHITI, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
       PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN, PITCAIRN,
       VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
       VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE, VERDE,
       VERDE, VERDE, VERDE, VERDE, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
       OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND, OLAND,
       HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, HAINAN, BONAIRE, BONAIRE,
       BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE,
       BONAIRE, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
       KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
       KABINI, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
       MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS, MULLINS,
       MULLINS, MULLINS, MULLINS, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
       KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
       KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
       KAVERI, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,
       HAWAII, HAWAII, HAWAII, HAWAII, HAWAII
    [   198.591] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    [   198.591] (--) using VT number 2
    [   198.642] (II) [KMS] Kernel modesetting enabled.
    [   198.642] (WW) Falling back to old probe method for modesetting
    [   198.642] (II) RADEON(0): Creating default Display subsection in Screen section
       "Default Screen Section" for depth/fbbpp 24/32
    [   198.642] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
    [   198.642] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
    [   198.642] (==) RADEON(0): Default visual is TrueColor
    [   198.642] (==) RADEON(0): RGB weight 888
    [   198.642] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
    [   198.642] (--) RADEON(0): Chipset: "ATI Radeon XPRESS 200M 5A62 (PCIE)" (ChipID = 0x5a62)
    [   198.642] (EE) RADEON(0): [drm] failed to set drm interface version.
    [   198.642] (EE) RADEON(0): Kernel modesetting setup failed
    [   198.642] (II) UnloadModule: "radeon"
    [   198.643] (EE) Screen(s) found, but none have a usable configuration.
    [   198.643] (EE)
    Fatal server error:
    [   198.643] (EE) no screens found(EE)
    [   198.643] (EE)
    Please consult the The X.Org Foundation support
        at http://wiki.x.org
    for help.
    [   198.643] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [   198.643] (EE)
    [   198.673] (EE) Server terminated with error (1). Closing log file.
       so i think i have module and/or config problem , what i need to do to recover server X ????
         thx .

  • [SOLVED]No Keyboard/Mouse on Xorg

    Hi,
    After an update a few days ago, my network devices weren't working anymore, but running dhcpcd could fix that. Today i updated again and used pacdiff to merge some new configs (i can't remember which one - great i know) and now there is no reaction of my input devices when xorg is started. As long as i boot into init3 everything is ok. Some ideas what i could have messed up?
    Thanks
    VR
    EDIT: I just realised that HAL fails to start
    EDIT2: Ok seems that i've accidentially deleted hal from /etc/groups. Input works again but network is as dead as before...weird.
    Last edited by VirtualRider (2010-02-05 12:54:59)

    EDIT: oops - never mind - forgot to add the hal group to new /etc/groups file. Still Solved!:rolleyes:
    Similar problem here - after merging old /etc/groups file into new groups config file, my mouse and keyboard become dead. I use qingy in runlevel 3 to login and that works. Booting into my fallback (and not yet updated) Arch system, I reactivated the old /etc/groups config (which I had saved ) and the mouse and keyboard work again.
    Can anyone save me from a line-by-line examination of the new /etc/groups file? What is the problem here? Without a working keyboard or mouse it is difficult to diagnose this on a running system.
    Last edited by sonoran (2010-02-06 23:06:08)

  • How to use stored script from with Grid Control 10gR2

    HI
    My backup method uses a stored script in the recovery catalog that is separated from Grid Control's repository database.
    In Scheduled Backup, there is no way to connect to recovery catalog; let alone use stored script. Is that true?
    Thanks,
    Kevin

    it works, here is a test case , I use this functionality a lot
    $connected from HOST
    rman target / catalog <mycatalog>
    connected to target database: TOPAZ (DBID=3348250252)
    connected to recovery catalog database
    RMAN> create script testbackup
    2> {backup current controlfile;
    3> }
    created script testbackup
    RMAN> run {execute script testbackup;}
    executing script: testbackup
    Starting backup at 12-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=217 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=251 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=200 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=337 devtype=DISK
    allocated channel: ORA_DISK_5
    channel ORA_DISK_5: sid=182 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_DISK_1: starting piece 1 at 12-JUN-07
    channel ORA_DISK_1: finished piece 1 at 12-JUN-07
    piece handle=/rman_backup/d_TOPAZ_s_12344_p_1_t_625077001 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 12-JUN-07
    Starting Control File and SPFILE Autobackup at 12-JUN-07
    piece handle=/rman_backup/c-3348250252-20070612-06 comment=NONE
    Finished Control File and SPFILE Autobackup at 12-JUN-07
    NOW in grid control I have configured my Recovery catalog settings, check for OS username , that should be owner of oracle home for recover catalog
    I schedule a RMAN backup job with these parameters in script
    {execute script testbackup;}
    Status          Running
         Step ID          203585
         Targets          topaz.ucas.ac.uk
         Started          12-Jun-2007 16:34:56 (UTC+01:00)
         Step Elapsed Time          1 minutes, 37 seconds
         Management Service          stardb1:4889_Management_Service
         TIP      Management Service from which the job step was dispatched.
    Output Log
    Recovery Manager: Release 9.2.0.6.0 - 64bit Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN>
    connected to target database: TOPAZ (DBID=3348250252)
    RMAN>
    connected to recovery catalog database
    RMAN>
    echo set on
    RMAN> {execute script testbackup;}
    2> exit;
    executing script: testbackup
    Starting backup at 12-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=164 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=134 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=22 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=198 devtype=DISK
    allocated channel: ORA_DISK_5
    channel ORA_DISK_5: sid=145 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_DISK_1: starting piece 1 at 12-JUN-07
    channel ORA_DISK_1: finished piece 1 at 12-JUN-07
    piece handle=/rman_backup/d_TOPAZ_s_12346_p_1_t_625077300 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 12-JUN-07
    Starting Control File and SPFILE Autobackup at 12-JUN-07
    piece handle=/rman_backup/c-3348250252-20070612-07 comment=NONE
    Finished Control File and SPFILE Autobackup at 12-JUN-07
    null

  • NEWBIE-Using Mighty Mouse scroll wheel to control Color's SMH wheels

    Hi, new here & new to Color, working thru Ripples iTunes Color tutorials right now. Loving Color so far. I hope to be back with less rudimentary questions one day but here's the 1st:
    Lacking a dedicated hardware interface, I'd hoped the Might Mouse scroll wheel would drive the shadow midtone and hilight wheels. I've tried various permutations in system prefs but no dice. Have I missed something? Thank you.

    nadsta, I've found using a ShuttlePRO2 unit very handy. It's cheap, and I can map whatever shortcut I want, and then I use a Wacom tablet for the color wheel adjustments.
    I've mapped the ShuttlePRO to jump between grade 1-4, and the different rooms I use the most (primary in/out, secondaries, color fx), turning grade on/off, set/delete keyframes and adjust keyframe type, two buttons for ALT/OPT and SHIFT modifiers which comes in very handy for selecting and adding to a color selection (in secondaries for instance) or holding ALT while click-and-drag in the color wheels and different parameters around the interface.
    It's not perfect, but I can at least do some things in less time than I would using the keyboard.

  • Lion will not recognize keyboard/mouse from sleep mode

    I recently installed Lion onto my relatively new (1 year) iMac.  Works fine, but when left unattended and it goes into sleep mode, the computer will not recognize the keyboard or mouse and I can't do anything but reboot the whole thing.
    Any suggestions?  Thought I'd try this before calling Apple Support.
    thanks

    With Lion, a mouse move will not wake, only a mouse click, or keyboard (i.e. hitting the spacbar).
    This does not appear to be your problem.  I would try an SMC Reset and a PRAM Reset

  • How do i deactivate my wireless mouse from one mac for another

    I have two macs in our home.  My wireless mouse continues to sync with my other mac in a different room.  how do I make it so that it only syncs with the one in front of the computer I'm using?

    To delete it from one machine you need to open the Bluetooth system preferences, select the device in the list on the left, and click the minus near the bottom. 
    On the other machine pair it either again using the Bluetooth preferences (this time using the plus near the bottom to add a device) or the mouse preferences (Setup bluttooth mouse).
    Note you need to un-pair (delete) it first from the one the mouse is currently paired to before you can pair it with the other machine.

  • Using a variable from one class in another

    For learning purposes, I thought I'd have a stab at making a role-playing RPG.
    The first class I made was the Player class;
    public class Player
         public static void main(String[] args)
              // [0] being base points and  [1] being skill points
              int[] points = {50, 10};
              // Elements in statNames are relevent to stats, so stats[0] is health, and so on
              String[] statNames = {"Health", "Mana", "Attack", "Magic", "Craft"};
              int[] stats = new int[5];
         public static String setName()
              Scanner input = new Scanner(System.in);
              System.out.print("Character name: ");
              String name = input.nextLine();
              return name;
         public static void setHealth(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Health (" + points[0] + " base points remanining): ");
              stats[0] = input.nextInt();
              points[0] -= stats[0];
            public static void setMana(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Mana (" + points[0] + " base points remanining): ");
              stats[1] = input.nextInt();
              points[0] -= stats[1];
         public static void setAttack(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Attack (" + points[1] + " skill points remanining): ");
              stats[2] = input.nextInt();
              points[1] -= stats[2];
         public static void setMagic(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Magic (" + points[1] + " skill points remanining): ");
              stats[3] = input.nextInt();
              points[1] -= stats[3];
         public static void setCraft(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Craft (" + points[1] + " skill points remanining): ");
              stats[4] = input.nextInt();
              points[1] -= stats[4];
         public static void setStats(int[] points, int[] stats)
              setHealth(points, stats);
              setMana(points, stats);
              setAttack(points, stats);
              setMagic(points, stats);
              setCraft(points, stats);
         public static void charSummary(String name, String[] statNames, int[] stats)
              System.out.println("\n------  " + name);
              for(int index = 0; index < stats.length; index++)
                   System.out.println(statNames[index] + ":\t" + stats[index]);
    }And that would be used in the Play class;
    public class Play
         public static void main(String[] args)
              Player player = new Player();
              String name = player.setName();
              player.setStats(points, stats);
         }     But I'm not sure how the Play class will get the arrays from the Player class. I tried simply putting public in front of the them, for example;
    public String[] statNames = {"Health", "Mana", "Attack", "Magic", "Craft"};But I get an illegal start of expression error.
    I may have taken the wrong approach to this all together, I'm completely new, so feel free to suggest anything else. Sorry for any ambiguity.
    Edited by: xcd on Jan 6, 2010 8:12 AM
    Edited by: xcd on Jan 6, 2010 8:12 AM

    HI XCD ,
    what about making Player class as
    public class Player
              // [0] being base points and  [1] being skill points
              int[] points = {50, 10};
              // Elements in statNames are relevent to stats, so stats[0] is health, and so on
              public String[] statNames = {"Health", "Mana", "Attack", "Magic", "Craft"};
              int[] stats = new int[5];
         public String setName()
              Scanner input = new Scanner(System.in);
              System.out.print("Character name: ");
              String name = input.nextLine();
              return name;
         public void setHealth(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Health (" + points[0] + " base points remanining): ");
              stats[0] = input.nextInt();
              points[0] -= stats[0];
            public void setMana(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Mana (" + points[0] + " base points remanining): ");
              stats[1] = input.nextInt();
              points[0] -= stats[1];
         public void setAttack(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Attack (" + points[1] + " skill points remanining): ");
              stats[2] = input.nextInt();
              points[1] -= stats[2];
         public void setMagic(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Magic (" + points[1] + " skill points remanining): ");
              stats[3] = input.nextInt();
              points[1] -= stats[3];
         public void setCraft(int[] points, int[] stats)
              Scanner input = new Scanner(System.in);
              System.out.print("Craft (" + points[1] + " skill points remanining): ");
              stats[4] = input.nextInt();
              points[1] -= stats[4];
         public void setStats(int[] points, int[] stats)
              setHealth(points, stats);
              setMana(points, stats);
              setAttack(points, stats);
              setMagic(points, stats);
              setCraft(points, stats);
         public void charSummary(String name, String[] statNames, int[] stats)
              System.out.println("\n------  " + name);
              for(int index = 0; index < stats.length; index++)
                   System.out.println(statNames[index] + ":\t" + stats[index]);
         }and Play class
    public class Play
         public static void main(String[] args)
              Player player = new Player();
              String name = player.setName();
              player.setStats(points, stats);
         }Now you can access names , you can't assign keyword to variable into method scope , make it class variable .
    Hope it help :)

  • Using a variable from one class to another

    Hi !
    I've a class called ModFam (file ModFam.java) where I define a variable as
    protected Connection dbconn;
    Inside ModFam constructor I said:
    try
    String url = "jdbc:odbc:baselocal";
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    dbconn = DriverManager.getConnection(url);
    System.err.println("Connection successful");
    } ..... rest of code
    This class define a TabbedPane as follows:
    tabbedPane.addTab("Welcome",null,new Familias(),"Familias");
    As you can see it call a new instance of the Familias class (file Familias.java).
    This constructor will try to connect with the DB to populate a combo box with some data retireved from the DB.
    If I do
    Statement stmt;
    stmt = dbconn.createStatement();
    inside Familias constructor I receive the message
    Familias.java:50: cannot resolve symbol
    symbol : variable dbconn
    location: class fam.Familias
    stmt = dbconn.createStatement();
    at compile time.
    While I can�t use a variable defined as "protected" in one class of my package on another class of the same package ?
    How could I do ?
    Thanks in advance
    <jl>

    Familias doesn't have a reference to ModFam or the Connection.
    So change the constructor in Familias to be
    public class Familias {
      private ModFam modFam;
      public Familias(ModFam m) {
        modFam = m;
    // ... somewhere else in the code
    Statement stmt = modFam.dbconn.createStatement();
    }or
    public class Familias {
      private Connection dbconn;
      public Familias(Connection c) {
        dbconn = c;
    // ... somewhere else in the code
    Statement stmt = dbconn.createStatement();
    }And when you instantiate Familias it should then be
    new Familias(this) // ModFam reference
    or
    new Familias(dbconn)

  • Using enum's from one class in another?

    heya,
    I have two classes, Predator and Simulation, and Predator has an public enum 'target' inside it.
    Simulation needs to use a switch statement based on target (Simulation contains a list of Predators, and I'm returning type target to Simulation), but I am getting errors when compiling the two classes from the commandline (for some weird reason, it works fine in Eclipse - both classes are in a package 'lepidoptera', which I originally thoguht was the issue).
    Errors are like (5 of these):
    Simulation.java:64: an enum switch case label must be the unqualified name of an enumeration constant
                    case (mimic):Any ideas?
    Thanks,
    Victor

    This works for moi:
    public class Predator {
        public enum Target {SEITAN, TOFU, TEMPEH}
    public class Simulation {
        public static String f(Predator.Target target) {
            switch(target) {
                case SEITAN:
                    return "yuck";
                case TOFU:
                    return "ugh";
                case TEMPEH:
                    return "crikey";
                default:
                    return "nuts";
        public static void main(String[] args) {
            System.out.println(f(Predator.Target.SEITAN));
            System.out.println(f(Predator.Target.TOFU));
            System.out.println(f(Predator.Target.TEMPEH));
    }And do you know that an enum can be a top level class? In other
    words, that you can create the one-line file Target.java:
    public enum Target {SEITAN, TOFU, TEMPEH}

  • Using Variables/Arrays from one class in another

    Hello all,
    First, to explain what I am attempting to create, is a program that will accept input of employee names and hours worked into an array. The first class will accept a command line argument when invoked. If the argument is correct, it will call another class that will gather information from the user via an input box. After all names and hours have been input for employees, this class will calculate the salary based upon the first letter of each employee name and print the total hours, salary, etc. for each employee.
    What I need to do now is to split the second class into two: one that will gather the data and another that will calculate and print the data. Yes, this is an assignment. However, I am trying to learn and I have gotten this far, but I am stuck on how to get a class to be able to use an array/variables from another class.
    I realize the below code isn't exactly cleaned up...yet.
    Code for AverageSalaryGather class:
    import javax.swing.JOptionPane; // uses class JOptionPane
    import java.lang.reflect.Array;     
    import java.math.*;
    public class AverageSalaryGather {
         public static void gatherData() {     
              char[] alphaArray = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','x','y','z'};
              String[][] empInfoArray = new String[100][4];
              String[] empNameArray = new String[100];
              String finalOutput = "Name - Rate - Hours - Total Pay\n";
              String averageHoursOutput = "Average Hours Worked:\n";
              String averageSalaryOutput = "Average Hourly Salary:\n";
              String averageGroupSalaryOutput = "Average Group Salary:\n";
                        String[] rateArray = new String[26];
                        char empNameChar = 'a';
              int empRate = 0;
              int payRate = 0;
                        for (int i = 0; i < 26; i++) {
                   payRate = i + 5;
                   rateArray[i] = Integer.toString(payRate);
                        int countJoo = 0;
              while (true) {
                   String namePrompt = "Please enter the employee name: ";
                   String empName = JOptionPane.showInputDialog(namePrompt);
                                  if (empName == null | empName.equals("")) {
                        break;
                   else {
                        empInfoArray[countJoo][0] = empName;
                        for (int i = 0; i < alphaArray.length; i++) {
                             empNameChar = empName.toLowerCase().charAt(0);
                                                      if (alphaArray[i] == empNameChar) {
                                  empInfoArray[countJoo][1] = rateArray;
                                  break;
                        countJoo++;
              // DecimalFormat dollarFormat = new DecimalFormat("$#0.00");
              for (int i = 0; i < empInfoArray.length; i++) {
                   if (!(empInfoArray[i][0] == null)) {
                        String hourPrompt = "Please enter hours for " + empInfoArray[i][0] + ": ";
                        String empHours = JOptionPane.showInputDialog(hourPrompt);
                        int test = 0;
                        empInfoArray[i][2] = empHours;
                        // convert type String to double
                        //double tmpPayRate = Double.parseDouble(empInfoArray[i][1]);
                        //double tmpHours = Double.parseDouble(empInfoArray[i][2]);
                        //double tmpTotalPay = tmpPayRate * tmpHours;
                        // create via a string in empInfoArray
                             BigDecimal bdRate = new BigDecimal(empInfoArray[i][1]);
                             BigDecimal bdHours = new BigDecimal(empInfoArray[i][2]);
                             BigDecimal bdTotal = bdRate.multiply(bdHours);
                             bdTotal = bdTotal.setScale(2, RoundingMode.HALF_UP);
                             String strTotal = bdTotal.toString();
                             empInfoArray[i][3] = strTotal;
                        //String strTotalPay = Double.toString(tmpTotalPay);
                        //empInfoArray[i][3] = dollarFormat.format(tmpTotalPay);
                        else {
                             break;
              AverageSalaryCalcAndPrint averageSalaryCalcAndPrint = new AverageSalaryCalcAndPrint();
              averageSalaryCalcAndprint.calcAndPrint();
    Code for AverageSalaryCalcAndPrint class (upon compiling, there are more than a few complie errors, and that is due to me cutting/pasting the code from the other class into the new class and the compiler does not know how to access the array/variables from the gatherData class):
    import javax.swing.JOptionPane; // uses class JOptionPane
    import java.lang.reflect.Array;
    import java.math.*;
    public class AverageSalaryCalcAndPrint
         public static void calcAndPrint() {     
              AverageSalaryGather averageSalaryGather = new AverageSalaryGather();
              double totalHours = 0;
              double averageHours = 0;
              double averageSalary = 0;
              double totalSalary = 0;
              double averageGroupSalary = 0;
              double totalGroupSalary = 0;
              int countOfArray = 0;
              for (int i = 0; i < empInfoArray.length; i++) {
                   if (!(empInfoArray[0] == null)) {
                        totalSalary = totalSalary + Double.parseDouble(empInfoArray[i][1]);
                        totalHours = totalHours + Double.parseDouble(empInfoArray[i][2]);
                        totalGroupSalary = totalGroupSalary + Double.parseDouble(empInfoArray[i][3]);
                        countOfArray = i;
              averageHours = totalHours / (countOfArray + 1);
              averageSalary = totalSalary / (countOfArray + 1);
              averageGroupSalary = totalGroupSalary / (countOfArray + 1);
              String strAverageHourlySalary = Double.toString(averageSalary);
              String strAverageHours = Double.toString(averageHours);
              String strAverageGroupSalary = Double.toString(averageGroupSalary);
              for (int i = 0; i < empInfoArray.length; i++) {
                   if (!(empInfoArray[i][0] == null)) {
                        finalOutput = finalOutput + empInfoArray[i][0] + " - " + "$" + empInfoArray[i][1] + "/hr" + " - " + empInfoArray[i][2] + " - " + "$" + empInfoArray[i][3] + "\n";
              averageHoursOutput = averageHoursOutput + strAverageHours + "\n";
              averageSalaryOutput = averageSalaryOutput + strAverageHourlySalary + "\n";
              averageGroupSalaryOutput = averageGroupSalaryOutput + strAverageGroupSalary + "\n";
              JOptionPane.showMessageDialog(null, finalOutput + averageHoursOutput + averageSalaryOutput + averageGroupSalaryOutput, "Totals", JOptionPane.PLAIN_MESSAGE );

    Call the other class's methods. (In general, you
    shouldn't even try to access fields from the other
    class.) Also you should be looking at an
    instance of the other class, and not the class
    itself, generally.Would I not call the other classes method's by someting similar as below?:
    AverageSalaryCalcAndPrint averageSalaryCalcAndPrint = new AverageSalaryCalcAndPrint();
              averageSalaryCalcAndprint.calcAndPrint(); Well... don't break down classes based on broad steps
    of the program. Break them down by the information
    being managed. I'm not expressing this well...Could you give an example of this? I'm not sure I'm following well.
    Anyway, you want one or more objects that represent
    the data, and operations on that data. Those
    operations include calculations on the data. Other
    classes might represent the user interface, and
    different output types (say, a file versus the
    console).Yes, the requirements is to have a separate class to gather the data, and then another class to calculate and print the data. Is this what you mean in the above?

  • Using an audio from one video to another

    I am trying to make a documentary type film and I want to use an audio segment from one video to overlap another video's audio while using the second video just for the video. Here is an example of it.
    http://www.youtube.com/watch?v=9u7dJXDhOjc
    Im trying to acheive what they did for the first 15 seconds of this clip. I use movie 08.

    This is easy in iMovie 09.
    Here is [how to do it in iMovie 08|http://imovie08.blogspot.com/2007/08/how-to-extract-audio-from-clip.html]

Maybe you are looking for

  • My 4S crashed when wanted to install 8.1.3

    My 4S crashed when wanted to install 8.1.3, and now I can't restore or update from iTunes 'Cos it says: "there was a problem downloading the software for the iphone. The network connection was reset.".... and also I get "error 3253". I'm on windows 8

  • Barcoding in smartform(urgent)

    Hi folks,   i am printing <b>2D barcode</b> in smartform by using PDF 417.it's somewhat large in size. but my customer wants the data matrix format for barcoding so that the barcode can be display in a smaller size.   does SAP supports <b><u>DATA MAT

  • Why did my number of posts get reset?

    I have a few hundred posts since 2006.  Suddenly a couple days ago the number was reset to 0.  I didn't create a new account.  Did set "remember me" at signin. Not sure its a big deal but..... Tom

  • HT5457 Can not get passbook to work?

    How do I get the new passbook app to work?

  • Storage characteristics of Partitions

    Hi , We have got multiple partitions(each for 6 months worth data). Can we have some of these partitions to be stored offline (on tapes/magnetic disks etc.,) and some online in SAN storage. If we do so, can we access the data from offline Partitions