You are not logged in.

#1 2017-01-03 13:02:51

lassade
Member
Registered: 2017-01-03
Posts: 3

[SOLVED] After adding user to vboxfs, startx does not works

I'm using a Windows 7 host with a Arch guest inside the Virtual Box, every time i add my user to the vboxfs group the startx stop working, if i remove myself from the group startx works again.

My .xinitrc:

#!/bin/sh
VBoxClient-all

[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources

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

setxkbmap br
xsetroot -solid "#0D686B"
exec i3

Xorg.0.log

[   600.465] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   600.467] X Protocol Version 11, Revision 0
[   600.468] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[   600.469] Current Operating System: Linux host 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64
[   600.469] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=067cd6fc-6a28-4f53-b9d9-885e5f62cba7 rw quiet
[   600.472] Build Date: 19 July 2016  05:54:24PM
[   600.472]  
[   600.473] Current version of pixman: 0.34.0
[   600.475] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   600.475] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   600.478] (==) Log file: "/home/lassade/.local/share/xorg/Xorg.0.log", Time: Tue Jan  3 09:47:25 2017
[   600.478] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   600.479] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   600.479] (==) No Layout section.  Using the first Screen section.
[   600.479] (**) |-->Screen "Screen0" (0)
[   600.479] (**) |   |-->Monitor "Monitor0"
[   600.479] (**) |   |-->Device "Device0"
[   600.480] (==) Automatically adding devices
[   600.480] (==) Automatically enabling devices
[   600.480] (==) Automatically adding GPU devices
[   600.480] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   600.480] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   600.480] 	Entry deleted from font path.
[   600.480] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   600.480] 	Entry deleted from font path.
[   600.480] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   600.480] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   600.480] 	Entry deleted from font path.
[   600.480] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   600.480] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[   600.480] (==) ModulePath set to "/usr/lib/xorg/modules"
[   600.480] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   600.480] (II) Loader magic: 0x821d40
[   600.480] (II) Module ABI versions:
[   600.480] 	X.Org ANSI C Emulation: 0.4
[   600.480] 	X.Org Video Driver: 20.0
[   600.480] 	X.Org XInput driver : 22.1
[   600.480] 	X.Org Server Extension : 9.0
[   600.480] (++) using VT number 1

[   600.480] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   600.482] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   600.482] (II) xfree86: Adding drm device (/dev/dri/card0)
[   600.483] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[   600.486] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/67108864, BIOS @ 0x????????/131072
[   600.486] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   600.486] (II) LoadModule: "glx"
[   600.487] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   600.488] (II) Module glx: vendor="X.Org Foundation"
[   600.488] 	compiled for 1.18.4, module version = 1.0.0
[   600.488] 	ABI class: X.Org Server Extension, version 9.0
[   600.488] (==) AIGLX enabled
[   600.488] (II) LoadModule: "vesa"
[   600.488] (WW) Warning, couldn't open module vesa
[   600.488] (II) UnloadModule: "vesa"
[   600.488] (II) Unloading vesa
[   600.488] (EE) Failed to load module "vesa" (module does not exist, 0)
[   600.488] (EE) No drivers available.
[   600.488] (EE) 
Fatal server error:
[   600.488] (EE) no screens found(EE) 
[   600.488] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   600.488] (EE) Please also check the log file at "/home/lassade/.local/share/xorg/Xorg.0.log" for additional information.
[   600.488] (EE) 

Any ideas?

Last edited by lassade (2017-01-03 17:16:18)

Offline

#2 2017-01-03 13:06:15

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [SOLVED] After adding user to vboxfs, startx does not works

Do you have xf86-video-vesa installed?

Offline

#3 2017-01-03 13:20:55

lassade
Member
Registered: 2017-01-03
Posts: 3

Re: [SOLVED] After adding user to vboxfs, startx does not works

No, but installing makes no difference. Here is the xorg log, apart from the vesa that is now loading, I get same "no screens found" error.

