how to let a user use X window
only root can use X window in stretch??
how to let user use it?
below is X log:
[ 1548.947]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 1548.947] X Protocol Version 11, Revision 0
[ 1548.947] Build Operating System: Linux 4.9.0-3-amd64 i686 Debian
[ 1548.948] Current Operating System: Linux debian 4.9.0-3-686-pae #1
SMP Debian 4.9.30-2 (2017-06-12) i686
[ 1548.948] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-4.9.0-3-686-pae root=/dev/sda2 ro quiet
net.ifnames=0
[ 1548.948] Build Date: 07 July 2017 06:13:53AM
[ 1548.948] xorg-server 2:1.19.2-1+deb9u1 (https://www.debian.org/support)
[ 1548.948] Current version of pixman: 0.34.0
[ 1548.948] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1548.948] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1548.949] (==) Log file: "/home/zhou/.local/share/xorg/Xorg.0.log",
Time: Sun Jul 23 06:05:18 2017
[ 1548.950] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1548.950] (==) No Layout section. Using the first Screen section.
[ 1548.950] (==) No screen section available. Using defaults.
[ 1548.950] (**) |-->Screen "Default Screen Section" (0)
[ 1548.950] (**) | |-->Monitor "<default monitor>"
[ 1548.950] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1548.950] (==) Automatically adding devices
[ 1548.950] (==) Automatically enabling devices
[ 1548.950] (==) Automatically adding GPU devices
[ 1548.950] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1548.950] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 1548.950] Entry deleted from font path.
[ 1548.950] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 1548.950] Entry deleted from font path.
[ 1548.950] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 1548.950] Entry deleted from font path.
[ 1548.950] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 1548.950] Entry deleted from font path.
[ 1548.951] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 1548.951] Entry deleted from font path.
[ 1548.951] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 1548.951] Entry deleted from font path.
[ 1548.951] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 1548.951] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1548.951] (II) The server relies on udev to provide the list of
input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1548.951] (II) Loader magic: 0x80280720
[ 1548.951] (II) Module ABI versions:
[ 1548.951] X.Org ANSI C Emulation: 0.4
[ 1548.951] X.Org Video Driver: 23.0
[ 1548.951] X.Org XInput driver : 24.1
[ 1548.951] X.Org Server Extension : 10.0
[ 1548.954] (II) systemd-logind: took control of session
/org/freedesktop/login1/session/_35
[ 1548.955] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1548.956] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 1548.958] (--) PCI:*(0:0:2:0) 8086:2572:17aa:300a rev 2, Mem @
0xe8000000/134217728, 0xf0200000/524288, I/O @ 0x0000c000/8, BIOS @
0x????????/131072
[ 1548.958] (--) PCI: (0:1:1:0) 109e:0350:0000:0000 rev 18, Mem @
0xf0100000/4096
[ 1548.958] (II) LoadModule: "glx"
[ 1548.958] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1548.961] (II) Module glx: vendor="X.Org Foundation"
[ 1548.961] compiled for 1.19.2, module version = 1.0.0
[ 1548.961] ABI class: X.Org Server Extension, version 10.0
[ 1548.961] (==) Matched intel as autoconfigured driver 0
[ 1548.961] (==) Matched intel as autoconfigured driver 1
[ 1548.961] (==) Matched modesetting as autoconfigured driver 2
[ 1548.961] (==) Matched fbdev as autoconfigured driver 3
[ 1548.961] (==) Matched vesa as autoconfigured driver 4
[ 1548.961] (==) Assigned the driver to the xf86ConfigLayout
[ 1548.961] (II) LoadModule: "intel"
[ 1548.961] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 1548.962] (II) Module intel: vendor="X.Org Foundation"
[ 1548.962] compiled for 1.19.0, module version = 2.99.917
[ 1548.962] Module class: X.Org Video Driver
[ 1548.962] ABI class: X.Org Video Driver, version 23.0
[ 1548.962] (II) LoadModule: "modesetting"
[ 1548.962] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 1548.962] (II) Module modesetting: vendor="X.Org Foundation"
[ 1548.962] compiled for 1.19.2, module version = 1.19.2
[ 1548.962] Module class: X.Org Video Driver
[ 1548.962] ABI class: X.Org Video Driver, version 23.0
[ 1548.962] (II) LoadModule: "fbdev"
[ 1548.962] (WW) Warning, couldn't open module fbdev
[ 1548.962] (II) UnloadModule: "fbdev"
[ 1548.963] (II) Unloading fbdev
[ 1548.963] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 1548.963] (II) LoadModule: "vesa"
[ 1548.963] (WW) Warning, couldn't open module vesa
[ 1548.963] (II) UnloadModule: "vesa"
[ 1548.963] (II) Unloading vesa
[ 1548.963] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 1548.963] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 1548.964] (II) intel: Driver for Intel(R) HD Graphics
[ 1548.964] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 1548.964] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 1548.964] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1548.964] (EE)
Fatal server error:
[ 1548.964] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[ 1548.964] (EE)
[ 1548.964] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1548.964] (EE) Please also check the log file at
"/home/zhou/.local/share/xorg/Xorg.0.log" for additional information.
[ 1548.964] (EE)
[ 1548.964] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 1548.964] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 1549.010] (EE) Server terminated with error (1). Closing log file.
Reply to: