Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Rootless Xorgs don't starts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
system.shock
n00b
n00b


Joined: 06 Jan 2019
Posts: 24

PostPosted: Wed Jan 09, 2019 4:47 pm    Post subject: [SOLVED] Rootless Xorgs don't starts Reply with quote

I am trying to setup rootless Xorg as it describes in Gentoo wiki.
But when i try to run startx, i get error:
xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
Full log:
Code:

pica@wintermute ~ % startx -- vt7
xauth:  file /home/pica/.serverauth.26019 does not exist


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.20.99.1
X Protocol Version 11, Revision 0
Current Operating System: Linux wintermute 4.20.0-gentoo-wintermute #1 SMP Tue Jan 8 19:15:15 MSK 2019 x86_64
Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.20.0-gentoo-wintermute root=UUID=43727071-9a9c-4e2e-ae89-61554747c651 ro crypt_root=/dev/sda3 real_root=/dev/mapper/gentwo-root rootfstype=ext4 dolvm quite splash elevator=deadline init=/lib/systemd/systemd
Build Date: 09 January 2019  07:32:57PM

Current version of pixman: 0.34.0
        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/pica/.local/share/xorg/Xorg.1.log", Time: Wed Jan  9 19:38:26 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 7 (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/pica/.local/share/xorg/Xorg.1.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
xinit: server error
Couldn't get a file descriptor referring to the console


Code:

x11-base/xorg-server-9999::gentoo was built with the following:
USE="glamor ipv6 libressl systemd udev xorg -debug -dmx -doc -kdrive -minimal (-selinux) -static-libs -suid -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)"
CFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -O3 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
CXXFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -O3 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -march=native -O3 -fgraphite-identity -floop-nest-optimize -fipa-pta -fno-semantic-interposition -flto=4 -fuse-linker-plugin -pipe -Wl,-z,lazy"

Code:

source make.conf.lto

COMMON_FLAGS="-march=native ${CFLAGS} -O3 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j5 -l5"

USE="truetype libressl cryptsetup crypt plymouth icu python branding png jpeg jpg bindtest vim zsh-completion"

PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

LC_MESSAGES=C

GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/"

FEATURES="${FEATURES} ccache"
CCACHE_DIR="/gentoo/ccache"
CHOST="x86_64-pc-linux-gnu"
GRUB_PLATFORMS="efi-64"
INPUT_DEVICE="uvdev synaptics"
VIDEO_CARDS="intel vesa fbdev i965"

CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

Code:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
0d:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 04)


Code:

pica@wintermute ~ % groups
wheel audio video users pica


I am using lenovo thinkpad x220 and i3 as wm.


Last edited by system.shock on Thu Jan 10, 2019 12:15 am; edited 1 time in total
Back to top
View user's profile Send private message
system.shock
n00b
n00b


Joined: 06 Jan 2019
Posts: 24

PostPosted: Wed Jan 09, 2019 8:43 pm    Post subject: Reply with quote

Seems thats help:
Code:
https://unix.stackexchange.com/questions/346383/run-second-x-server-from-within-x-as-a-systemd-service
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum