From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: MysteriousSilver Newsgroups: gmane.emacs.help Subject: Re: [Help] Emacs does not launch as normal user. Date: Thu, 19 Nov 2020 05:37:32 +0000 Message-ID: References: <86v9e42anu.fsf@x201.butler.org> <86a6ve38jo.fsf@x201.butler.org> Reply-To: MysteriousSilver Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33661"; mail-complaints-to="usenet@ciao.gmane.io" Cc: MysteriousSilver via Users list for the GNU Emacs text editor To: Leo Butler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 06:38:18 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfceA-0008ej-9i for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 06:38:18 +0100 Original-Received: from localhost ([::1]:59952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfce9-0002uj-9V for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 00:38:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfcdk-0002uY-8X for help-gnu-emacs@gnu.org; Thu, 19 Nov 2020 00:37:52 -0500 Original-Received: from mail-40141.protonmail.ch ([185.70.40.141]:31990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfcdg-0002bH-RS for help-gnu-emacs@gnu.org; Thu, 19 Nov 2020 00:37:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1605764263; bh=VFKpBYIQqiY9R4zaPl2Qs2XIjyiGJ7J73zAwSdzLrhs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=U03/TOGzXMmfNiy7o8ME8umC596fQcBR0UfVEZByVw/WxrZwR+83DBgqbmTWZEEib T1nvy6MWK1Zer7pcafx30NRgcX6jK1UF/zFx/Czz2uFNMM1IbCM/OtUM8p1WJqJOEx tEo7n6qtVdymOafhHhiC2RCRzAzAMo7MS5cQ/quY= In-Reply-To: <86a6ve38jo.fsf@x201.butler.org> Received-SPF: pass client-ip=185.70.40.141; envelope-from=mysterioussilver@protonmail.com; helo=mail-40141.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/19 00:37:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125359 Archived-At: > Begining on line , you have the following: > > access("/usr/share/fonts/WindowsFonts/SourceCode/SourceCodePro-Medium.ttf= ", R_OK) =3D -1 EACCES (Permission denied) > --- SIGSEGV {si_signo=3DSIGSEGV, si_code=3DSEGV_MAPERR, si_addr=3D0x88} -= -- rt_sigaction(SIGSEGV, {sa_handler=3DSIG_DFL, sa_mask=3D[SEGV], sa_flags= =3DSA_RESTORER|SA_RESTART, sa_restorer=3D0x7f6f866636a0}, {sa_handler=3D0x5= 6274dd59dc0, sa_mask=3D~[KILL STOP RTMIN RT_1], sa_flags=3DSA_RESTORER|SA_O= NSTACK|SA_SIGINFO, sa_restorer=3D0x7f6f869d40f0}, 8) =3D 0 > > To me, that looks like the permissions on that .ttf are wrong, > and emac= s > is not handling the problem gracefully. So, I would start by looking at > the permissions on that file. Thanks for replying, deleting that SourceCode folder in fixed it and emacs = launches now. But the toolbar looks different when running 'sudo emacs' and 'emacs'. Scre= enshot: https://i.imgur.com/8KONgvT.png ('sudo emacs' is the right window).= Any idea how to fix this? emacs.trace file: https://termbin.com/sm18