(solved) Re: how to let a user use X window
Thank Eduardo M KALINOWSKI! I enter startx and can start X window now. On 7/23/17, Eduardo M KALINOWSKI wrote: > > Reading the release notes is always a good idea before updating the > version (be it with an in-place upgrade or new install). > > Could be related to this: > > https://www.debian.org/releases/stable/amd64/release-notes/ch-whats-new.en.html#x-no-longer-requires-root > > -- > Eduardo M KALINOWSKI > edua...@kalinowski.com.br > >
Re: how to let a user use X window
On 23-07-2017 07:17, Long Wind wrote: > only root can use X window in stretch?? > > how to let user use it? Reading the release notes is always a good idea before updating the version (be it with an in-place upgrade or new install). Could be related to this: https://www.debian.org/releases/stable/amd64/release-notes/ch-whats-new.en.html#x-no-longer-requires-root -- Eduardo M KALINOWSKI edua...@kalinowski.com.br
Re: how to let a user use X window
i log in as root and root can start X window On 7/23/17, Jude DaShiell wrote: > x11-fonts may not be on your system yet. adding that package may make > X11 happier. At a guess I think what happened here is because X11 is > missing its fonts first it generates many warnings and eventually > generates a fatal error. If you use grep to search log files for fatal > and error and warning you can learn lots and fix many things. > dmesg|grep -i warning and dmesg|grep -i error when run through less can > be informative. >
Re: how to let a user use X window
x11-fonts may not be on your system yet. adding that package may make X11 happier. At a guess I think what happened here is because X11 is missing its fonts first it generates many warnings and eventually generates a fatal error. If you use grep to search log files for fatal and error and warning you can learn lots and fix many things. dmesg|grep -i warning and dmesg|grep -i error when run through less can be informative. On Sun, 23 Jul 2017, Long Wind wrote: Date: Sun, 23 Jul 2017 06:17:41 From: Long Wind To: debian-user Subject: how to let a user use X window Resent-Date: Sun, 23 Jul 2017 10:26:35 + (UTC) Resent-From: debian-user@lists.debian.org 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 "" [ 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: 0x1f [ 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 @ 0xe800/134217728, 0xf020/524288, I/O @ 0xc000/8, BIOS @ 0x/131072 [ 1548.958] (--) PCI: (0:1:1:0) 109e:0350:: rev 18, Mem @ 0xf010/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
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 "" [ 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: 0x1f [ 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 @ 0xe800/134217728, 0xf020/524288, I/O @ 0xc000/8, BIOS @ 0x/131072 [ 1548.958] (--) PCI: (0:1:1:0) 109e:0350:: rev 18, Mem @ 0xf010/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" [ 154