xorg in openvz container

basteon basteon at gmail.com
Tue Jan 20 03:11:47 PST 2015


hello,
I still have problem.
I want use x2go and do that well.
i.e. I can run X-session on remote controll, but Xorg is not run at this time.
But I need make keyboard languadge switches and anyway need the
Xorg-server to run.

here my log of it after I do /etc/init.d/xdm start on gentoo:

X.Org X Server 1.14.7
Release Date: 2014-06-05
[  1680.554] X Protocol Version 11, Revision 0
[  1680.554] Build Operating System: Linux 2.6.32-32-pve x86_64 Gentoo
[  1680.554] Current Operating System: Linux konsultant 2.6.32-32-pve
#1 SMP Thu Aug 21 08:50:19 CEST 2014 x86_64
[  1680.554] Kernel command line: quiet
[  1680.554] Build Date: 02 January 2015  04:38:54AM
[  1680.554]
[  1680.554] Current version of pixman: 0.32.6
[  1680.554]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1680.554] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1680.554] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 20
08:45:46 2015
[  1680.555] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1680.555] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1680.555] (==) No Layout section.  Using the first Screen section.
[  1680.555] (==) No screen section available. Using defaults.
[  1680.555] (**) |-->Screen "Default Screen Section" (0)
[  1680.555] (**) |   |-->Monitor "<default monitor>"
[  1680.555] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  1680.555] (==) Automatically adding devices
[  1680.555] (==) Automatically enabling devices
[  1680.555] (==) Automatically adding GPU devices
[  1680.555] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/
[  1680.555] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1680.555] (II) The server relies on udev to provide the list of
input devices.
        If no devices become available, reconfigure udev or disable
AutoAddDevices.
[  1680.555] (II) Loader magic: 0x7ffc00
[  1680.555] (II) Module ABI versions:
[  1680.555]    X.Org ANSI C Emulation: 0.4
[  1680.555]    X.Org Video Driver: 14.1
[  1680.555]    X.Org XInput driver : 19.1
[  1680.555]    X.Org Server Extension : 7.0
[  1680.555] Initializing built-in extension Generic Event Extension
[  1680.555] Initializing built-in extension SHAPE
[  1680.555] Initializing built-in extension MIT-SHM
[  1680.555] Initializing built-in extension XInputExtension
[  1680.555] Initializing built-in extension XTEST
[  1680.555] Initializing built-in extension BIG-REQUESTS
[  1680.555] Initializing built-in extension SYNC
[  1680.555] Initializing built-in extension XKEYBOARD
[  1680.555] Initializing built-in extension XC-MISC
[  1680.555] Initializing built-in extension XINERAMA
[  1680.555] Initializing built-in extension XFIXES
[  1680.555] Initializing built-in extension RENDER
[  1680.555] Initializing built-in extension RANDR
[  1680.555] Initializing built-in extension COMPOSITE
[  1680.555] Initializing built-in extension DAMAGE
[  1680.555] Initializing built-in extension MIT-SCREEN-SAVER
[  1680.555] Initializing built-in extension DOUBLE-BUFFER
[  1680.555] Initializing built-in extension RECORD
[  1680.555] Initializing built-in extension DPMS
[  1680.555] Initializing built-in extension X-Resource
[  1680.555] Initializing built-in extension XVideo
[  1680.555] Initializing built-in extension XVideo-MotionCompensation
[  1680.555] Initializing built-in extension XFree86-VidModeExtension
[  1680.555] Initializing built-in extension XFree86-DGA
[  1680.555] Initializing built-in extension XFree86-DRI
[  1680.555] Initializing built-in extension DRI2
[  1680.555] (II) "glx" will be loaded by default.
[  1680.555] (II) LoadModule: "dri2"
[  1680.555] (II) Module "dri2" already built-in
[  1680.555] (II) LoadModule: "glamoregl"
[  1680.555] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[  1680.556] (II) Module glamoregl: vendor="X.Org Foundation"
[  1680.556]    compiled for 1.14.7, module version = 0.6.0
[  1680.556]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1680.556] (II) LoadModule: "glx"
[  1680.556] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1680.556] (II) Module glx: vendor="X.Org Foundation"
[  1680.556]    compiled for 1.14.7, module version = 1.0.0
[  1680.556]    ABI class: X.Org Server Extension, version 7.0
[  1680.556] (==) AIGLX enabled
[  1680.556] Loading extension GLX
[  1680.556] (==) Matched vesa as autoconfigured driver 0
[  1680.556] (==) Matched modesetting as autoconfigured driver 1
[  1680.556] (==) Matched fbdev as autoconfigured driver 2
[  1680.556] (==) Assigned the driver to the xf86ConfigLayout
[  1680.556] (II) LoadModule: "vesa"
[  1680.557] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[  1680.557] (II) Module vesa: vendor="X.Org Foundation"
[  1680.557]    compiled for 1.14.7, module version = 2.3.3
[  1680.557]    Module class: X.Org Video Driver
[  1680.557]    ABI class: X.Org Video Driver, version 14.1
[  1680.557] (II) LoadModule: "modesetting"
[  1680.557] (WW) Warning, couldn't open module modesetting
[  1680.557] (II) UnloadModule: "modesetting"
[  1680.557] (II) Unloading modesetting
[  1680.557] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  1680.557] (II) LoadModule: "fbdev"
[  1680.557] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[  1680.557] (II) Module fbdev: vendor="X.Org Foundation"
[  1680.557]    compiled for 1.14.7, module version = 0.4.4
[  1680.557]    Module class: X.Org Video Driver
[  1680.557]    ABI class: X.Org Video Driver, version 14.1
[  1680.557] (II) VESA: driver for VESA chipsets: vesa
[  1680.557] (II) FBDEV: driver for framebuffer: fbdev
[  1680.557] (++) using VT number 7

