FreeBSD Bugzilla – Attachment 12752 Details for
Bug 24517
[PATCH] New FAQ entry about problems running X as non-root
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.17 KB, created by
dima
on 2001-01-22 00:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
dima
Created:
2001-01-22 00:20:00 UTC
Size:
3.17 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /st/src/FreeBSD/doc/en_US.ISO_8859-1/books/faq/book.sgml,v >retrieving revision 1.140 >diff -u -r1.140 book.sgml >--- book.sgml 2001/01/18 01:14:24 1.140 >+++ book.sgml 2001/01/21 22:50:52 >@@ -7238,6 +7238,56 @@ > </qandaentry> > > <qandaentry> >+ <question id="xfree86-root"> >+ <para>I used to run XFree86 as a regular user, but now when >+ I start it it says I must be root!</para> >+ </question> >+ >+ <answer> >+ <para>All X servers need to be run as root in order to get direct >+ access to your video hardware. Older versions of XFree86 >+ (<= 3.3.6) installed all bundled servers to be automatically >+ run as root (setuid to root). This is obviously a security >+ hazard because X servers are large, complicated programs. >+ Newer versions of XFree86 do not install the servers setuid to >+ root for just this reason.</para> >+ >+ <para>Obviously, running an X server as the root user is not >+ acceptable, nor a good idea security-wise. There are two ways >+ to be able to use X as a regular user. The first is to use >+ <ulink >+ url="http://www.FreeBSD.org/cgi/man.cgi?manpath=xfree86&query=xdm"> >+ <command>xdm</command></ulink> or another display manager >+ (e.g., <command>kdm</command>); the second is to use the >+ <command>Xwrapper</command>.</para> >+ >+ <para><command>xdm</command> is a daemon that handles graphical >+ logins. It is usually started at boot time, and is responsible >+ for authenticating users and starting their sessions; it is >+ essentially the graphical counterpart of >+ <command>getty</command> and <command>login</command>. For >+ more information on <command>xdm</command> see <ulink >+ url="http://www.FreeBSD.org/cgi/man.cgi?manpath=xfree86&query=xdm"> >+ its manual page</ulink>, <ulink >+ url="http://www.xfree86.org/support.html">the XFree86 >+ documentation</ulink>, and the <link linkend="xdm-boot">the FAQ >+ entry</link> on it.</para> >+ >+ <para><command>Xwrapper</command> is the X server wrapper; it is >+ a small utility to enable one to manually run an X server while >+ maintaining reasonable safety. It performs some sanity checks >+ on the command line arguments given, and if they pass, runs the >+ appropriate X server. If you do not want to run a display >+ manger for whatever reason, this is for you. If you have >+ installed the complete <ulink url="../ports/">ports >+ collection</ulink>, you can find the port in >+ <filename>/usr/ports/x11/wrapper</filename>. If you have not, >+ follow the previous link for information on how to obtain just >+ this specific port.</para> >+ </answer> >+ </qandaentry> >+ >+ <qandaentry> > <question id="ps2-x"> > <para>My PS/2 mouse doesn't behave properly under X.</para> > </question>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24517
: 12752