Date: Sat, 3 Aug 2002 09:50:19 -0700 (PDT) From: Buenaventura Carreras <bcarrera@ugr.es> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/41288: startx works for root but not for users Message-ID: <200208031650.g73GoJZi092600@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 41288
>Category: misc
>Synopsis: startx works for root but not for users
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 03 10:00:11 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Buenaventura Carreras
>Release: 4.6
>Organization:
University of Granada
>Environment:
>Description:
After installing freeBSD I could start XWindow only as root. When I tried startx as user I got the following message "Fatal server error: cannot open log file "/var/log/XFree86.0.log".
I changed permissions of "var/log/XFree86.0.log" to 777. Then I got among other messages something like "set suid the server". After several trials (I did not know exactly which file was the server) I found and set suid "/usr/X11R6/bin/XFree86". Since then I can start XWindow as a user.
>How-To-Repeat:
>Fix:
Could you not provide "/usr/X11R6/bin/XFree86" already set suid with the distribution of FreeBSD 4.6 ?. For the people like me who are new to FreeBSD that could save a lot of time or even be decisive to use FreeBSD.
I got my version of FreeBSD through the net as an ISO-IMAGE-i386 at ftp://ftp.es.FreeBSD.org/pub/FreeBSD.
Perhaps you can post this report at some place where other people with the same (silly, I recognize) problem can see the easy solution: as root execute "chmod u+s /usr/X11R6/bin/XFree86", or in KDE use Konkeror to change the permissions in the properties of the file.
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208031650.g73GoJZi092600>
