You are not logged in.
Pages: 1
setup: base + base-devel + xorg-server + xf86-video-vmware + xorg-xinit + dwm + st
vi .xinitrc
st &
startx
I installed archlinux on vmware workstation - archlinux is vm guest os on vmware workstion that installed on windows10 host.
I try to start X-windows from console - vmware workstation's vm's console window, it's failed.
This is log from .loca/share/xorg/
[ 184.357] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 184.358]
X.Org X Server 1.20.1
X Protocol Version 11, Revision 0
[ 184.358] Build Operating System: Linux Arch Linux
[ 184.358] Current Operating System: Linux localhost 4.18.6-arch1-1-ARCH #1 SMP PREEMPT Wed Sep 5 11:54:09 UTC 2018 x86_64
[ 184.358] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda2 rootfstype=ext4 add_efi_memmap
[ 184.358] Build Date: 09 August 2018 06:37:34PM
[ 184.358]
[ 184.358] Current version of pixman: 0.34.0
[ 184.358] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 184.358] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 184.358] (==) Log file: "/home/user/.local/share/xorg/Xorg.0.log", Time: Mon Sep 10 07:11:43 2018
[ 184.362] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 184.363] (==) No Layout section. Using the first Screen section.
[ 184.363] (==) No screen section available. Using defaults.
[ 184.363] (**) |-->Screen "Default Screen Section" (0)
[ 184.363] (**) | |-->Monitor "<default monitor>"
[ 184.364] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 184.364] (==) Automatically adding devices
[ 184.364] (==) Automatically enabling devices
[ 184.364] (==) Automatically adding GPU devices
[ 184.364] (==) Automatically binding GPU devices
[ 184.364] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 184.371] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 184.371] Entry deleted from font path.
[ 184.371] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[ 184.371] Entry deleted from font path.
[ 184.371] (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[ 184.371] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[ 184.371] Entry deleted from font path.
[ 184.371] (Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[ 184.371] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF
[ 184.371] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 184.371] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 184.371] (II) Module ABI versions:
[ 184.371] X.Org ANSI C Emulation: 0.4
[ 184.371] X.Org Video Driver: 24.0
[ 184.371] X.Org XInput driver : 24.1
[ 184.371] X.Org Server Extension : 10.0
[ 184.372] (++) using VT number 1
[ 184.373] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
[ 184.374] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 184.375] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 184.380] (--) PCI:*(0@0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xf0000000/134217728, 0xfb800000/8388608, I/O @ 0x00002140/16, BIOS @ 0x????????/131072
[ 184.380] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 184.380] (II) LoadModule: "glx"
[ 184.383] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 184.401] (II) Module glx: vendor="X.Org Foundation"
[ 184.401] compiled for 1.20.1, module version = 1.0.0
[ 184.401] ABI class: X.Org Server Extension, version 10.0
[ 184.401] (==) Matched vmware as autoconfigured driver 0
[ 184.401] (==) Matched modesetting as autoconfigured driver 1
[ 184.401] (==) Matched fbdev as autoconfigured driver 2
[ 184.401] (==) Matched vesa as autoconfigured driver 3
[ 184.401] (==) Assigned the driver to the xf86ConfigLayout
[ 184.401] (II) LoadModule: "vmware"
[ 184.401] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[ 184.666] (II) Module vmware: vendor="X.Org Foundation"
[ 184.666] compiled for 1.20.0, module version = 13.3.0
[ 184.666] Module class: X.Org Video Driver
[ 184.666] ABI class: X.Org Video Driver, version 24.0
[ 184.666] (II) LoadModule: "modesetting"
[ 184.666] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 184.668] (II) Module modesetting: vendor="X.Org Foundation"
[ 184.668] compiled for 1.20.1, module version = 1.20.1
[ 184.668] Module class: X.Org Video Driver
[ 184.668] ABI class: X.Org Video Driver, version 24.0
[ 184.668] (II) LoadModule: "fbdev"
[ 184.668] (WW) Warning, couldn't open module fbdev
[ 184.668] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 184.668] (II) LoadModule: "vesa"
[ 184.668] (WW) Warning, couldn't open module vesa
[ 184.668] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 184.668] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 184.668] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 184.669] (WW) Falling back to old probe method for modesetting
[ 184.669] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 184.669] (II) vmware(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 184.669] (--) vmware(0): DRM driver version is 2.14.1
[ 184.669] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[ 184.669] (==) vmware(0): RGB weight 888
[ 184.669] (==) vmware(0): Default visual is TrueColor
[ 184.669] (--) vmware(0): Min width 1, Max Width 8192.
[ 184.669] (--) vmware(0): Min height 1, Max Height 8192.
[ 184.669] (II) vmware(0): Output Virtual1 has no monitor section
[ 184.669] (II) vmware(0): Output Virtual2 has no monitor section
[ 184.669] (II) vmware(0): Output Virtual3 has no monitor section
[ 184.669] (II) vmware(0): Output Virtual4 has no monitor section
[ 184.669] (II) vmware(0): Output Virtual5 has no monitor section
[ 184.669] (II) vmware(0): Output Virtual6 has no monitor section
[ 184.669] (II) vmware(0): Output Virtual7 has no monitor section
[ 184.669] (II) vmware(0): Output Virtual8 has no monitor section
[ 184.669] (II) vmware(0): Printing probed modes for output Virtual1
[ 184.669] (II) vmware(0): Modeline "1024x768"x60.0 64.66 1024 1074 1124 1174 768 818 868 918 -hsync +vsync (55.1 kHz eP)
[ 184.669] (II) vmware(0): Modeline "2560x1600"x60.0 348.50 2560 2752 3032 3504 1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[ 184.669] (II) vmware(0): Modeline "1920x1440"x60.0 234.00 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 184.669] (II) vmware(0): Modeline "1856x1392"x60.0 218.25 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[ 184.669] (II) vmware(0): Modeline "1792x1344"x60.0 204.75 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 184.669] (II) vmware(0): Modeline "1920x1200"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 184.669] (II) vmware(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 184.669] (II) vmware(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 184.669] (II) vmware(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[ 184.669] (II) vmware(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 184.669] (II) vmware(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 184.669] (II) vmware(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 184.669] (II) vmware(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
[ 184.669] (II) vmware(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 +hsync -vsync (49.7 kHz e)
[ 184.669] (II) vmware(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 184.669] (II) vmware(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
[ 184.670] (II) vmware(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 184.670] (II) vmware(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 184.670] (II) vmware(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 184.670] (II) vmware(0): EDID for output Virtual2
[ 184.670] (II) vmware(0): EDID for output Virtual3
[ 184.670] (II) vmware(0): EDID for output Virtual4
[ 184.670] (II) vmware(0): EDID for output Virtual5
[ 184.670] (II) vmware(0): EDID for output Virtual6
[ 184.670] (II) vmware(0): EDID for output Virtual7
[ 184.670] (II) vmware(0): EDID for output Virtual8
[ 184.670] (II) vmware(0): Output Virtual1 connected
[ 184.670] (II) vmware(0): Output Virtual2 disconnected
[ 184.670] (II) vmware(0): Output Virtual3 disconnected
[ 184.670] (II) vmware(0): Output Virtual4 disconnected
[ 184.670] (II) vmware(0): Output Virtual5 disconnected
[ 184.670] (II) vmware(0): Output Virtual6 disconnected
[ 184.670] (II) vmware(0): Output Virtual7 disconnected
[ 184.670] (II) vmware(0): Output Virtual8 disconnected
[ 184.670] (II) vmware(0): Using exact sizes for initial modes
[ 184.670] (II) vmware(0): Output Virtual1 using initial mode 1024x768 +0+0
[ 184.670] (==) vmware(0): DPI set to (96, 96)
[ 184.670] (==) vmware(0): Using gamma correction (1.0, 1.0, 1.0)
[ 184.670] (II) Loading sub module "fb"
[ 184.670] (II) LoadModule: "fb"
[ 184.670] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 184.671] (II) Module fb: vendor="X.Org Foundation"
[ 184.671] compiled for 1.20.1, module version = 1.0.0
[ 184.671] ABI class: X.Org ANSI C Emulation, version 0.4
[ 184.671] (II) Loading sub module "dri2"
[ 184.671] (II) LoadModule: "dri2"
[ 184.671] (II) Module "dri2" already built-in
[ 184.671] (II) Loading sub module "dri3"
[ 184.671] (II) LoadModule: "dri3"
[ 184.671] (II) Module "dri3" already built-in
[ 184.671] (II) UnloadModule: "modesetting"
[ 184.671] (II) Unloading modesetting
[ 184.673] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 184.678] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[ 184.678] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[ 184.678] (--) vmware(0): Render acceleration is disabled.
[ 184.678] (==) vmware(0): Rendercheck mode is disabled.
[ 184.678] (--) vmware(0): Direct rendering (DRI2 3D) is disabled.
[ 184.678] (--) vmware(0): Direct rendering (DRI3 3D) is disabled.
[ 184.678] (==) vmware(0): Backing store enabled
[ 184.678] (==) vmware(0): Silken mouse disabled
[ 184.679] (==) vmware(0): DPMS enabled
[ 184.679] (II) vmware(0): No 3D acceleration. Not setting up textured video.
[ 184.680] (II) Initializing extension Generic Event Extension
[ 184.680] (II) Initializing extension SHAPE
[ 184.680] (II) Initializing extension MIT-SHM
[ 184.680] (II) Initializing extension XInputExtension
[ 184.682] (II) Initializing extension XTEST
[ 184.682] (II) Initializing extension BIG-REQUESTS
[ 184.682] (II) Initializing extension SYNC
[ 184.682] (II) Initializing extension XKEYBOARD
[ 184.682] (II) Initializing extension XC-MISC
[ 184.682] (II) Initializing extension SECURITY
[ 184.682] (II) Initializing extension XFIXES
[ 184.682] (II) Initializing extension RENDER
[ 184.682] (II) Initializing extension RANDR
[ 184.682] (II) Initializing extension COMPOSITE
[ 184.682] (II) Initializing extension DAMAGE
[ 184.682] (II) Initializing extension MIT-SCREEN-SAVER
[ 184.682] (II) Initializing extension DOUBLE-BUFFER
[ 184.682] (II) Initializing extension RECORD
[ 184.682] (II) Initializing extension DPMS
[ 184.682] (II) Initializing extension Present
[ 184.682] (II) Initializing extension DRI3
[ 184.682] (II) Initializing extension X-Resource
[ 184.682] (II) Initializing extension XVideo
[ 184.682] (II) Initializing extension XVideo-MotionCompensation
[ 184.682] (II) Initializing extension GLX
[ 184.683] (II) AIGLX: Screen 0 is not DRI2 capable
[ 184.735] (II) IGLX: Loaded and initialized swrast
[ 184.735] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 184.735] (II) Initializing extension XFree86-VidModeExtension
[ 184.735] (II) Initializing extension XFree86-DGA
[ 184.735] (II) Initializing extension XFree86-DRI
[ 184.735] (II) Initializing extension DRI2
[ 184.752] (II) vmware(0): Setting screen physical size to 270 x 203
[ 184.845] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 184.845] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 184.845] (II) LoadModule: "libinput"
[ 184.845] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 184.853] (II) Module libinput: vendor="X.Org Foundation"
[ 184.853] compiled for 1.20.0, module version = 0.28.0
[ 184.853] Module class: X.Org XInput Driver
[ 184.853] ABI class: X.Org XInput driver, version 24.1
[ 184.853] (II) Using input driver 'libinput' for 'Power Button'
[ 184.854] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 13 paused 0
[ 184.854] (**) Power Button: always reports core events
[ 184.854] (**) Option "Device" "/dev/input/event0"
[ 184.854] (**) Option "_source" "server/udev"
[ 184.854] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 184.854] (II) event0 - Power Button: device is a keyboard
[ 184.855] (II) event0 - Power Button: device removed
[ 184.855] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[ 184.855] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 184.855] (II) event0 - Power Button: is tagged by udev as: Keyboard
[ 184.855] (II) event0 - Power Button: device is a keyboard
[ 184.857] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event1)
[ 184.857] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 184.857] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 184.858] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 16 paused 0
[ 184.858] (**) AT Translated Set 2 keyboard: always reports core events
[ 184.858] (**) Option "Device" "/dev/input/event1"
[ 184.858] (**) Option "_source" "server/udev"
[ 184.858] (II) event1 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 184.858] (II) event1 - AT Translated Set 2 keyboard: device is a keyboard
[ 184.858] (II) event1 - AT Translated Set 2 keyboard: device removed
[ 184.858] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input1/event1"
[ 184.858] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 7)
[ 184.858] (II) event1 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 184.858] (II) event1 - AT Translated Set 2 keyboard: device is a keyboard
[ 184.859] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/event4)
[ 184.859] (**) VirtualPS/2 VMware VMMouse: Applying InputClass "libinput pointer catchall"
[ 184.859] (II) Using input driver 'libinput' for 'VirtualPS/2 VMware VMMouse'
[ 184.860] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 17 paused 0
[ 184.860] (**) VirtualPS/2 VMware VMMouse: always reports core events
[ 184.860] (**) Option "Device" "/dev/input/event4"
[ 184.860] (**) Option "_source" "server/udev"
[ 184.861] (II) event4 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 184.861] (II) event4 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 184.861] (II) event4 - VirtualPS/2 VMware VMMouse: device removed
[ 184.861] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input4/event4"
[ 184.861] (II) XINPUT: Adding extended input device "VirtualPS/2 VMware VMMouse" (type: MOUSE, id 8)
[ 184.861] (**) Option "AccelerationScheme" "none"
[ 184.861] (**) VirtualPS/2 VMware VMMouse: (accel) selected scheme none/0
[ 184.861] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration factor: 2.000
[ 184.861] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration threshold: 4
[ 184.862] (II) event4 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 184.862] (II) event4 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 184.863] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/mouse1)
[ 184.863] (II) No input driver specified, ignoring this device.
[ 184.863] (II) This device may have been added with another device file.
[ 184.863] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/event3)
[ 184.863] (**) VirtualPS/2 VMware VMMouse: Applying InputClass "libinput pointer catchall"
[ 184.863] (II) Using input driver 'libinput' for 'VirtualPS/2 VMware VMMouse'
[ 184.864] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 18 paused 0
[ 184.864] (**) VirtualPS/2 VMware VMMouse: always reports core events
[ 184.864] (**) Option "Device" "/dev/input/event3"
[ 184.864] (**) Option "_source" "server/udev"
[ 184.864] (II) event3 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 184.864] (II) event3 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 184.864] (II) event3 - VirtualPS/2 VMware VMMouse: device removed
[ 184.864] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input5/event3"
[ 184.864] (II) XINPUT: Adding extended input device "VirtualPS/2 VMware VMMouse" (type: MOUSE, id 9)
[ 184.864] (**) Option "AccelerationScheme" "none"
[ 184.864] (**) VirtualPS/2 VMware VMMouse: (accel) selected scheme none/0
[ 184.864] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration factor: 2.000
[ 184.864] (**) VirtualPS/2 VMware VMMouse: (accel) acceleration threshold: 4
[ 184.864] (II) event3 - VirtualPS/2 VMware VMMouse: is tagged by udev as: Mouse
[ 184.864] (II) event3 - VirtualPS/2 VMware VMMouse: device is a pointer
[ 184.864] (II) config/udev: Adding input device VirtualPS/2 VMware VMMouse (/dev/input/mouse0)
[ 184.864] (II) No input driver specified, ignoring this device.
[ 184.864] (II) This device may have been added with another device file.
[ 184.865] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[ 184.865] (II) No input driver specified, ignoring this device.
[ 184.865] (II) This device may have been added with another device file.
[ 184.884] (**) Option "fd" "13"
[ 184.884] (II) event0 - Power Button: device removed
[ 184.884] (**) Option "fd" "16"
[ 184.884] (II) event1 - AT Translated Set 2 keyboard: device removed
[ 184.884] (**) Option "fd" "17"
[ 184.884] (II) event4 - VirtualPS/2 VMware VMMouse: device removed
[ 184.884] (**) Option "fd" "18"
[ 184.884] (II) event3 - VirtualPS/2 VMware VMMouse: device removed
[ 184.884] (II) UnloadModule: "libinput"
[ 184.884] (II) systemd-logind: releasing fd for 13:67
[ 184.933] (II) UnloadModule: "libinput"
[ 184.933] (II) systemd-logind: releasing fd for 13:68
[ 184.997] (II) UnloadModule: "libinput"
[ 184.997] (II) systemd-logind: releasing fd for 13:65
[ 185.030] (II) UnloadModule: "libinput"
[ 185.030] (II) systemd-logind: releasing fd for 13:64
[ 185.079] (II) Server terminated successfully (0). Closing log file.Thanks for any help.
EDIT: add more infor of .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
dwm &
st &
# xclock -geometry 50x50-1+1 &
# st -geometry 80x50+494+51 &
# st -geometry 80x20+494-0 &
# exec st -geometry 80x66+0+0 -name loginLast edited by super_trash (2018-09-10 10:07:14)
Offline
Seem there's no problem at all, I tries with xterm and I can be able to startx, but why st?
closed.
Offline
What do you mean by "I try with xterm". I believe you do not have configured a Desktop/WM. startx use ~/.xinitrc (I think it must be executable) or /etc/X11/xinit/xinitrc; which by default launches twm (old window manager that was the standard a long time ago but that can be useful to test the X server independently of a complex Desktop). You need to copy /etc/X11//xinit/xinitrc to ~/.xinitrc and to edit it according to your need. For example, to start xfce:
[...]
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec startxfce4Of course you have to install the desktop (or window manager) you choose.
Last edited by olive (2018-09-10 08:05:24)
Offline
What do you mean by "I try with xterm". I believe you do not have configured a Desktop/WM. startx use ~/.xinitrc (I think it must be executable) or /etc/X11/xinit/xinitrc; which by default launches twm (old window manager that was the standard a long time ago but that can be useful to test the X server independently of a complex Desktop). You need to copy /etc/X11//xinit/xinitrc to ~/.xinitrc and to edit it according to your need. For example, to start xfce:
[...] # start some nice programs if [ -d /etc/X11/xinit/xinitrc.d ] ; then for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do [ -x "$f" ] && . "$f" done unset f fi exec startxfce4Of course you have to install the desktop (or window manager) you choose.
That's true, I re-open this issue and added almost cloned .xinitrc from /etc/X11/xinit/xinitrc with only `dwm &` and `st &` added, but I can't do `startx`, pretty same xorg output as previous one. So why I can't startx with `dwm` and `st` - both check installed.
Last edited by super_trash (2018-09-10 09:12:11)
Offline
That's true, I re-open this issue and added almost cloned .xinitrc from /etc/X11/xinit/xinitrc with only `dwm &` and `st &` added, but I can't do `startx`, pretty same xorg output as previous one. So why I can't startx with `dwm` and `st` - both check installed.
If you want some help, make an effort to be clear. The window manager is twm, not dwm and I have no program called st. Moreover how you have edited xinitrc is not at all clear. Could you post your full xinitrc? Have you any message in the console from where you call startx (call startx > ~/startx.log) to redirect the output to a file?
Last edited by olive (2018-09-10 09:23:49)
Offline
dwm &
st &
# xclock -geometry 50x50-1+1 &
# st -geometry 80x50+494+51 &
# st -geometry 80x20+494-0 &
# exec st -geometry 80x66+0+0 -name loginstart dwm and st in background then exit. startx is executing the initrc successfully.
Offline
super_trash wrote:That's true, I re-open this issue and added almost cloned .xinitrc from /etc/X11/xinit/xinitrc with only `dwm &` and `st &` added, but I can't do `startx`, pretty same xorg output as previous one. So why I can't startx with `dwm` and `st` - both check installed.
If you want some help, make an effort to be clear. The window manager is twm, not dwm and I have no program called st. Moreover how you have edited xinitrc is not at all clear. Could you post your full xinitrc? Have you any message in the console from where you call startx (call startx > ~/startx.log) to redirect the output to a file?
I did post full .xinitrc at EDIT session in my first post, console didn't give much info:
(==) Log file ....
(==) Using system config directory ...
waiting for X to shutdown ... Yes I can start with xinitrc from /etc/X11/xinit/xinitrc that use twm and xterm when startx but here I'd like to use dwm and st - terminal emulator instead, but the try failed.
start dwm and st in background then exit. startx is executing the initrc successfully.
How can I keep dwm open and an instance of st open?
Offline
Don't start dwm in the background, use exec dwm as your last line.
Offline
Don't start dwm in the background, use exec dwm as your last line.
That's true, dwm now kept alive. Thanks.
Offline
Pages: 1