Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182318

[Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit: unable to connect to X server: Connection refused

From Felix Miata <mrmazda@earthlink.net>
Newsgroups linux.debian.user
Subject [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit: unable to connect to X server: Connection refused
Date 2017-06-19 00:00 +0200
Message-ID <tTQoF-29B-3@gated-at.bofh.it> (permalink)
Organization less than infinite

Show all headers | View raw


>From the release notes:
2.2.10. The Xorg server no longer requires root

    In the stretch version of Xorg, it is possible to run the Xorg
    server as a regular user rather than as root. This reduces the
    risk of privilege escalation via bugs in the X server. However,
    it has some requirements for working:

      * It needs logind and libpam-systemd.

      * The system needs to support Kernel Mode Setting (KMS).
        Therefore, it may not work in some virtualization
        environments (e.g. virtualbox) or if the kernel has no driver
        that supports your graphics card.

      * It needs to run on the virtual console it was started from.

      * Only the gdm3 display manager supports running X as a
        non-privileged user in stretch. Other display managers will
        always run X as root. Alternatively, you can also start X
        manually as a non-root user on a virtual terminal via startx.

When I try as ordinary user (on host big41), I get the subject message. Anyone
know how to get startx to work in Stretch, either on :0, :1 or :2, with or
without a greeter running (multi-user.targer vs. graphical.target)?
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit: unable to  connect to X server: Connection refused Felix Miata <mrmazda@earthlink.net> - 2017-06-19 00:00 +0200
  Re: [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit: unable to connect to X server: Connection refused Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-19 15:40 +0200
    Re: [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit:  unable to connect to X server: Connection refused Brian <ad44@cityscape.co.uk> - 2017-06-19 16:20 +0200
      Re: [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit:  unable to connect to X server: Connection refused Henrique de Moraes Holschuh <hmh@debian.org> - 2017-06-19 17:50 +0200
    Re: [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit: unable to connect to X server: Connection refused Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-19 17:10 +0200
      Re: [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit:  unable to connect to X server: Connection refused Felix Miata <mrmazda@earthlink.net> - 2017-06-20 03:00 +0200
        Re: [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit:  unable to connect to X server: Connection refused Brian <ad44@cityscape.co.uk> - 2017-06-20 20:20 +0200
    Re: [Stretch] startx: /bin/sh: 0: Can't open /usr/bin/X; xinit:  unable to connect to X server: Connection refused Felix Miata <mrmazda@earthlink.net> - 2017-06-19 17:10 +0200

csiph-web