Re: Can't startx as normal user

2015-12-02 Thread Sven Arvidsson
On Tue, 2015-12-01 at 22:23 -0300, Draco Metallium(Rodrigo S. Cañibano)
> > The NEWS entry should have been picked up by apt-listchanges:
> 
> I must have missed it. Thanks!

Looks like it was added after the change was made, so it's possible
that you made the upgrade before it was added.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Can't startx as normal user

2015-12-01 Thread Rodrigo S. Cañibano
On 1 December 2015 at 16:47, Sven Arvidsson  wrote:
> The NEWS entry should have been picked up by apt-listchanges:

I must have missed it. Thanks!



Re: Can't startx as normal user

2015-12-01 Thread Sven Arvidsson
On Mon, 2015-11-30 at 19:20 -0300, Draco Metallium(Rodrigo S. Cañibano)
wrote:
> It could be that, since I don't have systemd, nor systemd-shim
> installed (I just checked again).
> 
> I had to install xserver-xorg-legacy, just as Harald Dunkel
> suggested.
> 
> Should't apt-get have warned me that there were unmet dependencies?

The NEWS entry should have been picked up by apt-listchanges:
https://sources.debian.net/src/xorg-server/2:1.17.3-2/debian/xserver-xorg-core.NEWS/

(And will probably also be mentioned in the release docs)

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





signature.asc
Description: This is a digitally signed message part


Re: Can't startx as normal user

2015-11-30 Thread Rodrigo S. Cañibano
On 30 November 2015 at 06:10, Ansgar Burchardt <"Ansgar
Burchardt"@43-1.org> wrote:
> which looks like some DBus policy forbids Xorg to talk to logind. Xorg
> does so in order to get access to devices w/o being setuid root since
> recently.

It could be that, since I don't have systemd, nor systemd-shim
installed (I just checked again).

I had to install xserver-xorg-legacy, just as Harald Dunkel suggested.

Should't apt-get have warned me that there were unmet dependencies?

Wasn't systemd just an init?

Thanks to all of you!



Re: Can't startx as normal user

2015-11-30 Thread Harald Dunkel
If you are using startx/xinit: Try installing xserver-xorg-legacy.
I had the same problem.

Good luck
Harri



Re: Can't startx as normal user

2015-11-30 Thread Ansgar Burchardt
"Draco Metallium(Rodrigo S. Cañibano)"  writes:
> No only root can run startx. If a user tries the following error appears:
>
> "(EE) AddScreen/ScreenInit failed for driver 0"

The first error in the log you attached is:

> [  4203.010] (EE) systemd-logind: failed to get session: Rejected send 
> message, 1 matched rules; type="method_call", sender=":1.34" (uid=1000 
> pid=18022 comm="/usr/lib/xorg/Xorg -nolisten tcp :1 vt2 -keeptty -") 
> interface="org.freedesktop.login1.Manager" member="GetSessionByPID" error 
> name="(unset)" requested_reply="0" destination="org.freedesktop.login1" 
> (uid=0 pid=5989 comm="/lib/systemd/systemd-logind ")

which looks like some DBus policy forbids Xorg to talk to logind. Xorg
does so in order to get access to devices w/o being setuid root since
recently.

I remember users having problems with DBus policies when old version of
systemd-shim were installed (it has been fixed some time ago),
cf. https://bugs.debian.org/746242

Please make sure that either systemd-shim is purged (not only removed),
e.g. by running "apt-get purge systemd-shim", or that at least version
6-3 of systemd-shim is installed (if you don't use systemd as init).

Ansgar



Can't startx as normal user

2015-11-29 Thread Rodrigo S. Cañibano
Hi!

Today I made a dist-upgrade and everything worked fine until I rebooted.

No only root can run startx. If a user tries the following error appears:

"(EE) AddScreen/ScreenInit failed for driver 0"

(I will attach the full log).

Does anyone have any idea what might be the source of this problem?

Thanks and sorry for the bad English!

--
Draco Metallium
[  4203.003] 
X.Org X Server 1.17.3
Release Date: 2015-10-26
[  4203.004] X Protocol Version 11, Revision 0
[  4203.004] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[  4203.004] Current Operating System: Linux ruri 4.2.0-1-amd64 #1 SMP Debian 4.2.6-1 (2015-11-10) x86_64
[  4203.004] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-1-amd64 root=UUID=88c4cde7-3244-453d-bf2a-d28d836b2527 ro quiet
[  4203.005] Build Date: 27 October 2015  11:41:02PM
[  4203.005] xorg-server 2:1.17.3-2 (http://www.debian.org/support) 
[  4203.005] Current version of pixman: 0.33.4
[  4203.006] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  4203.006] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4203.007] (==) Log file: "/home/draco/.local/share/xorg/Xorg.1.log", Time: Mon Nov 30 01:41:43 2015
[  4203.008] (==) Using config file: "/etc/X11/xorg.conf"
[  4203.008] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4203.009] (==) ServerLayout "X.org Configured"
[  4203.009] (**) |-->Screen "Screen0" (0)
[  4203.009] (**) |   |-->Monitor "DVI-1"
[  4203.009] (**) |   |-->Device "Card1"
[  4203.009] (**) |-->Input Device "Mouse0"
[  4203.009] (**) |-->Input Device "Keyboard0"
[  4203.009] (==) Automatically adding devices
[  4203.009] (==) Automatically enabling devices
[  4203.009] (==) Automatically adding GPU devices
[  4203.009] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4203.009] 	Entry deleted from font path.
[  4203.009] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4203.009] 	Entry deleted from font path.
[  4203.009] (**) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins,
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[  4203.009] (**) ModulePath set to "/usr/lib/xorg/modules"
[  4203.009] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  4203.009] (WW) Disabling Mouse0
[  4203.009] (WW) Disabling Keyboard0
[  4203.009] (II) Loader magic: 0x562a849f7de0
[  4203.009] (II) Module ABI versions:
[  4203.009] 	X.Org ANSI C Emulation: 0.4
[  4203.009] 	X.Org Video Driver: 19.0
[  4203.009] 	X.Org XInput driver : 21.0
[  4203.009] 	X.Org Server Extension : 9.0
[  4203.010] (EE) systemd-logind: failed to get session: Rejected send message, 1 matched rules; type="method_call", sender=":1.34" (uid=1000 pid=18022 comm="/usr/lib/xorg/Xorg -nolisten tcp :1 vt2 -keeptty -") interface="org.freedesktop.login1.Manager" member="GetSessionByPID" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=5989 comm="/lib/systemd/systemd-logind ")
[  4203.010] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4203.012] (--) PCI: (0:1:5:0) 1002:9616:1849:9616 rev 0, Mem @ 0xc000/268435456, 0xfe8f/65536, 0xfe70/1048576, I/O @ 0xa000/256
[  4203.012] (--) PCI:*(0:2:0:0) 1002:679a:174b:a003 rev 0, Mem @ 0xd000/268435456, 0xfe9c/262144, I/O @ 0xb000/256, BIOS @ 0x/131072
[  4203.012] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  4203.012] (II) LoadModule: "ddc"
[  4203.012] (II) Module "ddc" already built-in
[  4203.012] (II) LoadModule: "dri"
[  4203.012] (II) Module "dri" already built-in
[  4203.012] (II) LoadModule: "dri2"
[  4203.012] (II) Module "dri2" already built-in
[  4203.012] (II) LoadModule: "extmod"
[  4203.012] (II) Module "extmod" already built-in
[  4203.012] (II) LoadModule: "glx"
[  4203.012] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4203.013] (II) Module glx: vendor="X.Org Foundation"
[  4203.013] 	compiled for 1.17.3, module version = 1.0.0
[  4203.013] 	ABI class: X.Org Server Extension, version 9.0
[  4203.013] (==) AIGLX enabled
[  4203.013] (II) LoadModule: "int10"
[  4203.013] (II) Loading /usr/lib/xorg/modules/libint10.so
[  4203.013] (II) Module int10: vendor="X.Org Foundation"
[  4203.013] 	compiled for 1.17.3, module version = 1.0.0
[  4203.013] 	ABI class: X.Org Video Driver, version 19.0
[  4203.013] (II) LoadModule: "vbe"
[  4203.013] (II) Loading /usr/lib/xorg/modules/libvbe.so

Re: Can't startx as normal user

2015-11-29 Thread Charlie
On Mon, 30 Nov 2015 01:48:40 -0300 Draco Metallium(Rodrigo S. Cañibano)
sent:

> Today I made a dist-upgrade and everything worked fine until I
> rebooted.
> 
> No only root can run startx. If a user tries the following error
> appears:
> 
> "(EE) AddScreen/ScreenInit failed for driver 0"
> 
> (I will attach the full log).
> 
> Does anyone have any idea what might be the source of this problem?

Could this be of help?

https://bbs.archlinux.org/viewtopic.php?id=170860

Charlie

-- 
Registered Linux User:- 329524
***

If I shall sell both my forenoons and afternoons to society, as
most appear to do, I'm sure that, for me, there would be
nothing left worth living
for. .Henry David Thoreau

***

Debian GNU/Linux - Magic indeed.

-