From owner-freebsd-newbies@FreeBSD.ORG Thu Oct 30 16:51:21 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82D7F16A4CF; Thu, 30 Oct 2003 16:51:21 -0800 (PST) Received: from quipo.it (mx.quipo.it [212.43.108.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 722DC43FB1; Thu, 30 Oct 2003 16:51:17 -0800 (PST) (envelope-from brunoc@quipo.it) Received: from computer [62.94.2.112] by quipo.it with ESMTP (SMTPD32-7.15) id A20270C028A; Fri, 31 Oct 2003 01:51:14 +0100 Message-ID: <011801c39f49$15a3ef40$70025e3e@computer> From: "Brunoc@quipo.it" To: Date: Fri, 31 Oct 2003 01:51:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Declude-Sender: brunoc@quipo.it [62.94.2.112] X-Declude-Spoolname: Db202070c028a3019.SMD cc: freebsd-newbies@freebsd.org Subject: Fw: xinit: "xf86OpenConsole: Server must be running with root permissions" X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2003 00:51:21 -0000 Scott, 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" To: "Brunoc@quipo.it" Cc: ; 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 > --- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus]