From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Leo Butler Newsgroups: gmane.emacs.help Subject: Re: [Help] Emacs does not launch as normal user. Date: Thu, 19 Nov 2020 13:28:37 -0600 Message-ID: <861rgpywm2.fsf@x201.butler.org> References: <86v9e42anu.fsf@x201.butler.org> <86a6ve38jo.fsf@x201.butler.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33270"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: MysteriousSilver via Users list for the GNU Emacs text editor To: MysteriousSilver Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 20:44:17 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 1kfpqq-0008YH-9L for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 20:44:16 +0100 Original-Received: from localhost ([::1]:60484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfpqp-0002Fg-AS for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 14:44:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfpqO-0002FW-EH for help-gnu-emacs@gnu.org; Thu, 19 Nov 2020 14:43:48 -0500 Original-Received: from mail-eopbgr660123.outbound.protection.outlook.com ([40.107.66.123]:38116 helo=CAN01-QB1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfpqK-000685-OY for help-gnu-emacs@gnu.org; Thu, 19 Nov 2020 14:43:47 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ba2mJmuzHXJ9RNTc90tXQWKK+ANLXCJRy7pCPGm5wZxO7rGIsdbszjCmmANogLU0npx8utH8ZWyQyy7qt6vcBCpE4kn8PALR2q9xX/txXp0Bpxsvpwt8gKkmIMPjsbnM3kdWMLgtMEtCcZOTI7dD7E3lkEZihQySljlwp3aMaNrwsUUEzyguqQfzT1E/x/Hsn0b3crtylMQai2dtM7+3UEkPkZP3YRlIsi1UA7bYHvPPlHEhfoR5pNpflX4dk3q4JQxzNCrplSPIWNyGMhz/4TDj3NCT+NF/WNnSQuWsG8chQmTW1sBAuoy9nS9TcWxLnDIr5vf1qTXzvMawIV12+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CK4AobnuIkuIu9xKat+6SJK8RXph2z4tGc/gLhI6O4w=; b=We5PAMTF4GATWxYfAngnflSqTDITr8ljjwRhYQJgH0F4QTmHN2GojqnuUCiKy/sLYHD8bfoaEzd6n7Ko0o/vIHVIlxCMloo261QRHxRTC6RDYNyjSnJBwQ6PxJg25SvaVvOR5pnSNJJU8/HyrNxfHL0aqM6aZsS7bRcKi7Nl63nF9/cnKVafo1vSH5b/Bdt+iqoUG2kDCgWVzZ2MvLaoZgNOA054iriqhYJ4/R/blW5/Yx6yFMP0NLymT6igXy7qHFzk+o2HJXCCSwQM1MO+KiWU0/CMXE0DccMmt3c1JGNZFmkpjKJKz2Yhz+1ilKFipaPm3mbJr7lK0Yih5fFH+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.onmicrosoft.com; s=selector2-umanitoba-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CK4AobnuIkuIu9xKat+6SJK8RXph2z4tGc/gLhI6O4w=; b=OBss3pfh18N0nHZL7DjNEX0G3KI+64IMbidtKn/Hs6BB4/zEuBp/qA0lWYPDgWotyC7kqxDtxAbhGk+jr8ciwot0x/OV7mOtLspVYvUoSzEGjtVH2n+8EWFsP9l+eV109jz4aynJX8D4rQ9iN5V/hfMX1DZ3AwGuFJ8a4Zs/KaM= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=umanitoba.ca; Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) by YT1PR01MB2844.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:2::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.25; Thu, 19 Nov 2020 19:28:41 +0000 Original-Received: from YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::30c2:9ccc:b06b:9aa3]) by YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM ([fe80::30c2:9ccc:b06b:9aa3%3]) with mapi id 15.20.3564.028; Thu, 19 Nov 2020 19:28:41 +0000 In-Reply-To: (mysterioussilver@protonmail.com's message of "Thu, 19 Nov 2020 05:37:32 +0000") X-Originating-IP: [45.44.33.194] X-ClientProxiedBy: MWHPR13CA0015.namprd13.prod.outlook.com (2603:10b6:300:16::25) To YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:21::31) X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from x201 (45.44.33.194) by MWHPR13CA0015.namprd13.prod.outlook.com (2603:10b6:300:16::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.9 via Frontend Transport; Thu, 19 Nov 2020 19:28:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e2b48b86-eb01-4691-2aee-08d88cc15230 X-MS-TrafficTypeDiagnostic: YT1PR01MB2844: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:191; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mEFP+Y8zjE8+wePyr3uu9XBM9lXjLEqy0uBkKxTKj8Neady17YhR3wzeDfjd75g0dPC3MZz7AoAIogEoBfcOoEcvOTvhNWSSZLe35NRzDuB3ReOPRzwkQJ/Zp5pLEoE33R8WCrwBtgu9zT2fCkhNmrIvS6AknNrgf4o8GA+P0fa057Xic3h9o89khmQ7B7xzipviT8b5UUs89wFhxIjQnn2cIaYFVoAiEY1KrobkOYZAA+YabDQ3RN/zbx/9rG+JKkdeiW4O10CziwMkRCFwcXYpqtclJiHW1wJLK/cn+8qI9FdF82X5wjnZUldYSI273cOAqgcCDwJRFRINKhnXyMaLcPqP562ccGQl5BhxZn+TFqM5SvFK0w+yDrGIOgZ3YEHtQQLsRURCd4yLQEsyDQjUo4M2FsclZ/FU7LTyWfEQ4U8+BaPmkWvSC8f2+0J7tbDrP5NnMCgYUDmti58pUw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(39860400002)(136003)(396003)(376002)(346002)(366004)(966005)(2906002)(6486002)(26005)(478600001)(6666004)(52116002)(186003)(6916009)(44832011)(66946007)(16526019)(9686003)(83380400001)(66574015)(5660300002)(66556008)(8936002)(4326008)(86362001)(66476007)(956004)(8676002)(786003)(6496006)(316002)(15519875007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: zjh/5sFrvObUM5aDGJJRGUWsNvPutoHz9qnyV9PgtphiU97FjQDpValMVCUVZyXCxn0F34T+oxVhCMBI7YTKadNduW+pZL0iUq9HqD3b8GvofXoqLC4va3nUjHt6SUSHKn3heh6RKncoqTH025mOAeyey2icJkvb2x+sLXg2OhKdXQLGvTaNKdxMaczje02BJ3fChK5VwM/hv2wT3EFTeQ7RIlgCkTOaZzBVQatRfonVSG2UXbAIyShZbP27MLUk/R+B2D0WU9ztTwpfCC3Mz6beEvQ08Djhxe96yQ+NYMekWzFcyYKa/Ltd8MeXyUI+3TH/k9nwhEGHfJGm/aYl9MoYFhtJWQorqr/1kOs0v5Asc4d/8AIBvaPeutVYXK144ufBA8sv/CHg95/iM1zoNlqa9O02Zjpz9RCCUTtBh7pnyV0orHmAIQ5xZV0Gx7mVsNmoS8YhnH4VqVvuZr09Ju/ZbLj3yxyf6zdW3mH/9IrCJvd6o4i/5GN1DaFdKvLyi+6qwhhD51apMgsrBQmbql/z//wRB41lJfVQpTXYe0rGaN71mq5GuF1fBHzHODCgeXxaBdT09kv0Njm1+e9muIHcwkjISKC9QUmB1OkWwLYlqfZKfvCDIMiGpb0E+ajGXBu6i6PRxJVnSnynUozxVd43QdyqoGiqISx7m7+HE2rEGkYF04/S0exZXEJJaUUb6yZYGGA2jEbpVC2zY921DSgxE0yOdBzIiD2zv0d5oqAYoUj2O0DWWVXgcN5i 7NCRukCMbtDPzglLg0zgCSG1i7VIgRgvXzMSGzuT+MMxWhMhgHj4bhXvHnaFfy/ekSlra9WtJc8nLinav5t4ZJF3P/enK/f5nz X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-Network-Message-Id: e2b48b86-eb01-4691-2aee-08d88cc15230 X-MS-Exchange-CrossTenant-AuthSource: YTBPR01MB3053.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Nov 2020 19:28:41.1348 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eE0xx4oTSsH8SV/7X4hXN9ZtOwCMnEnBePUqjZlP+4wXg0JFRdHWyiAxy85UFPkyPoaXOh8oeL96vNCkmFlvKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT1PR01MB2844 Received-SPF: pass client-ip=40.107.66.123; envelope-from=Leo.Butler@umanitoba.ca; helo=CAN01-QB1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:125401 Archived-At: MysteriousSilver writes: > ******************************************************** > Caution: This message was sent from outside the University of Manitoba. > ******************************************************** > >> Begining on line , you have the following: >> >> access("/usr/share/fonts/WindowsFonts/SourceCode/SourceCodePro-Medium.ttf", R_OK) = -1 EACCES (Permission denied) >> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x88} >> --- rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[SEGV], >> sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f6f866636a0}, >> {sa_handler=0x56274dd59dc0, sa_mask=~[KILL STOP RTMIN RT_1], >> sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, >> sa_restorer=0x7f6f869d40f0}, 8) = 0 >> >> To me, that looks like the permissions on that .ttf are wrong, > and emacs >> 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'. Screenshot: 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 I recommended fixing the permissions on that directory. Looking at the trace file and your screenshots, I think that you still have a bunch of permissions problems which is causing emacs not to be able to load a lot of stuff, including icons. I am not familiar with Arch Linux (I use debian), so you may be better off at this point to ask on the Arch lists/fora for help sorting this out. Leo