From owner-freebsd-questions Fri Dec 21 11:10:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 47DEE37B405 for ; Fri, 21 Dec 2001 11:10:14 -0800 (PST) Received: from there (pgh.nepinc.com [192.204.162.27]) by w2xo.pgh.pa.us (8.11.6/8.11.3) with SMTP id fBM5GWf35076 for ; Sat, 22 Dec 2001 00:16:32 -0500 (EST) (envelope-from durham@w2xo.pgh.pa.us) Message-Id: <200112220516.fBM5GWf35076@w2xo.pgh.pa.us> Content-Type: text/plain; charset="iso-8859-1" From: Jim Durham To: freebsd-questions@freebsd.org Subject: Konqueror, kdesu and .Xauthority Date: Fri, 21 Dec 2001 14:10:19 -0500 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I found that trying to start Konq in file manager run as root mode from the System menu in KDE did not work on FreeBSD 4.4-stable with KDE 2.2.2. After poking around a while, here is what I think was happening and a workaround. Konqueror is run in root mode by kdesu, which takes a cookie from the .Xauthority file in the user's home directory for authorization, so root can open the X server window. I was running KDE, starting it with xdm. xdm is supposed to create a .Xauthority file in the home directory of the invoking user . It was not doing this. I then started X and KDE up from startx, using "startkde" in my .xinitrc file. Voila! There were the .Xauthority files! After they were once there, I went back to xdm and it would write the cookie, it just wouldn't create the files initially. This is probably a bug in xdm ?? At this point, Konq would try to execute, but still had problems. Looking in the .xsession-errors file, it showed that Konq could not fiind the URL "OOP". This is probably part of an error message starting with "OOPS" ? Going to the System->Menu Editor and making the command line "kdesu konqueror file:/" made it work. Apparently it accepts the "file:/" URL and ignores the "OOPS" , which is now trailiing garbage. Could someone else try this and see if this is consistent? -- Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message