[  1680.557] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[  1680.557] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[  1680.557] (WW) xf86OpenConsole: VT_GETSTATE failed: Invalid argument
[  1680.557] (EE)
Fatal server error:
[  1680.557] (EE) xf86OpenConsole: VT_ACTIVATE failed: Invalid argument
[  1680.557] (EE)
[  1680.557] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  1680.557] (EE) Please also check the log file at
"/var/log/Xorg.0.log" for additional information.
[  1680.557] (EE)
[  1680.557] (WW) xf86CloseConsole: KDSETMODE failed: Invalid argument
[  1680.557] (WW) xf86CloseConsole: VT_GETMODE failed: Invalid argument
[  1680.557] (EE) Server terminated with error (1). Closing log file.


also I have created conf file:
/etc/X11/xord.conf.d/20kbd.conf
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "Protocol" "Standard"
	Option      "XkbModel" "pc105"
        Option      "xkbLayout" "us,ru(winkeys)"
        Option      "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

this configuration works in another system in xorg.conf (usual config
file) with ctrl+shift kbd layount switches.


On 1/2/15, basteon <basteon at gmail.com> wrote:
> hi,
> I need help in xorg working in openvz container.
> I been used ubuntu and gentoo with xorg different versions and anyway
> its fail on xf86EnableIOPorts.
>
> # Xorg -configure
>
> X.Org X Server 1.14.7
> Release Date: 2014-06-05
> X Protocol Version 11, Revision 0
> Build Operating System: Linux 2.6.32-32-pve x86_64 Gentoo
> Current Operating System: Linux konsultant 2.6.32-32-pve #1 SMP Thu
> Aug 21 08:50:19 CEST 2014 x86_64
> Kernel command line: quiet
> Build Date: 02 January 2015 04:38:54AM
>
> Current version of pixman: 0.32.6
> Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 2 04:51:09 2015
> List of video drivers:
> openchrome
> glint
> s3virge
> apm
> v4l
> intel
> nv
> ast
> trident
> cirrus
> ati
> s3
> r128
> chips
> qxl
> vesa
> tga
> tdfx
> i128
> radeon
> fbdev
> xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
> No devices to configure. Configuration failed.
> (EE) Server terminated with error (2). Closing log file.
>
> what dependend xorg server when I run it in openvz virtual box?
>


More information about the xorg-devel mailing list