Summary: | x11-misc/virtualgl with x11-misc/sddm - /etc/init.d/vgl calls set_xauth which assumes X authentication filename is mentioned in cmdline | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rafal Lalik <rafallalik> |
Component: | Current packages | Assignee: | Pacho Ramos <pacho> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jauhien, mva, proxy-maint, rei4dan, silvio.gerli |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | My build.log |
Description
Rafal Lalik
2015-02-08 14:25:49 UTC
What installs set_xauth? x11-misc/virtualgl, function is defined in /usr/portage/x11-misc/virtualgl/files/vgl.confd-r1 Actually, I found that even beside general formula to get XAUTHORITY of XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/var\S*auth\S*' | cut -d ' ' -f 2)" /etc/conf.d/vgl defines (commented by default) custom definitions for each display manager, it is enough to modify general expression to (get rod of auth in grep command): XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o '\B[-]auth\s*/var\S*' | cut -d ' ' -f 2)" to make it working for each DM. (In reply to Rafal Lalik from comment #3) > Actually, I found that even beside general formula to get XAUTHORITY of > > XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o > '\B[-]auth\s*/var\S*auth\S*' | cut -d ' ' -f 2)" > > /etc/conf.d/vgl defines (commented by default) custom definitions for each > display manager, it is enough to modify general expression to (get rod of > auth in grep command): > > XAUTHORITY="$(ps wwax -C X,Xorg -o args= --sort=-stime | grep -m 1 -o > '\B[-]auth\s*/var\S*' | cut -d ' ' -f 2)" > > to make it working for each DM. I confirm both the problem and the solution proposed. Now that plasma5 is in portage I think it is important to solve this bug (In reply to Pacho Ramos from comment #5) > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=945fef13fa4820de9ebafdf8c399d19f74418954 It doesn't compile now. It exits in this way: -- Up-to-date: /var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image/usr/share/doc/virtualgl-2.4.1/sshtunnel.png -- Up-to-date: /var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image/usr/share/doc/virtualgl-2.4.1/LICENSE.txt -- Up-to-date: /var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image/usr/share/doc/virtualgl-2.4.1/LICENSE-FLTK.txt -- Up-to-date: /var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image/usr/share/doc/virtualgl-2.4.1/LGPL.txt -- Up-to-date: /var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image/usr/share/doc/virtualgl-2.4.1/index.html -- Up-to-date: /var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image/usr/share/doc/virtualgl-2.4.1/virtualgl.css -- Up-to-date: /var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image/usr/share/doc/virtualgl-2.4.1/ChangeLog.txt rm: impossibile rimuovere "/var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image//usr/share/doc/virtualgl-2.4.1-r1/LGPL.txt*": File o directory non esistente rm: impossibile rimuovere "/var/tmp/portage/x11-misc/virtualgl-2.4.1-r1/image//usr/share/doc/virtualgl-2.4.1-r1/LICENSE*": File o directory non esistente NOTE: "impossibile rimuovere" means "impossibile to remove" "File o directory non esistente" means "the file or directory doesn't exist" I'm sorry my emerge log speaks in Italian (I'm not able to set it in english" Created attachment 412316 [details]
My build.log
Complete log
The build failure was fixed in: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fed12a1bc95a7a7d4409b47af7ce0f2b9f48b685 |