Re: [gentoo-user] Xorg broken?

2018-03-07 Thread Floyd Anderson

On Wed, 07 Mar 2018 15:52:24 +0100
Christoph Böhmwalder  wrote:

I think I broke something once again...

Rebooting after a recent update caused my X Server to completely die.  I
faintly remember some x11-related packages being blocked on that
particular update, but because I was short on time I decided just to
ignore those at the time (note to self: bad idea, apparently).

Now when I run startx, it complains about a bunch of permissions being
borked:

$ cat Xorg.0.log
 8< 
[11.763] (--) using VT number 7

[11.763] (EE)
Fatal server error:
[11.766] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission 
denied)
[11.767] (EE)
[11.768] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[11.773] (EE) Please also check the log file at 
"/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
[11.774] (EE)
[11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[11.775] (EE) Server terminated with error (1). Closing log file.

(I'll attach the full log)

I don't fully understand what's going on there, but I figured maybe
someone more experienced on here might have an idea as to what I did
wrong this time.


FWIW, I already tried setting the permissions of /dev/tty7 to 664,
causing the X server to work, albeit with inputs not working (the log
reveiled that it couldn't access /dev/input/event7 or something, so
probably the same issue).


My user's groups are:

$ groups christoph
tty wheel audio video usb users input davfs2 plugdev christoph kvm

(Note tty, audio, video, and input. That's all X should really need,
right?)

My VIDEO_CARDS contains "intel i915" (for an Intel HD 4000(?) chip in a
Lenovo X1 Carbon 1st gen).


Has this broken for anyone else?  Anyone who could point me in the right
direction?  Thanks in advance!


I got the same (again) but x11-base/xorg-server-1.19.99.901 runs just 
fine here when, and only when, I re-implement the +suid USE-flag 
(--enable-install-setuid) and remove --enable-suid-wrapper from the 
ebuild.


Remove your user from tty group and you’ll probably get:

   “parse_vt_settings: Cannot open /dev/tty0 (Permission denied)”

that is discussed at [1]. So downgrading to:

   x11-base/xorg-server-1.19.5-r1[+suid]

may be a quick but cannot be a permanent solution in my opinion.


References:
  - [1] 


--
Regards,
floyd




Re: [gentoo-user] Xorg broken?

2018-03-07 Thread Christoph Böhmwalder
On Wed, Mar 07, 2018 at 04:16:47PM +0100, Helmut Jarausch wrote:
> Do you have xorg-server-1.19.99.901 or xorg-server-1.19.99.901-r1 installed?
> 
> That's just broken!
> 
> Downgrade to version 1.19.5-r1 .
> Several people have problems with the above versions.

Typing this from my fixed laptop :)

I masked >=x11-base/xorg-server-1.19.99.901-r1 and re-emerged, and now
it works again (for the time being).

Thanks for the efforts everybody!


--
Regards,
Christoph



Re: [gentoo-user] Xorg broken?

2018-03-07 Thread Helmut Jarausch

On 03/07/2018 03:52:24 PM, Christoph Böhmwalder wrote:

I think I broke something once again...

Rebooting after a recent update caused my X Server to completely  
die.  I

faintly remember some x11-related packages being blocked on that
particular update, but because I was short on time I decided just to
ignore those at the time (note to self: bad idea, apparently).

Now when I run startx, it complains about a bunch of permissions being
borked:



Do you have xorg-server-1.19.99.901 or xorg-server-1.19.99.901-r1  
installed?


That's just broken!

Downgrade to version 1.19.5-r1 .
Several people have problems with the above versions.

Helmut


Re: [gentoo-user] Xorg broken?

2018-03-07 Thread Daniel Frey
On 03/07/18 07:02, Christoph Böhmwalder wrote:
> On Wed, Mar 07, 2018 at 02:57:26PM +, Ian Bloss wrote:
>> Do you have an initramfs?
> 
> I don't, though I just realized an unstable version of xorg-server
> somehow got pulled in and merged (along with a bunch of unstable
> drivers).  I'll try to downgrade the drivers and server and maybe
> that'll fix it.
> 

When you do make sure you do a

`emerge @x11-module-rebuild @module-rebuild`

to rebuild all the changed drivers.

Dan



Re: [gentoo-user] Xorg broken?

2018-03-07 Thread Christoph Böhmwalder
On Wed, Mar 07, 2018 at 02:57:26PM +, Ian Bloss wrote:
> Do you have an initramfs?

I don't, though I just realized an unstable version of xorg-server
somehow got pulled in and merged (along with a bunch of unstable
drivers).  I'll try to downgrade the drivers and server and maybe
that'll fix it.



Re: [gentoo-user] Xorg broken?

2018-03-07 Thread Ian Bloss
Do you have an initramfs?

On Wed, Mar 7, 2018, 6:52 AM Christoph Böhmwalder 
wrote:

> I think I broke something once again...
>
> Rebooting after a recent update caused my X Server to completely die.  I
> faintly remember some x11-related packages being blocked on that
> particular update, but because I was short on time I decided just to
> ignore those at the time (note to self: bad idea, apparently).
>
> Now when I run startx, it complains about a bunch of permissions being
> borked:
>
> $ cat Xorg.0.log
>  8< 
> [11.763] (--) using VT number 7
>
> [11.763] (EE)
> Fatal server error:
> [11.766] (EE) xf86OpenConsole: Cannot open virtual console 7
> (Permission denied)
> [11.767] (EE)
> [11.768] (EE)
> Please consult the The X.Org Foundation support
>  at http://wiki.x.org
>  for help.
> [11.773] (EE) Please also check the log file at
> "/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
> [11.774] (EE)
> [11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
> [11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
> [11.775] (EE) Server terminated with error (1). Closing log file.
>
> (I'll attach the full log)
>
> I don't fully understand what's going on there, but I figured maybe
> someone more experienced on here might have an idea as to what I did
> wrong this time.
>
>
> FWIW, I already tried setting the permissions of /dev/tty7 to 664,
> causing the X server to work, albeit with inputs not working (the log
> reveiled that it couldn't access /dev/input/event7 or something, so
> probably the same issue).
>
>
> My user's groups are:
>
> $ groups christoph
> tty wheel audio video usb users input davfs2 plugdev christoph kvm
>
> (Note tty, audio, video, and input. That's all X should really need,
> right?)
>
> My VIDEO_CARDS contains "intel i915" (for an Intel HD 4000(?) chip in a
> Lenovo X1 Carbon 1st gen).
>
>
> Has this broken for anyone else?  Anyone who could point me in the right
> direction?  Thanks in advance!
>
> --
> Regards,
> Christoph
>


[gentoo-user] Xorg broken?

2018-03-07 Thread Christoph Böhmwalder
I think I broke something once again...

Rebooting after a recent update caused my X Server to completely die.  I
faintly remember some x11-related packages being blocked on that
particular update, but because I was short on time I decided just to
ignore those at the time (note to self: bad idea, apparently).

Now when I run startx, it complains about a bunch of permissions being
borked:

$ cat Xorg.0.log
 8< 
[11.763] (--) using VT number 7

[11.763] (EE)
Fatal server error:
[11.766] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission 
denied)
[11.767] (EE)
[11.768] (EE)
Please consult the The X.Org Foundation support
 at http://wiki.x.org
 for help.
[11.773] (EE) Please also check the log file at 
"/home/christoph/.local/share/xorg/Xorg.0.log" for additional information.
[11.774] (EE)
[11.775] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[11.775] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[11.775] (EE) Server terminated with error (1). Closing log file.

(I'll attach the full log)

I don't fully understand what's going on there, but I figured maybe
someone more experienced on here might have an idea as to what I did
wrong this time.


FWIW, I already tried setting the permissions of /dev/tty7 to 664,
causing the X server to work, albeit with inputs not working (the log
reveiled that it couldn't access /dev/input/event7 or something, so
probably the same issue).


My user's groups are:

$ groups christoph
tty wheel audio video usb users input davfs2 plugdev christoph kvm

(Note tty, audio, video, and input. That's all X should really need,
right?)

My VIDEO_CARDS contains "intel i915" (for an Intel HD 4000(?) chip in a
Lenovo X1 Carbon 1st gen).


Has this broken for anyone else?  Anyone who could point me in the right
direction?  Thanks in advance!

--
Regards,
Christoph
[11.677] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[11.678] 
X.Org X Server 1.19.99.901 (1.20.0 RC 1)
Release Date: 2018-02-28
[11.681] X Protocol Version 11, Revision 0
[11.682] Build Operating System: Linux 4.15.3-gentoo x86_64 Gentoo
[11.683] Current Operating System: Linux christoph-lap 4.16.0-rc4+ #11 SMP 
Tue Mar 6 13:10:04 CET 2018 x86_64
[11.683] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.0-rc4+ 
root=/dev/sda2 ro
[11.685] Build Date: 06 March 2018  12:44:28PM
[11.686]  
[11.687] Current version of pixman: 0.34.0
[11.689]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[11.689] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[11.693] (==) Log file: "/home/christoph/.local/share/xorg/Xorg.0.log", 
Time: Wed Mar  7 15:40:37 2018
[11.706] (==) Using config directory: "/etc/X11/xorg.conf.d"
[11.707] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[11.709] (==) No Layout section.  Using the first Screen section.
[11.709] (==) No screen section available. Using defaults.
[11.709] (**) |-->Screen "Default Screen Section" (0)
[11.709] (**) |   |-->Monitor ""
[11.709] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[11.709] (**) |   |-->Device "Intel Graphics"
[11.709] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[11.709] (==) Automatically adding devices
[11.709] (==) Automatically enabling devices
[11.709] (==) Automatically adding GPU devices
[11.709] (==) Max clients allowed: 256, resource mask: 0x1f
[11.722] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[11.723] (==) ModulePath set to "/usr/lib64/xorg/modules"
[11.723] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[11.723] (II) Loader magic: 0x55a513135c60
[11.723] (II) Module ABI versions:
[11.723]X.Org ANSI C Emulation: 0.4
[11.723]X.Org Video Driver: 24.0
[11.723]X.Org XInput driver : 24.1
[11.723]X.Org Server Extension : 10.0
[11.723] (II) xfree86: Adding drm device (/dev/dri/card0)
[11.739] (--) PCI:*(0@0:2:0)