[opensuse-xorg] [13.1,12.3] startx -- :1 fails as normal user
First obstacle (overcome via 'chmod 777 /var/log'): no write permission for normal users to /var/log makes writing /var/log/Xorg.1.log fail. Why did this happen? Is it expected behavior? Second obstacle: $SUBJECT. Root can do it, but ordinary user cannot. 12.3 log: http://fm.no-ip.com/Tmp/Linux/Xorg/xorg.1.log-gx150-os123-asuserfails 13.1 log: http://fm.no-ip.com/Tmp/Linux/Xorg/xorg.1.log-big41-os131-asuserfails /etc/permissions.local has /usr/bin/Xorg root:root 4711 uncommented. /dev/tty0 is crw--w----. That doesn't seem right, but it's same as in 11.4, where this failure does not occur. So what needs fixing to enable second user, while first user has logged in via gdm/kdm/xdm, to login on tty[1-6], then open an X session as in the past, like still works in Mageia 3 and Fedora 19? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xorg+owner@opensuse.org
* Felix Miata <mrmazda@earthlink.net> [07-07-13 21:56]:
First obstacle (overcome via 'chmod 777 /var/log'): no write permission for normal users to /var/log makes writing /var/log/Xorg.1.log fail.
Why did this happen?
Is it expected behavior?
Second obstacle: $SUBJECT. Root can do it, but ordinary user cannot. 12.3 log: http://fm.no-ip.com/Tmp/Linux/Xorg/xorg.1.log-gx150-os123-asuserfails 13.1 log: http://fm.no-ip.com/Tmp/Linux/Xorg/xorg.1.log-big41-os131-asuserfails
/etc/permissions.local has
/usr/bin/Xorg root:root 4711
uncommented.
/dev/tty0 is crw--w----. That doesn't seem right, but it's same as in 11.4, where this failure does not occur.
So what needs fixing to enable second user, while first user has logged in via gdm/kdm/xdm, to login on tty[1-6], then open an X session as in the past, like still works in Mageia 3 and Fedora 19?
setuid /usr/bin/Xorg This has been a problem for several versions. I do not know why, but... -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xorg+owner@opensuse.org
On 2013-07-07 22:28 (GMT-0400) Patrick Shanahan composed:
Felix Miata composed:
So what needs fixing to enable second user, while first user has logged in via gdm/kdm/xdm, to login on tty[1-6], then open an X session as in the past, like still works in Mageia 3 and Fedora 19?
setuid /usr/bin/Xorg
This has been a problem for several versions. I do not know why, but...
I think the problem changed lately. I remember seeing the question many times for several versions. The answer I remember is uncommenting /usr/bin/Xorg root:root 4711 in permissions.local. What I don't remember but what I think changed is the death of SuSEConfig, which is what I think actually did anything with that comment's removal. Now that I've done chmod 4711 /usr/bin/Xorg the problem is solved, for what's currently booted anyway. It was set to 0755. :-p Thx. :-) -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xorg+owner@opensuse.org
participants (2)
-
Felix Miata
-
Patrick Shanahan