Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2003 14:26:20 +0100
From:      "Brunoc@quipo.it" <brunoc@quipo.it>
To:        <freebsd-questions@freebsd.org>
Cc:        freebsd-newbies@freebsd.org
Subject:   xinit: "xf86OpenConsole: Server must be running with root permissions"
Message-ID:  <017701c3a07b$d38d9a00$73015e3e@computer>

next in thread | raw e-mail | index | archive | help
I have problems with my startx script,see my other email
"when I invoke startx, it seems to 'freeze' for a minute or so,then =
starts".
Before fixing the startx issue (I think startx has been overwritten
by the fluxconf->XFree86-libraries-4.3.0 installation),
I tested xinit after setting the root setuid bit of the X server=20
(which on my machine points to XF86_SVGA).According to the
xinit error,"I should be using Xwrapper to start the server or xdm.
We strongly advise against making the server SUID root!".
So,with the setuid bit set,xinit works,but the elegant solution
would be to use Xwrapper.How can I use Xwrapper ?
Does it accept a server name to execute ?

When you say 'runlevel 5' do you mean the kernel securelevels=20
(i remember runlevels used as boot levels in linux) ?

Thank you for help
Bruno


----- Original Message -----=20
From: "Scott W" <wegster@mindcore.net>
To: "Brunoc@quipo.it" <brunoc@quipo.it>
Cc: <freebsd-questions@freebsd.org>; <freebsd-newbies@freebsd.org>
Sent: Thursday, October 30, 2003 3:56 PM
Subject: Re: xinit: "xf86OpenConsole: Server must be running with =
rootpermissions"

You should be starting X via the 'startx' command if you're not using=20
runlevel 5/[xgk]dm.  Try that and see if the same problem persists.

Scott

Brunoc@quipo.it wrote:

>Hi,
>
>I just installed a port (fluxconf).That port installed Xfree86 =
Libraries 4.3.0.
>Since then,when I invoke xinit, it exits with the error
>"xf86OpenConsole: Server must be running with root permissions"
>I include the output of 'uname -a' and=20
>the brief output from xinit for the problem
>
>Thank you very much
>Bruno
>
>bruno@ciao (/dev/ttyp0) /usr/home/bruno 2>> uname -a
>FreeBSD ciao.singles.it 4.9-RC FreeBSD 4.9-RC #0: Wed Oct 15 00:12:26 =
CEST 2003     root@:/usr/obj/usr/src/sys/CURRENT_WINE  i386
>
>bruno@ciao (/dev/ttyp0) /usr/home/bruno 2>>xinit
>
>XFree86 Version 3.3.6 / X Window System
>(protocol Version 11, revision 0, vendor release 6300)
>Release Date: January 8 2000
> If the server is older than 6-12 months, or if your card is newer
> than the above date, look for a newer version before reporting
> problems.  (see http://www.XFree86.Org/FAQ)
>Operating System: FreeBSD 4.1.1-STABLE i386 [ELF]=20
>Configured drivers:
>  SVGA: server for SVGA graphics adaptors (Patchlevel 1):
>      NV1, STG2000, RIVA 128, RIVA TNT, RIVA TNT2, RIVA ULTRA TNT2,
>      RIVA VANTA, RIVA ULTRA VANTA, RIVA INTEGRATED, GeForce 256,
>      GeForce DDR, Quadro, ET4000, ET4000W32, ET4000W32i, =
ET4000W32i_rev_b,
>      ET4000W32i_rev_c, ET4000W32p, ET4000W32p_rev_a, ET4000W32p_rev_b,
>      ET4000W32p_rev_c, ET4000W32p_rev_d, ET6000, ET6100, et3000, =
pvga1,
>      wd90c00, wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, r128, =
ati,
>      sis86c201, sis86c202, sis86c205, sis86c215, sis86c225, sis5597,
>      sis5598, sis6326, sis530, sis620, sis300, sis630, sis540, =
tvga8200lx,
>      tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga8900d, =
tvga9000,
>      tvga9000i, tvga9100b, tvga9200cxr, tgui9400cxi, tgui9420, =
tgui9420dgi,
>      tgui9430dgi, tgui9440agi, cyber9320, tgui9660, tgui9680, =
tgui9682,
>      tgui9685, cyber9382, cyber9385, cyber9388, cyber9397, cyber9520,
>      cyber9525, 3dimage975, 3dimage985, cyber9397dvd, blade3d, =
cyberblade,
>      clgd5420, clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, =
clgd5430,
>      clgd5434, clgd5436, clgd5446, clgd5480, clgd5462, clgd5464, =
clgd5465,
>      clgd6205, clgd6215, clgd6225, clgd6235, clgd7541, clgd7542, =
clgd7543,
>      clgd7548, clgd7555, clgd7556, ncr77c22, ncr77c22e, cpq_avga, =
mga2064w,
>      mga1064sg, mga2164w, mga2164w AGP, mgag200, mgag100, mgag400, =
oti067,
>      oti077, oti087, oti037c, al2101, ali2228, ali2301, ali2302, =
ali2308,
>      ali2401, cl6410, cl6412, cl6420, cl6440, video7, ark1000vl, =
ark1000pv,
>      ark2000pv, ark2000mt, mx, realtek, AP6422, AT24, AT3D, s3_savage,
>      s3_virge, s3_svga, NM2070, NM2090, NM2093, NM2097, NM2160, =
NM2200,
>      ct65520, ct65525, ct65530, ct65535, ct65540, ct65545, ct65546,
>      ct65548, ct65550, ct65554, ct65555, ct68554, ct69000, ct64200,
>      ct64300, mediagx, V1000, V2100, V2200, p9100, spc8110, i740, =
i740_pci,
>      i810, i810-dc100, i810e, Voodoo Banshee, Voodoo3, smi, generic
>
>Fatal server error:
>xf86OpenConsole: Server must be running with root permissions
>You should be using Xwrapper to start the server or xdm.
>We strongly advise against making the server SUID root!
>
>
>When reporting a problem related to a server crash, please send
>the full server output, not just the last messages
>
>X connection to :0.0 broken (explicit kill or server shutdown).
>=3D=3D=3D bruno@searchingjob (/dev/ttyp0) /usr/home/bruno 3>>exit
>

freebsd-newbies@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
To unsubscribe, send any mail to =
"freebsd-newbies-unsubscribe@freebsd.org"


---
[Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus]
[Quipo ISP - This E-mail was scanned for viruses by Declude Virus]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?017701c3a07b$d38d9a00$73015e3e>