[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
That does not help. Absolutely do NOT run "chmod -R 755 /etc/xdg" as this will set the execution bit on any files in that directory or subdirectories, that's completely incorrect. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. version.compiz: compiz N/A version.ia32-l
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Check the /etc/xdg permissions (if not unusual, check other etc directories). A "kid induced power shortage" (daughter :D) broken the directory's permissions (random numbers instead of "drwxr-x---"). After "sudo chmod -R 755 /etc/xdg", everything worked getting a rid of the msg "xf86OpenConsole: Cannot open virtual console 2 (Permission denied)" Hope this helps -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFill
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
I opened up https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1876119 which is a duplicate of this bug. We are celebrating the fourth anniversary of this bug. Perhaps xinit should be removed from Ubuntu if it's not a maintained package anymore? This bug is still affecting me on latest 20.04 distribution. I have tried the following workarounds - Setuid root for /usr/bin/Xorg (or setgid) - Adding user to tty group - Logging in to tty1 with the same user I start the X session with - chmod 666 /dev/tty1 None of these work. The only option that works is installing xserver-xorg-legacy and configuring /etc/X11/Xwrapper.config as follows: allowed_users=anybody needs_root_rights=yes The only option ** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.bo
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Does install the suid-root wrapper allow for any user to run an X server? This seems a little too open if so, as it seems better to allow only either root, or the user logged into the console to run the server, IMHO. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. versio
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Update to #30 Upon further investigation On 14.04, the files in /usr/bin are binaries. -X is a suid wrapper binary -Xorg is the actual binary On 16.04, they are scripts. -X is a link to Xorg -Xorg is a script, calling the actual executables in /usr/lib/xorg/. It seems the Xorg script in /usr/bin should check if the binary wrapper "Xorg.wrap" is present in /usr/lib/xorg. If it is, act as a suid wrapper and use /etc/X11/Xwrapper.config as it's config file(according to the man page for Xorg.warp), otherwise exec /usr/lib/xorg/Xorg directly. So it seems the problem is that the legacy package is not installing the Xorg.wrap binary (perhaps in only some cases???) as many users report editing Xwrapper.config has no effect. Also, dpkg -S Xorg.wrap shows no matches suggesting this may be an oversight? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends In
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
#29 does not seem to be correct, at least in my case. Installed xserver- xorg-legacy first, and checked. No 'X' wrapper binary present. After installing other xserver packages, this is what I have. Output of ls -la /usr/bin | grep X On 14.04: -rwsr-sr-x 1 root root9532 Dec 9 2014 X lrwxrwxrwx 1 root root 1 Jan 3 2013 X11 -> . -rwxr-xr-x 1 root root 2322928 Oct 13 09:07 Xorg On 16.04 lrwxrwxrwx 1 root root 4 Oct 13 08:59 X -> Xorg lrwxrwxrwx 1 root root 1 Mar 4 2016 X11 -> . -rwxr-xr-x 1 root root 274 Oct 13 08:59 Xorg No matter what I do, including trying --force-overwrite passed to dpkg, it installs a link to Xorg, not the suid wrapper. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
no, the workaround should be to install xserver-xorg-legacy, which installs the suid-root wrapper again -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. version.compiz: compiz N/A version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.67-1 version.libgl1-mesa
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
The workaround I used to fix the original problem as stated by the person who opened this ticket was to do the following: chmod ug+s /usr/lib/xorg/Xorg It seems in Ubuntu 14.04 the Xorg xserver binary has permissions of: -rwsr-sr-x 1 root root 10192 Dec 9 2014 /usr/bin/X so by running the above chmod command on the 16.10 (what I have installed) installed xserver binary does indeed fix the original poster's issue. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASR
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
This bug drove me batty until I found this. Making a Nextcloud appliance with Ubuntu Server 16.04 as the OS and I couldn't install a gui. Tried xfce, lxde, and lxqt to no avail. Re-installed, tried again, and nothing. Post #14 worked for me but a little different. startxfce4 -- :1 vt1 Is the proper command to launch xfce once logged on. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.produc
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
As for my post #14, 1) It was tested on Intel HD Graphics 3000 (only open-source drivers are available for this hardware) 2) One should launch a separate dbus instance when starting X. Without it, steam client, especially in big picture, mode stutters: xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/openbox-session -- :1 vt6 If I could edit posts, I would add this information on September. Sorry folks. 3) I've tested it also on proprietary Nvidia drivers (367.57) on my desktop (only few minutes). It seems the same issue is here; without dbus-launch instance, steam client in big picture works improperly. With the dbus, it seems to work flawlessly. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.ch
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Uh, I wish I could edit my 2 posts above out. My problem was simple. After installing from the mini.iso, I was running an installation script that has a command of the form: sudo apt-get install --no-install-recommends package1 package2 package3 . . . It always worked before. But one of those packages no longer exists and apparently apt-get just doesn't anything on a list like that when ANY of them are missing. There was an error message but it only refered to the one package so I falsly assumed it was getting the others. So I didn't have openbox. Duh. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M.
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
I should add that this probably the 5th or 6th time I've installed a 16.04 system on this machine and failed to get startx to work properly. I have another such that I haven't scrapped yet that WILL eventually start openbox in response to startx. But it takes a long time and results in my being logged in on ALL available ttys with most of them showing error messages about xserver failure. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFille
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Me too. Under 16.04, 64 bit, with openbox, startx (or xinit) as user fails. Sudo startx gives me a console with a tiny font, so apparently it starts X but not Openbox. I'd explore that further and probably find how to start Openbox, but I don't want to run X as root anyway. I just tried sudo as a diagnostic experiment. I have another 16.04 64 bit system on the same machine using lighdm. That does boot and run openbox. That sys has OTHER problems I won't go into here, but it does prove the problem lies with xinit. Given all the OTHER problems with it, it also proves that 16.04 wasn't ready for release at all, let alone as an LTS. Maybe Canonical needs to reconsider the release-on-schedule policy and instead wait until they get through the alpha stage. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name:
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Ubfan1's comments (#19, #20 and #21) are not relevant to the bug as it has been described. We were already aware that X sessions could be started on the same vt as the command line that they're launched from. Further complications from the Nvidia driver would seem to be a separate bug? As the bug forces X to be run with escalated privileges, I would categorise it as a SECURITY bug (which would raise it's BUG HEAT score). However I am not aware of how this is accomplished. I hope that someone will review and comment on this suggestion. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Comment 14 works with Nvidia when using the nouveau driver, but not the Nvidia driver 367.57 (black screen). Starting an xterm allows you to run other things, even unity. Using the nouveau driver, login to vt2 and run: xinit /usr/bin/xterm -- :1 vt2 Result is a white background xterm, fully functional when cursor is over it. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: T
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
On another 16.04 machine without Nvidia, comment 14 produced a working display. The Nvidia driver causing the problem on the first machine was 367.57. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. version.compiz: compiz N/A version.ia32-libs: ia32-libs N/A version
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
Ubuntu 16.04, Nvidia Quadro 1000m, #14 allow the X server to run, applications may be launched (xterm, then xclock) and they appear in ps, keyboard input to the xterm works, but the display is totally black. No errors are in the ~/.local/share/xorg/Xorg.1.log file (a failure does show: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) but that appears in the working :0 display log also. Running as root has same result, black display on the vt. There may be several issues here. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
I can confirm that #14 works for me also, however it doesn't provide me with with the functionality that I require. It would be useful to know whether this is intended behavior, or an unintended bug. Updated bug title to reflect comment #14, and added a paragraph to the top of the bug description outlining the issue as it is currently understood. ** Description changed: + If as an unprivileged user you launch xinit (or startx) to any vt (EVEN + IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only + exception appears to be if the vt you attempt to launch X onto is + already logged into by that user. For many this makes running X + unprivileged unworkable. + + -- + When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 - X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM - xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) + xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 - Before reporting problems, check http://wiki.x.org - to make sure that you have the latest version. + Before reporting problems, check http://wiki.x.org + to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, - (++) from command line, (!!) notice, (II) informational, - (WW) warning, (EE) error, (NI) not implemented, (??) unknown. + (++) from command line, (!!) notice, (II) informational, + (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" - (EE) + (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) - (EE) - (EE) - Please consult the The X.Org Foundation support - at http://wiki.x.org - for help. + (EE) + (EE) + Please consult the The X.Org Foundation support + at http://wiki.x.org + for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. - (EE) + (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused - - I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. + I have tried numerous workarounds including reinstalling xorg, removing + all x-related files in my profile, and creating a new user. + Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: - Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) -Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] + Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) + Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic ro
[Desktop-packages] [Bug 1562219] Re: Unprivileged xinit wont start in unallocated vt
** Summary changed: - xinit will not work as non-root. + Unprivileged xinit wont start in unallocated vt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xinit in Ubuntu. https://bugs.launchpad.net/bugs/1562219 Title: Unprivileged xinit wont start in unallocated vt Status in xinit package in Ubuntu: Confirmed Bug description: If as an unprivileged user you launch xinit (or startx) to any vt (EVEN IF UNALLOCATED BY SYSTEMD) it will fail as described below. The only exception appears to be if the vt you attempt to launch X onto is already logged into by that user. For many this makes running X unprivileged unworkable. -- When attempting to run xinit or startx after upgrading from 14.04 to 16.04 it will not work. There seems to be some sort of permission issue. I have seen another person with this issue as well here: http://askubuntu.com/questions/749370/ubuntu-16-04-xf86openconsole- cannot-open-virtual-console-2?newreg=ba376d7a182d44608ed4675346b1ed74 An example is when attempting to launch kodi, which worked prior to the upgrade: xinit /usr/bin/kodi --standalone -- -nocursor :0 X.Org X Server 1.18.1 Release Date: 2016-02-08 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.13.0-79-generic x86_64 Ubuntu Current Operating System: Linux hostname 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text Build Date: 11 March 2016 07:43:21AM xorg-server 2:1.18.1-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/home/arch/.local/share/xorg/Xorg.0.log", Time: Fri Mar 25 20:14:07 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/home/arch/.local/share/xorg/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused I have tried numerous workarounds including reinstalling xorg, removing all x-related files in my profile, and creating a new user. Unfortunately none of these worked. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: xinit 1.3.4-3 ProcVersionSignature: Ubuntu 4.4.0-15.31-generic 4.4.6 Uname: Linux 4.4.0-15-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 25 20:14:18 2016 DistUpgraded: 2016-03-25 09:16:37,728 DEBUG enabling apt cron job DistroCodename: xenial DistroVariant: ubuntu DkmsStatus: oem-audio-hda-daily, 0.201412181801~ubuntu14.04.1, 3.13.0-83-generic, x86_64: installed EcryptfsInUse: Yes ExecutablePath: /usr/bin/xinit GraphicsCard: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0402] (rev 06) (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0402] InstallationDate: Installed on 2014-12-14 (467 days ago) InstallationMedia: Ubuntu-Server 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.3) MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M. ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-15-generic root=UUID=6f2e8267-1240-4f7b-9889-42e65d74767e ro biosdevname=0 text SourcePackage: xinit UpgradeStatus: Upgraded to xenial on 2016-03-25 (0 days ago) dmi.bios.date: 05/18/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: P1.90 dmi.board.name: H97M Pro4 dmi.board.vendor: ASRock dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.90:bd05/18/2015:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnH97MPro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: To Be Filled By O.E.M. dmi.product.version: To Be Filled By O.E.M. dmi.sys.vendor: To Be Filled By O.E.M. version.compiz: compiz N/A version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.67-1 version.libgl1-