[  2057.131] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  2057.131] X Protocol Version 11, Revision 0
[  2057.131] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[  2057.131] Current Operating System: Linux host 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64
[  2057.131] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=067cd6fc-6a28-4f53-b9d9-885e5f62cba7 rw quiet
[  2057.132] Build Date: 19 July 2016  05:54:24PM
[  2057.132]  
[  2057.132] Current version of pixman: 0.34.0
[  2057.132] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2057.132] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2057.132] (==) Log file: "/home/lassade/.local/share/xorg/Xorg.0.log", Time: Tue Jan  3 10:11:42 2017
[  2057.132] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2057.132] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2057.133] (==) No Layout section.  Using the first Screen section.
[  2057.133] (**) |-->Screen "Screen0" (0)
[  2057.133] (**) |   |-->Monitor "Monitor0"
[  2057.133] (**) |   |-->Device "Device0"
[  2057.133] (==) Automatically adding devices
[  2057.133] (==) Automatically enabling devices
[  2057.133] (==) Automatically adding GPU devices
[  2057.133] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2057.133] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2057.133] 	Entry deleted from font path.
[  2057.133] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2057.133] 	Entry deleted from font path.
[  2057.133] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2057.133] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2057.133] 	Entry deleted from font path.
[  2057.133] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2057.133] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[  2057.133] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2057.133] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2057.133] (II) Loader magic: 0x821d40
[  2057.133] (II) Module ABI versions:
[  2057.133] 	X.Org ANSI C Emulation: 0.4
[  2057.133] 	X.Org Video Driver: 20.0
[  2057.133] 	X.Org XInput driver : 22.1
[  2057.133] 	X.Org Server Extension : 9.0
[  2057.133] (++) using VT number 1

[  2057.133] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  2057.135] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c3
[  2057.135] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2057.136] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  2057.140] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/67108864, BIOS @ 0x????????/131072
[  2057.140] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2057.140] (II) LoadModule: "glx"
[  2057.140] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2057.141] (II) Module glx: vendor="X.Org Foundation"
[  2057.141] 	compiled for 1.18.4, module version = 1.0.0
[  2057.141] 	ABI class: X.Org Server Extension, version 9.0
[  2057.141] (==) AIGLX enabled
[  2057.141] (II) LoadModule: "vesa"
[  2057.141] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  2057.141] (II) Module vesa: vendor="X.Org Foundation"
[  2057.141] 	compiled for 1.18.0, module version = 2.3.4
[  2057.141] 	Module class: X.Org Video Driver
[  2057.141] 	ABI class: X.Org Video Driver, version 20.0
[  2057.141] (II) VESA: driver for VESA chipsets: vesa
[  2057.141] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  2057.141] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2057.141] (II) Loading sub module "vbe"
[  2057.141] (II) LoadModule: "vbe"
[  2057.141] (II) Loading /usr/lib/xorg/modules/libvbe.so
[  2057.159] (II) Module vbe: vendor="X.Org Foundation"
[  2057.159] 	compiled for 1.18.4, module version = 1.1.0
[  2057.159] 	ABI class: X.Org Video Driver, version 20.0
[  2057.159] (II) Loading sub module "int10"
[  2057.159] (II) LoadModule: "int10"
[  2057.159] (II) Loading /usr/lib/xorg/modules/libint10.so
[  2057.170] (II) Module int10: vendor="X.Org Foundation"
[  2057.170] 	compiled for 1.18.4, module version = 1.0.0
[  2057.170] 	ABI class: X.Org Video Driver, version 20.0
[  2057.170] (II) VESA(0): initializing int10
[  2057.170] (EE) VESA(0): Cannot read int vect
[  2057.170] (II) UnloadModule: "vesa"
[  2057.170] (II) UnloadSubModule: "int10"
[  2057.170] (II) Unloading int10
[  2057.170] (II) UnloadSubModule: "vbe"
[  2057.170] (II) Unloading vbe
[  2057.170] (EE) Screen(s) found, but none have a usable configuration.
[  2057.170] (EE) 
Fatal server error:
[  2057.170] (EE) no screens found(EE) 
[  2057.170] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  2057.170] (EE) Please also check the log file at "/home/lassade/.local/share/xorg/Xorg.0.log" for additional information.
[  2057.170] (EE) 
[  2057.175] (EE) Server terminated with error (1). Closing log file.

Offline

#4 2017-01-03 17:15:32

lassade
Member
Registered: 2017-01-03
Posts: 3

Re: [SOLVED] After adding user to vboxfs, startx does not works

I found the problem!

I had a bad configuration file in /etc/X11/xorg.config.d/ owned by the group vboxsf and with permisions -rwxrwx---.

Every time I added my self in the group vboxsf the X, could read this file that messup my initialization.

Offline

Board footer

Powered by FluxBB