[SOLVED]manually set resolv.conf nameserver when using netcfg

This is probably simple, but i can't seem to find the answer anywhere (wiki/google/forums), so if someone could point me in  the right direction that would be great!
When netcfg brings up my wireless connection it automatically overwrites my nameserver settings in /etc/resolv.conf
how do i set it up so that it keeps my settings?
Last edited by stevesutt89 (2009-02-23 21:58:27)

Use DNS=()
DNS=(192.123.123.123 167.21.51.12)
There is also SEARCH= and DOMAIN= if needed.
Last edited by iphitus (2009-02-21 10:22:36)

Similar Messages

  • [SOLVED] Question about resolv.conf

    I successfully configured my Arch box with a static IP by following the instructions on the Arch wiki page here but had a couple of questions about configuring /etc/resolv.conf:
    1) What is the proper way to obtain the domain name that should be inserted into resolv.conf?
    2) What exactly is this domain name used for?  I read the man page but still don't really understand it.  Why do I need a domain name if I already have a working set of nameservers to resolve IP addresses?
    EDIT: @ewaller Yes I edited the OP because I realized that my original problem was that I just hadn't added a domain name in my resolv.conf file.  I edited my original post because 1) the instructions are already posted clearly on Arch Wiki so my post really wouldn't be beneficial and 2) so I could ask my real question without making other people waste their time reading through my other nonsense
    Last edited by choogi (2010-09-09 04:06:45)

    yejun wrote:You can just use public dns like 8.8.8.8 or 4.2.2.1. There's no other way to get dnsserver besides dhcp.
    Yes, I know how to get a nameserver, but I'm asking about the domain name that goes in resolv.conf.  The Arch wiki tutorial for setting up static IP uses the following resolv.conf as an example:
    nameserver 61.23.173.5
    nameserver 61.95.849.8
    search example.com
    My question has to do with what the "search example.com" does.  I don't have a domain name associated with my machine, but if I remove that line, then I get "web page unavailable" when I try to load any web site, which suggests that I'm not connecting to any nameservers right?

  • [SOLVED]Xorg crash with some applications when using double screen

    Hi,
    I have a TV that I often use to watch dvd from my computer, and to do that I've set it up as a second screen in my xorg.conf, but on a daily basis I use a xorg.conf file with only my main screen. Up until last week I was able to use my second screen without problem, but yesterday I tried and it crashed instantly.
    So I ran a few tests, amsn and vlc seems to be 2 applications that makes X crash (though there might be other, but I seem to be able to use chromium firefox and ktorrent just fine).
    My WM is not to blame, I've launched X without any WM and vlc still makes X crash.
    The problem does not happen when using a single screen.
    I thought that my xorg.conf might be the problem, so I used nvidia-settings to create a new one, but that didn't change anything.
    Here are my xorg.conf used for dual screen, and the logfile from the Xorg crash:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder62) Wed May 27 01:58:49 PDT 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "1"
    EndSection
    Section "Files"
    EndSection
    Section "ServerFlags"
    Option "Xinerama" "1"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbLayout" "fr"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Lite-On e1770NSL/T"
    HorizSync 30.0 - 70.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
    EndSection
    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "CRT-1"
    HorizSync 31.5 - 64.0
    VertRefresh 56.0 - 75.0
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8800 GT"
    BusID "PCI:1:0:0"
    Screen 0
    EndSection
    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8800 GT"
    BusID "PCI:1:0:0"
    Screen 1
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "CRT-0: 1280x1024 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen1"
    Device "Device1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "CRT-1: 1360x768 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    [ 12049.854]
    X.Org X Server 1.9.0
    Release Date: 2010-08-20
    [ 12049.855] X Protocol Version 11, Revision 0
    [ 12049.855] Build Operating System: Linux 2.6.34-ARCH x86_64
    [ 12049.855] Current Operating System: Linux Arch 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010 x86_64
    [ 12049.855] Kernel command line: root=/dev/disk/by-uuid/132b76f3-06e9-4838-944f-43ac4deccebb ro
    [ 12049.855] Build Date: 24 August 2010 01:44:37PM
    [ 12049.855]
    [ 12049.855] Current version of pixman: 0.18.4
    [ 12049.856] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 12049.856] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 12049.856] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 5 17:25:50 2010
    [ 12049.857] (==) Using config file: "/etc/X11/xorg.conf"
    [ 12049.857] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 12049.857] (==) ServerLayout "Layout0"
    [ 12049.857] (**) |-->Screen "Screen0" (0)
    [ 12049.857] (**) | |-->Monitor "Monitor0"
    [ 12049.857] (**) | |-->Device "Device0"
    [ 12049.857] (**) |-->Screen "Screen1" (1)
    [ 12049.857] (**) | |-->Monitor "Monitor1"
    [ 12049.857] (**) | |-->Device "Device1"
    [ 12049.857] (**) |-->Input Device "Keyboard0"
    [ 12049.857] (**) |-->Input Device "Mouse0"
    [ 12049.857] (**) Option "Xinerama" "1"
    [ 12049.857] (==) Automatically adding devices
    [ 12049.857] (==) Automatically enabling devices
    [ 12049.857] (**) Xinerama: enabled
    [ 12049.857] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 12049.857] Entry deleted from font path.
    [ 12049.857] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 12049.857] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 12049.857] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 12049.857] (WW) Disabling Keyboard0
    [ 12049.857] (WW) Disabling Mouse0
    [ 12049.857] (II) Loader magic: 0x7d4880
    [ 12049.857] (II) Module ABI versions:
    [ 12049.857] X.Org ANSI C Emulation: 0.4
    [ 12049.857] X.Org Video Driver: 8.0
    [ 12049.857] X.Org XInput driver : 11.0
    [ 12049.857] X.Org Server Extension : 4.0
    [ 12049.858] (--) PCI:*(0:1:0:0) 10de:0611:1462:1170 rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/131072
    [ 12049.858] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 12049.858] (II) LoadModule: "extmod"
    [ 12049.858] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 12049.858] (II) Module extmod: vendor="X.Org Foundation"
    [ 12049.858] compiled for 1.9.0, module version = 1.0.0
    [ 12049.858] Module class: X.Org Server Extension
    [ 12049.858] ABI class: X.Org Server Extension, version 4.0
    [ 12049.858] (II) Loading extension MIT-SCREEN-SAVER
    [ 12049.858] (II) Loading extension XFree86-VidModeExtension
    [ 12049.858] (II) Loading extension XFree86-DGA
    [ 12049.858] (II) Loading extension DPMS
    [ 12049.858] (II) Loading extension XVideo
    [ 12049.858] (II) Loading extension XVideo-MotionCompensation
    [ 12049.858] (II) Loading extension X-Resource
    [ 12049.858] (II) LoadModule: "dbe"
    [ 12049.859] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 12049.859] (II) Module dbe: vendor="X.Org Foundation"
    [ 12049.859] compiled for 1.9.0, module version = 1.0.0
    [ 12049.859] Module class: X.Org Server Extension
    [ 12049.859] ABI class: X.Org Server Extension, version 4.0
    [ 12049.859] (II) Loading extension DOUBLE-BUFFER
    [ 12049.859] (II) LoadModule: "glx"
    [ 12049.859] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 12049.866] (II) Module glx: vendor="NVIDIA Corporation"
    [ 12049.867] compiled for 4.0.2, module version = 1.0.0
    [ 12049.867] Module class: X.Org Server Extension
    [ 12049.867] (II) NVIDIA GLX Module 256.53 Fri Aug 27 20:50:26 PDT 2010
    [ 12049.867] (II) Loading extension GLX
    [ 12049.867] (II) LoadModule: "record"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 12049.867] (II) Module record: vendor="X.Org Foundation"
    [ 12049.867] compiled for 1.9.0, module version = 1.13.0
    [ 12049.867] Module class: X.Org Server Extension
    [ 12049.867] ABI class: X.Org Server Extension, version 4.0
    [ 12049.867] (II) Loading extension RECORD
    [ 12049.867] (II) LoadModule: "dri"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 12049.867] (II) Module dri: vendor="X.Org Foundation"
    [ 12049.867] compiled for 1.9.0, module version = 1.0.0
    [ 12049.867] ABI class: X.Org Server Extension, version 4.0
    [ 12049.867] (II) Loading extension XFree86-DRI
    [ 12049.867] (II) LoadModule: "dri2"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 12049.867] (II) Module dri2: vendor="X.Org Foundation"
    [ 12049.867] compiled for 1.9.0, module version = 1.2.0
    [ 12049.867] ABI class: X.Org Server Extension, version 4.0
    [ 12049.867] (II) Loading extension DRI2
    [ 12049.867] (II) LoadModule: "nvidia"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 12049.868] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 12049.868] compiled for 4.0.2, module version = 1.0.0
    [ 12049.868] Module class: X.Org Video Driver
    [ 12049.868] (II) NVIDIA dlloader X Driver 256.53 Fri Aug 27 20:29:45 PDT 2010
    [ 12049.868] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 12049.868] (--) using VT number 7
    [ 12049.869] (II) Loading sub module "fb"
    [ 12049.869] (II) LoadModule: "fb"
    [ 12049.869] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 12049.870] (II) Module fb: vendor="X.Org Foundation"
    [ 12049.870] compiled for 1.9.0, module version = 1.0.0
    [ 12049.870] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 12049.870] (II) Loading sub module "wfb"
    [ 12049.870] (II) LoadModule: "wfb"
    [ 12049.870] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 12049.870] (II) Module wfb: vendor="X.Org Foundation"
    [ 12049.870] compiled for 1.9.0, module version = 1.0.0
    [ 12049.870] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 12049.870] (II) Loading sub module "ramdac"
    [ 12049.870] (II) LoadModule: "ramdac"
    [ 12049.870] (II) Module "ramdac" already built-in
    [ 12049.870] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [ 12049.870] (==) NVIDIA(0): RGB weight 888
    [ 12049.870] (==) NVIDIA(0): Default visual is TrueColor
    [ 12049.870] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 12049.870] (**) NVIDIA(0): Option "TwinView" "0"
    [ 12049.870] (**) NVIDIA(0): Option "MetaModes" "CRT-0: 1280x1024 +0+0"
    [ 12049.870] (**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "CRT-0"
    [ 12049.870] (**) NVIDIA(0): Enabling RENDER acceleration
    [ 12049.870] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    [ 12049.870] (II) NVIDIA(0): enabled.
    [ 12049.955] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
    [ 12049.957] (II) NVIDIA(0): NVIDIA GPU GeForce 8800 GT (G92) at PCI:1:0:0 (GPU-0)
    [ 12049.957] (--) NVIDIA(0): Memory: 524288 kBytes
    [ 12049.957] (--) NVIDIA(0): VideoBIOS: 62.92.23.00.00
    [ 12049.957] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 12049.957] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    [ 12049.957] (--) NVIDIA(0): Connected display device(s) on GeForce 8800 GT at PCI:1:0:0:
    [ 12049.957] (--) NVIDIA(0): Lite-On e1770NSL/T (CRT-0)
    [ 12049.957] (--) NVIDIA(0): CRT-1
    [ 12049.957] (--) NVIDIA(0): Lite-On e1770NSL/T (CRT-0): 400.0 MHz maximum pixel clock
    [ 12049.957] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
    [ 12049.960] (II) NVIDIA(0): Display Device found referenced in MetaMode: CRT-0
    [ 12049.967] (II) NVIDIA(0): Assigned Display Device: CRT-0
    [ 12049.967] (II) NVIDIA(0): Validated modes:
    [ 12049.967] (II) NVIDIA(0): "CRT-0:1280x1024+0+0"
    [ 12049.967] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
    [ 12049.999] (--) NVIDIA(0): DPI set to (101, 108); computed from "UseEdidDpi" X config
    [ 12049.999] (--) NVIDIA(0): option
    [ 12049.999] (WW) NVIDIA(0): 32-bit ARGB GLX visuals are not currently supported with the
    [ 12049.999] (WW) NVIDIA(0): Xinerama extension.
    [ 12049.999] (WW) NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
    [ 12049.999] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
    [ 12049.999] (==) NVIDIA(1): RGB weight 888
    [ 12049.999] (==) NVIDIA(1): Default visual is TrueColor
    [ 12049.999] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
    [ 12049.999] (**) NVIDIA(1): Option "TwinView" "0"
    [ 12049.999] (**) NVIDIA(1): Option "MetaModes" "CRT-1: 1360x768 +0+0"
    [ 12049.999] (**) NVIDIA(1): Enabling RENDER acceleration
    [ 12049.999] (II) NVIDIA(1): NVIDIA GPU GeForce 8800 GT (G92) at PCI:1:0:0 (GPU-0)
    [ 12049.999] (--) NVIDIA(1): Memory: 524288 kBytes
    [ 12049.999] (--) NVIDIA(1): VideoBIOS: 62.92.23.00.00
    [ 12049.999] (II) NVIDIA(1): Detected PCI Express Link width: 16X
    [ 12049.999] (--) NVIDIA(1): Interlaced video modes are supported on this GPU
    [ 12049.999] (--) NVIDIA(1): Connected display device(s) on GeForce 8800 GT at PCI:1:0:0:
    [ 12049.999] (--) NVIDIA(1): Lite-On e1770NSL/T (CRT-0)
    [ 12049.999] (--) NVIDIA(1): CRT-1
    [ 12049.999] (--) NVIDIA(1): Lite-On e1770NSL/T (CRT-0): 400.0 MHz maximum pixel clock
    [ 12049.999] (--) NVIDIA(1): CRT-1: 400.0 MHz maximum pixel clock
    [ 12050.002] (II) NVIDIA(1): Display Device found referenced in MetaMode: CRT-1
    [ 12050.006] (II) NVIDIA(1): Assigned Display Device: CRT-1
    [ 12050.006] (WW) NVIDIA(1): No valid modes for "CRT-1:1360x768+0+0"; removing.
    [ 12050.006] (WW) NVIDIA(1):
    [ 12050.006] (WW) NVIDIA(1): Unable to validate any modes; falling back to the default mode
    [ 12050.006] (WW) NVIDIA(1): "nvidia-auto-select".
    [ 12050.006] (WW) NVIDIA(1):
    [ 12050.006] (II) NVIDIA(1): Validated modes:
    [ 12050.006] (II) NVIDIA(1): "nvidia-auto-select"
    [ 12050.006] (II) NVIDIA(1): Virtual screen size determined to be 1024 x 768
    [ 12050.009] (WW) NVIDIA(1): Unable to get display device CRT-1's EDID; cannot compute DPI
    [ 12050.009] (WW) NVIDIA(1): from CRT-1's EDID.
    [ 12050.009] (==) NVIDIA(1): DPI set to (75, 75); computed from built-in default
    [ 12050.009] (WW) NVIDIA(1): 32-bit ARGB GLX visuals are not currently supported with the
    [ 12050.009] (WW) NVIDIA(1): Xinerama extension.
    [ 12050.009] (WW) NVIDIA(1): Disabling 32-bit ARGB GLX visuals.
    [ 12050.009] (--) Depth 24 pixmap format is 32 bpp
    [ 12050.009] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
    [ 12050.010] (II) NVIDIA(0): Initialized GPU GART.
    [ 12050.014] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 12050.014] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 12050.014] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 12050.014] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 12050.014] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 12050.014] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 12050.014] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 12050.014] (II) NVIDIA(0): Config Options in the README.
    [ 12050.017] (II) NVIDIA(0): Setting mode "CRT-0:1280x1024+0+0"
    [ 12050.049] (II) Loading extension NV-GLX
    [ 12050.064] (II) NVIDIA(0): Initialized OpenGL Acceleration
    [ 12050.071] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 12050.071] (II) NVIDIA(0): Initialized X Rendering Acceleration
    [ 12050.071] (==) NVIDIA(0): Backing store disabled
    [ 12050.071] (==) NVIDIA(0): Silken mouse enabled
    [ 12050.085] (**) NVIDIA(0): DPMS enabled
    [ 12050.085] (II) Loading extension NV-CONTROL
    [ 12050.085] (II) Loading sub module "dri2"
    [ 12050.085] (II) LoadModule: "dri2"
    [ 12050.085] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 12050.085] (II) NVIDIA(0): [DRI2] Setup complete
    [ 12050.085] (==) RandR enabled
    [ 12050.086] (II) NVIDIA(1): Initialized GPU GART.
    [ 12050.090] (II) NVIDIA(1): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 12050.090] (II) NVIDIA(1): may not be running or the "AcpidSocketPath" X
    [ 12050.090] (II) NVIDIA(1): configuration option may not be set correctly. When the
    [ 12050.090] (II) NVIDIA(1): ACPI event daemon is available, the NVIDIA X driver will
    [ 12050.090] (II) NVIDIA(1): try to use it to receive ACPI event notifications. For
    [ 12050.090] (II) NVIDIA(1): details, please see the "ConnectToAcpid" and
    [ 12050.090] (II) NVIDIA(1): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 12050.090] (II) NVIDIA(1): Config Options in the README.
    [ 12050.090] (II) NVIDIA(1): Setting mode "nvidia-auto-select"
    [ 12050.145] (II) NVIDIA(1): Initialized OpenGL Acceleration
    [ 12050.149] (==) NVIDIA(1): Disabling shared memory pixmaps
    [ 12050.149] (II) NVIDIA(1): Initialized X Rendering Acceleration
    [ 12050.149] (==) NVIDIA(1): Backing store disabled
    [ 12050.149] (==) NVIDIA(1): Silken mouse enabled
    [ 12050.157] (==) NVIDIA(1): DPMS enabled
    [ 12050.158] (II) Loading sub module "dri2"
    [ 12050.158] (II) LoadModule: "dri2"
    [ 12050.158] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 12050.158] (II) NVIDIA(1): [DRI2] Setup complete
    [ 12050.158] (==) RandR enabled
    [ 12050.158] (II) Initializing built-in extension Generic Event Extension
    [ 12050.158] (II) Initializing built-in extension SHAPE
    [ 12050.158] (II) Initializing built-in extension MIT-SHM
    [ 12050.158] (II) Initializing built-in extension XInputExtension
    [ 12050.158] (II) Initializing built-in extension XTEST
    [ 12050.158] (II) Initializing built-in extension BIG-REQUESTS
    [ 12050.158] (II) Initializing built-in extension SYNC
    [ 12050.158] (II) Initializing built-in extension XKEYBOARD
    [ 12050.158] (II) Initializing built-in extension XC-MISC
    [ 12050.158] (II) Initializing built-in extension SECURITY
    [ 12050.158] (II) Initializing built-in extension XINERAMA
    [ 12050.158] (II) Initializing built-in extension XFIXES
    [ 12050.158] (II) Initializing built-in extension RENDER
    [ 12050.158] (II) Initializing built-in extension RANDR
    [ 12050.158] (II) Initializing built-in extension COMPOSITE
    [ 12050.158] (II) Initializing built-in extension DAMAGE
    [ 12050.160] (II) Initializing extension GLX
    [ 12050.367] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 12050.367] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 12050.367] (II) LoadModule: "evdev"
    [ 12050.367] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 12050.367] (II) Module evdev: vendor="X.Org Foundation"
    [ 12050.367] compiled for 1.9.0, module version = 2.5.0
    [ 12050.367] Module class: X.Org XInput Driver
    [ 12050.367] ABI class: X.Org XInput driver, version 11.0
    [ 12050.367] (**) Power Button: always reports core events
    [ 12050.367] (**) Power Button: Device: "/dev/input/event3"
    [ 12050.375] (--) Power Button: Found keys
    [ 12050.375] (II) Power Button: Configuring as keyboard
    [ 12050.376] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
    [ 12050.376] (**) Option "xkb_rules" "evdev"
    [ 12050.376] (**) Option "xkb_model" "evdev"
    [ 12050.376] (**) Option "xkb_layout" "us"
    [ 12050.399] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [ 12050.399] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 12050.399] (**) Power Button: always reports core events
    [ 12050.399] (**) Power Button: Device: "/dev/input/event2"
    [ 12050.415] (--) Power Button: Found keys
    [ 12050.415] (II) Power Button: Configuring as keyboard
    [ 12050.415] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
    [ 12050.415] (**) Option "xkb_rules" "evdev"
    [ 12050.415] (**) Option "xkb_model" "evdev"
    [ 12050.415] (**) Option "xkb_layout" "us"
    [ 12050.416] (II) config/udev: Adding input device UVC Camera (046d:0802) (/dev/input/event4)
    [ 12050.416] (**) UVC Camera (046d:0802): Applying InputClass "evdev keyboard catchall"
    [ 12050.416] (**) UVC Camera (046d:0802): always reports core events
    [ 12050.416] (**) UVC Camera (046d:0802): Device: "/dev/input/event4"
    [ 12050.428] (--) UVC Camera (046d:0802): Found keys
    [ 12050.428] (II) UVC Camera (046d:0802): Configuring as keyboard
    [ 12050.428] (II) XINPUT: Adding extended input device "UVC Camera (046d:0802)" (type: KEYBOARD)
    [ 12050.428] (**) Option "xkb_rules" "evdev"
    [ 12050.428] (**) Option "xkb_model" "evdev"
    [ 12050.428] (**) Option "xkb_layout" "us"
    [ 12050.430] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/event5)
    [ 12050.431] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Applying InputClass "evdev pointer catchall"
    [ 12050.431] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): always reports core events
    [ 12050.431] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Device: "/dev/input/event5"
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found 3 mouse buttons
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found scroll wheel(s)
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found relative axes
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found x and y relative axes
    [ 12050.442] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Configuring as mouse
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): YAxisMapping: buttons 4 and 5
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 12050.442] (II) XINPUT: Adding extended input device "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" (type: MOUSE)
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) keeping acceleration scheme 1
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration profile 0
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration factor: 2.000
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration threshold: 4
    [ 12050.442] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): initialized for relative axes.
    [ 12050.442] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/mouse0)
    [ 12050.442] (II) No input driver/identifier specified (ignoring)
    [ 12050.444] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 12050.444] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 12050.444] (**) AT Translated Set 2 keyboard: always reports core events
    [ 12050.444] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 12050.458] (--) AT Translated Set 2 keyboard: Found keys
    [ 12050.458] (II) AT Translated Set 2 keyboard: Configuring as keyboard
    [ 12050.458] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
    [ 12050.458] (**) Option "xkb_rules" "evdev"
    [ 12050.458] (**) Option "xkb_model" "evdev"
    [ 12050.458] (**) Option "xkb_layout" "us"
    [ 12050.459] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
    [ 12050.459] (II) No input driver/identifier specified (ignoring)
    [ 12057.008]
    Backtrace:
    [ 12057.008] 0: X (xorg_backtrace+0x28) [0x49f558]
    [ 12057.008] 1: X (0x400000+0x67939) [0x467939]
    [ 12057.008] 2: /lib/libpthread.so.0 (0x7f6c851f4000+0xf1c0) [0x7f6c852031c0]
    [ 12057.008] 3: X (0x400000+0x130355) [0x530355]
    [ 12057.008] 4: X (0x400000+0x2a2e1) [0x42a2e1]
    [ 12057.008] 5: X (0x400000+0x2123e) [0x42123e]
    [ 12057.008] 6: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f6c84187c4d]
    [ 12057.008] 7: X (0x400000+0x20de9) [0x420de9]
    [ 12057.008] Segmentation fault at address 0x4
    [ 12057.008]
    Fatal server error:
    [ 12057.008] Caught signal 11 (Segmentation fault). Server aborting
    [ 12057.008]
    [ 12057.008]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 12057.008] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 12057.008]
    [ 12057.019] (II) Power Button: Close
    [ 12057.019] (II) UnloadModule: "evdev"
    [ 12057.032] (II) Power Button: Close
    [ 12057.032] (II) UnloadModule: "evdev"
    [ 12057.045] (II) UVC Camera (046d:0802): Close
    [ 12057.045] (II) UnloadModule: "evdev"
    [ 12057.069] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Close
    [ 12057.069] (II) UnloadModule: "evdev"
    [ 12057.082] (II) AT Translated Set 2 keyboard: Close
    [ 12057.082] (II) UnloadModule: "evdev"
    Last edited by Azriel (2010-10-06 15:09:27)

    Sorry this doesn't really help with the Xinerama problem, but since you are using the nvidia driver, have you considered using Twinview instead? You could do composite stuff too with Twinview - last I knew, Xinerama had problems with things that want to use compositing. I don't know how your setup is but if you're not set on using Xinerama, it might be an option to consider.

  • How do you set the line spacing when using the Append Text Table to Report VI?

    I have a table of numbers which I wish to print using the report generation VI's. Since each column has a different numerical format, I first convert the number for each cell to a string with the appropriate format and then build a string array to pass to the Append Text Table to Report VI. The table is printed with double line spacing. How do I reset this for single spacing?
    Attachments:
    print_array.vi ‏112 KB

    Dave,
    The issue is not with the NI-Reports functionality, but the Array to Spreadsheet String funvtion in the for loop. Here is the context help for this function:
    "Converts an array of any dimension to a table in string form, containing tabs separating column elements, a platform-dependent EOL character separating rows, and, for arrays of three or more dimensions, headers separating pages."
    The thing to note here is that it says it adds an EOL (end of line) character at the end of every row. This is what is happening. Your first column of data has a \r\n in it and adds the second row to each data item. This in turn makes the rest of the columns have a larege blank space at the bottom so that all of the cell heights are equal. I w
    ould re-write that little bit of code so that you just do one large string concatenation of number, spaces, number, spaces, number and this should solve your issue.
    Thank you for using the Developer Zone Discussion Forums.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • How to set "Files of type" when using a "File Browse" item.

    Apex 4.0.2
    Internet Explorer 7 +
    I have a "File Browse" item on a page and need to limit the types of files display to just "text (.txt)" files. How can this be done? Currently, the "Files of type" list shows "All File (*.*)", "Pictures (*.gif,*.png)", and HTML (*.htm,*.html)". In the best case, I would like to not have the "Files of type" list and have the user just limited to text files. However, adding Text files (*.txt)" to the "Files of type" list is ok.
    thanks,
    William

    Thought i'd do a bit of research after seeing Scotts wonderful ideas.
    So it turns out, IE made the file item read only from version 8, for security reasons. Read more: http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx
    File Upload Control
    Historically, the HTML File Upload Control (<input type=file>) has been the source of a significant number of information disclosure vulnerabilities. To resolve these issues, two changes were made to the behavior of the control.
    To block attacks that rely on “stealing” keystrokes to surreptitiously trick the user into typing a local file path into the control, the File Path edit box is now read-only. The user must explicitly select a file for upload using the File Browse dialog.
    Additionally, the “Include local directory path when uploading files” URLAction has been set to "Disable" for the Internet Zone. This change prevents leakage of potentially sensitive local file-system information to the Internet. For instance, rather than submitting the full path C:\users\ericlaw\documents\secret\image.png, Internet Explorer 8 will now submit only the filename image.png.To resetting the actual items, suggestions I found were to replace the actual item. So instead of using $s, I just replace the element, with the existing element, causing it to re-initialise.
    var htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    function fileCheck(el){
        if(el.value){
            var validFile = false;
            var validExtensions = ["csv"];
            var filename = el.value;
            var fileExtIndex = filename.lastIndexOf(".");
            var fileExt = filename.substring(fileExtIndex+1, filename.length);
            for(i = 0; i < validExtensions.length; i++){
                if(validExtensions[i] == fileExt){
                    validFile = true;
                    break;
            if ( !validFile || fileExtIndex == -1) {
                alert("Invalid Extension. Permitted files must end with: " + validExtensions.toString());
                var htmlContents = el.outerHTML || new XMLSerializer().serializeToString(el);
                $('#P16_BINARY').replaceWith(htmlContents);
    }(obviously, replacing what you need to, to suit your page - i prefer scotts idea of passing in supported file types in the function, so would just pass in an array instead; but this is just for demonstration)
    with an onchange="checkFile(this)" on the element attributes.
    On a slightly un-related note, I found out IE doesn't support the wonderful indexOf function on arrays, that checks for the existence of the value in an array. Sucks.
    Edited by: trent
    Ah well, jQuery is there, maybe i should use that for searching arrays in the future.
    http://api.jquery.com/jQuery.inArray/
    Edited by: trent
    Forgot a demo link, for csv files: http://apex.oracle.com/pls/apex/f?p=45448:16
    Edited by: trent
    Modify function. Didn't work in Firefox

  • [SOLVED] Trouble setting up KVM VGA passthrough using vfio

    Hi all!
    In the past two weeks I've set up my first LFS build using Arch and everything is working great! Well, almost everything.
    I'm trying to get a VM set up with vfio for Windows gaming but I'm having trouble and I don't know where to look to fix this... Following this guide: https://bbs.archlinux.org/viewtopic.php?id=162768
    I have compiled and am running AUR\linux-vfio, with amd_iommu=on and my processor supports virtualization. pci-stubs holding on to the card to be virtualized.
    Cobbled together specs - The 7850 is my host and the 7870 is to be passed to the VM.
    OS: Arch Linux
    Kernel: x86_64 Linux 4.0.4-2-vfio
    CPU: AMD Phenom II X4 955 @ 3.2GHz
    01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850] [1002:6819]
    01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
    02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] [1002:6818]
    02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]
    When I try to run the test in the linked thread, I get the following:
    archdeckstawp% qemu-system-x86_64 -enable-kvm -m 1024 -cpu host,kvm=off \
    > -smp 4,sockets=1,cores=4,threads=1 \
    > -device vfio-pci,host=02:00.0,x-vga=on -device vfio-pci,host=02:00.1 \
    > -vga none
    qemu-system-x86_64: -device vfio-pci,host=02:00.0,x-vga=on: vfio: error no iommu_group for device
    qemu-system-x86_64: -device vfio-pci,host=02:00.0,x-vga=on: Device initialization failed
    qemu-system-x86_64: -device vfio-pci,host=02:00.0,x-vga=on: Device 'vfio-pci' could not be initialized
    I checked dmesg and found the following errors, and a patch linked here from Bumblebee, but I don't believe this is the issue so I haven't tried it yet - going to investigate more: https://github.com/Bumblebee-Project/Bu … nt-5804686
    archdeckstawp% dmesg | grep vgaarb
    [ 0.347409] vgaarb: setting as boot device: PCI:0000:01:00.0
    [ 0.347411] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
    [ 0.347413] vgaarb: device added: PCI:0000:02:00.0,decodes=io+mem,owns=none,locks=none
    [ 0.347415] vgaarb: loaded
    [ 0.347416] vgaarb: bridge control possible 0000:02:00.0
    [ 0.347417] vgaarb: bridge control possible 0000:01:00.0
    [ 17.814588] vgaarb: this pci device is not a vga device
    ... 22 times ...
    [ 17.814761] vgaarb: this pci device is not a vga device
    [ 17.814778] vgaarb: device changed decodes: PCI:0000:02:00.0,olddecodes=io+mem,decodes=none:owns=none
    [ 17.814794] vgaarb: this pci device is not a vga device
    ... 3 times ...
    [ 17.814848] vgaarb: this pci device is not a vga device
    For some strange reason I feel like virtualization isn't working on my machine. I've checked the BIOS, virtualization is enabled... I just can't get iommu turned on. Any ideas?
    Last edited by SkySky (2015-06-12 01:14:22)

    So after a bit more research, looks like my motherboard doesn't support IOMMU... http://forums.tweaktown.com/gigabyte/39 … witch.html
    [ 0.000000] AGP: Please enable the IOMMU option in the BIOS setup
    [ 1.949134] AMD IOMMUv2 driver by Joerg Roedel <[email protected]>
    [ 1.949136] AMD IOMMUv2 functionality not available on this system
    Blah, looks like I have to build a new system (or at least get a new mobo) to get this figured out. I've put in a ticket with gigabyte for my mobo to see if they'll do anything for me, but I doubt it...
    I'm hesitant to mark this as solved... would anyone have any ideas on how I could get this working otherwise?

  • "cannot resolve symbol" error when using super.paintComponent

    I am trying to override the paintComponent method in a class extending a JFrame, but when I call super.paintComponent(g) from inside the overridden method I get the error
    QubicGUI.java:63: cannot resolve symbol
    symbol : method paintComponent (java.awt.Graphics)
    location: class javax.swing.JFrame
    super.paintComponent(g);
    ^
    1 error
    I can't see where I am deviating from examples I know work. It is a very small program, so I have included it here:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.IOException;
    import javax.imageio.ImageIO;
    import java.net.URL;
    class QubicGUI extends JFrame
         private int width;
         private int height;
         private Image background;
         public int getWidth()
         {     return width;     }
         public int getHeight()
         {     return height;     }
         public boolean isOpaque()
    return true;
         public QubicGUI()
              super("Qubic"); //set title
              // The following gets the default screen device for the purpose of finding the
              // current settings of height and width of the screen
         GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
              GraphicsDevice device = environment.getDefaultScreenDevice();
              DisplayMode display = device.getDisplayMode();
              width = display.getWidth();
              height = display.getHeight();
              // Here we set the window to cover the entire screen with a black background, and
              // remove the decorations. (This includes the title bar and close, minimize and
              // maximize buttons and the border)
              setUndecorated(false);
              setVisible(true);
              setSize(width,height);
              setResizable(false);
              setBackground(Color.black);
              // Initializes the background Image
              Image background = Toolkit.getDefaultToolkit().getImage("background.gif");
              // This is included for debugging with a decorated window.
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    } // end constructor
              public void paintComponent(Graphics g)
                   super.paintComponent(g);     
              } // end paintComponenet
    } // end QubicGUI

    Two things I want to know:
    1. I was trying to access a variable as JLabel
    myLabel; defined in the constructor of a class from
    the constructor of another class. I got this error
    message - "Cannot access non-static variable from a
    static context". Why(When both are non-static am I
    getting the message as static context)?Post some code. It's hard to pinpoint a syntax error like that without seeing the code.
    Also, there may be cleaner ways of doing what you want without having classes sharing labels.
    2. I am using a map to set the attributes of a font.
    One of the key-value pair of the map is
    TextAttributesHashMap.put(TextAttribute.FOREGROUND,Colo
    .BLUE);
    But when I using the statement g.drawString("First
    line of the address", 40, 200); the text being
    displayed is in black and not blue. Why?You need to use the drawString that takes an AttributedCharacterIterator:
    import java.awt.*;
    import java.awt.font.*;
    import java.text.*;
    import javax.swing.*;
    public class Example  extends JPanel {
        public static void main(String[] args)  {
            JFrame f = new JFrame("Example");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            Container cp = f.getContentPane();
            cp.add(new Example());
            f.setSize(400,300);
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            String text = "Every good boy does fine always";
            AttributedString as = new AttributedString(text);
            as.addAttribute(TextAttribute.FAMILY, "Lucida Bright");
            as.addAttribute(TextAttribute.SIZE, new Float(16));
            as.addAttribute(TextAttribute.FOREGROUND, Color.BLUE, 0, 5);
            as.addAttribute(TextAttribute.FOREGROUND, Color.GREEN, 6, 10);
            as.addAttribute(TextAttribute.FOREGROUND, Color.RED, 11, 14);
            as.addAttribute(TextAttribute.FOREGROUND, Color.YELLOW, 15, 19);
            as.addAttribute(TextAttribute.FOREGROUND, Color.MAGENTA, 20, 24);
            as.addAttribute(TextAttribute.FOREGROUND, Color.CYAN, 25, 31);
            g.drawString(as.getIterator(), 10, 20);

  • Help with setting an IF value when using a Pop-up Value

    Hello,
    I'm hopeful that someone out there has enough understanding with numbers to help me figure out how to program this function.
    I'm trying to create a spreadsheet that will allow me to track payments that have been reimbursed for a given service provided in a medical clinic. As the payout from the insurance companies is not only variable with time before reimbursement, but also with the actual amount that the each reimburses for a given procedure - I'm trying to create a system to track this all.
    So,  here's what I've got so far:
    On one sheet, I've created a one column - in which I've created a pop-up menu selection using three of the insurance companies that we bill out to regularly (let's call it Column I - cell I2).  On "another" sheet, I've created a list of values comprised of what the actual reimbursement from each of the three companies is for the particular service provided, in dollar amounts.
    What I'm trying to do, is set it up so that when I select say "First Choice" from the pop-up menu (cell "I2), the dollar value from the "other" sheet appears in the column following that of the pop-up menu column (column I),  with this new value now in (Column J) - cell J2.  I had then planned on being able to create a row at the bottom of the entire sheet that could then "SUM" the values represented by the newly created J2 cell.
    Any help would be GREATLY appreciated!

    Hello
    I guess that the contents of the table "rates" is clear.
    In table "Main", standard cells of column E contain a popup menu with four items :
    "company 1"
    "company 2"
    "company 3"
    In standard cells of column I, the formula is :
    =IFERROR(VLOOKUP(E,rates :: $A:$B,2,0),"")
    Yvan KOENIG (VALLAURIS, France) jeudi 28 avril 2011 18:50:26
    Please :
    Search for questions similar to your own before submitting them to the community

  • SET property step disappear when use Java SHA-1

    When I apply SET property with Java SHA-1, java.security.MessageDigest, the SET step disappear immediately. (It has been removed automatically.)
    My project requires for using SHA-1. How do I use SHA-1 hashing function in UCCX editor?
    Did UCCX editor support limited Java library?
    I'm using UCCX Editor with UCCX 8.0

    Hi, Anthony Holloway.
    I used to read your very useful SOAP in IVR tutorial, thump up!
    I have already opened a TAC case. They told me to change compatibility mode to Windows 2000 which I have changed it already.
    I also disable visual style in the property. No changes happens.
    I think my error/bug appears when I assign byte[] data. As an example:
         byte[] bArray = text.getBytes();
    "java.security.MessageDigest -> digest()" use this datatype for hashing function.
    But yours, Anthony, my opinion is your inline-style code maybe very complex to IVR for understanding while typical jre can understand it!
    Did you think so, Anthony?

  • [SOLVED]Missing /usr/lib/libgssapi.so when using conserver client

    With newly MIT krb5 in [Core] repo, everything I using console ( the client of conserver: http://aur.archlinux.org/packages.php?ID=27856), I got a compain about missing /usr/lib/libgssapi.so error.
    I recompiled it, but not work.
    Manaully create a link from /usr/lib/libgssapi_krb5.so will solve this problem.
    But still confusing about why recompile the software don't goes to correct lib file.
    Anyone can give me a clue?
    Last edited by cathay4t (2011-05-12 11:23:49)

    Where did you get that 0.1-4?
    I get this error when starting cups
    # /etc/rc.d/cups start
    :: Starting CUPS Daemon [BUSY]
    /usr/sbin/cupsd: error while loading shared libraries: libgssapi.so.2: cannot open shared object file: No such file or directory
    [FAIL]
    Last edited by markuman (2011-05-12 16:41:17)

  • Could not resolve memory leak when using QuadArray  BY_REFERENCE

    Hi,
    While working on my project I have to create large mesh (grid). To do it I am using QuadArray and using BY_REFERENCE mode.
    After I close the module, the float array that is used as the coordinates array for above QuadArray geometry, is not freed. And if I open same module it takes additional same amount of memory. If I open that module for 3-4 times, memory goes piling up and causing OutOfMemoryError.
    Even I have nullified the coordinate array explicitly on closing the module, the problem could not be resolved.
    Can any body please help and give me some points where the problem may be rooted.
    Regards,

    I found the solution
    if I set the coordinate array to null memory frees up.
    The code line look like
    g.setCoordRefFloat(null);Probably reference kept by geometry was not being freed.
    cheers!

  • Setting Photoshop monitor profiles when using dual displays?

    I'm using a Macbook Pro connected to an Apple Cinema Display under OS 10.5.8. Both monitors are calibrated and I export from Lightroom to Photoshop in ProPhoto. The Photoshop working colour space is also ProPhoto so there is no mismatch there.
    When in dual display mode I like to have my Photoshop application on the Macbook screen and the photo I'm working on shown on the Cinema Display. In fact, I couldn't work any other way because the laptop's screen is not at all suitable for precision work.
    I noticed that when I send an image from Lightroom to Photoshop CS4 for further editing the colours were off in Photoshop. This lead me to check the monitor profile used by Photoshop and I saw it was using the Macbook Pro .icc profile. This seems to be used even if the image is displayed in the external display. Selecting the Cinema Display as "default" in ColorSync doesn't change the situation. As a result, the colours as displayed by Photoshop are incorrect.
    The only "solution" I have found is to either go to System Preferences > Displays  and select the external monitor as the principal one (which is inconvenient because it negates many of the advantages of using dual monitors) or setting the Cinema Display's .icc profile for the Macbook Pro as well (which makes it the one chosen by Photoshop but means I'm only working wiht one correctly calibrated monitor).
    Is there a solution to this problem? Ideally I want to have both my monitors calibrated and Photoshop detect which one I'm using to view my photo. Failing that, I would like to have both monitors calibrated and "tell" Photoshop to use the Cinema Display as the principal monitor.I don't want .
    Many thanks!

    Thanks for your reply!
    I'm not too worried about 10.6 because I'm not using it ( I reverted to 10.5.8 precisely because of the colour issues).
    I don't really understand your reply. My problem is that if Photoshop uses my Mabook Pro profile as the "monitor profile" my pictures - as displayed on the Cinema Display - look different in Lightroom and in Photoshop. It's as if Lightroom is "aware" of which of the two displays is being used whereas Photoshop can only deal with one at a time. I would like to know if this analysis is correct and what I can do so that Photoshop displays my photographs the same way as Lightroom does on each of my two displays.

  • Setting fequency of sync when using Home Sharing

    OK, I have 3 Mac's in the house and all are connected via home share. Everything seems to be working without any issues.
    This is actually a tweaking question. Does anyone out there know how to set how frequently the Macs talk to each other to sync up the libraries? When I purchase a new song, it makes it way to the other machines eventually, but it has taken as long as an hour for them to all sync up the new purchase.
    I can go to each one and force the import through Home share, to get it done faster. But I am trying to find a setting (if there is one) that would make the Macs check the other libraries a little more often, for new purchases.
    Any ideas?
    P.S. I checked the settings on all three Macs and all of them say to transfer new purchases from the other two of them.

      I just tried unchecking the songs. The unchecked songs show up as a dark grey on the Apple TV, but I am still able to select them and play them.
    I think I have found a work around:
      That songs that are in the "cloud" using iTunes Match but not downloaded to local storage on the computer do NOT show up on the Apple TV. I could to delete everything that I don't want from the local storage on the computer, but keep them in the cloud. I will still be able to access the songs on my personal phone using iTunes Match. But only those that I chose to download would show up on the AppleTV.
      Ideally, Apple would have some sort of Family iCloud plan that would give me sub-accounts (similar to the only Mobile Me family plan). I could then assign Songs, Movies, and Apps to the sub accounts giving them access to only what I want them to have access too.
      I have a smiliar problem with Netflix. I should probably just embrace parenthood and admit that I will be listening to nothing but kids songs and Pixar movies for the next decade or so. And just archive away all my old silly music and R rated films that I probably won't listen to or watch anyway.

  • Setting a deployment context when using the embedded OC4J

    I'm trying to debug a servlet using the embedded OC4J server. I have a simple project that includes a servlet source file and and a web.xml file. The web.xml file defines context
    parameters that I want the servlet to read and use when it is deployed. However I don't know
    how to get JDeveloper to set up the servlet context on the debugging environment to use the
    contents of the web.xml file. Could anyone tell me how to do this? I cannot see how to
    do this from the help files.
    Many thanks in advance

    The trick is to ensure that you use a 'Project with Web Module' rather than
    'Empty Project' and then add a new 'HTTP Servlet'. When you do this
    JDeveloper automatically creates a web.xml file. You can add context
    parameters, or practically any other configuration items by right clicking
    on the web.xml tree node inthe system navigator and selecting settings.
    The web.xml file is saved into the directory specified by the 'HTML Root Directory' on the 'Input Paths' panel in the project settings dialog.

  • How to set up immediate calculation when using fields

    Hello,
    forgive me for the apparently dull question (I assume it is so as I was unable to find answer for it on the forum).
    I am making a fillable PDF form with Acrobat Pro 9 and I have this page with simple invoice that looks like this:
    item_price_1 * no_items_1 = subtotal_item_1
    item_price_2 * no_items_2 = subtotal_item_2
    item_price_n * no_items_n = subtotal_item_n
    TOTAL = sum(subtotals)
    I set up the various fields and created the formulas using properties > calculation >
    While the subtotals populates automatically as I clic anywhere in the PDF [after filling the item_price and no_items], the same cannot be said for the TOTAL field - it populates only after that I enter a character anywhere in the form, no matter where and no matter what (even a spacing character works).
    However since this form has to be made public, the users will think that the formula doesn't work because they cannot see an immediate calculation of the TOTAL.
    Ideally, I'd like the result to be shown immediately, but I could go also with a simple "click anywhere on the page to update the TOTAL".
    Is there a way to accomplish this?
    Thanks!

    This is a very common problem.
    You need to fix the form's calculation order (Forms - Edit Fields - Set
    Field Calculation Order...) Make sure the total field calculates after all
    the sub-totals.

Maybe you are looking for

  • Outlook 2007 and icloud

    Can I sync my Outlook 2007 Calendar (corporate imap account) with my iCloud calendar?  Running Windows 7 enterprise and iPhone 5.  Thx.

  • Startup log Error message

    Hi there, Can someone take a look at my error message occurred when the server start? (the startWeblogic.cmd) It seema problem with SSL and jdbc. I think this jdbc problem may be the reason why my connection pooling not working. Thank you -----------

  • How do i find outlook temp files

    How do i find "outlook temp" files on my macbook air

  • Source for Document Type Layouts.

    Oracle Delivered XSLFO Style Sheets (Sourcing Style sheet, Standard Purchase Order Style sheet) for the Document Types(Sourcing RFQ Sourcing RFQ, Purchase Order Standard). Can any one tell me Where are these style sheets getting data from ? From whic

  • Lightroom cache files permanently written to alternate drive

    I've encountered an unusual problem using LR version 1.4.1 under Windows XP. Whenever I preview a RAW file in LR, a cache file is being written to an alternate drive, named Cache0000000001.dat, with each additional preview increasing the last digit i