From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF9F0138239 for ; Tue, 9 Feb 2021 04:59:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36FA7E0973; Tue, 9 Feb 2021 04:59:44 +0000 (UTC) Received: from mail119c7.megamailservers.com (mail772.megamailservers.com [69.49.98.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2F32E096C for ; Tue, 9 Feb 2021 04:59:42 +0000 (UTC) X-Authenticated-User: admin@sys-concept.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.com; s=mailtor; t=1612846782; bh=/1SrOscdo0hHSXbDuxAMEuAL0InWMbg6Z19BniF2gaY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=RnvLtdJV+/9lAiB2T1lUZ4ObJUglD4yWYWURekKKA8YjwLTqY88Um5CqVE/t1wito fRK4++MqFMEs2nOmdpyTkgVH7LaQ9uQ4QSQ1fflLV0pkiMa080PYjA0Q4w6YALETFO mzqor+WdOObUVHPBM7b+tBPCHTw0ItSHFFiMr5Ms= Feedback-ID:thelma@sys-conc X-VIP: 69.49.109.100 Received: from [10.0.0.109] 184.69.242.18":"54938 ([184.69.242.18]) (authenticated bits=0) by mail119c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id 1194xe4A010387 for ; Mon, 8 Feb 2021 23:59:42 -0500 Subject: Re: [gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied) To: gentoo-user@lists.gentoo.org References: <20210207110932.01ecffd7@digimed.co.uk> <96830d1b-efb2-030e-9335-3cecd1bdc75b@sys-concept.com> <20210207192602.1813b992@digimed.co.uk> From: thelma@sys-concept.com Message-ID: <44b4d0b1-4e0d-7365-802a-351cee1b39ee@sys-concept.com> Date: Mon, 8 Feb 2021 21:59:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CTCH-RefID: str=0001.0A742F22.602216BE.000C:SCFSTAT54230205,ss=1,re=-4.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=dfH+Ikfe c=1 sm=1 tr=0 a=u3gW5Uk2xAGXuEgp5FffjQ==:117 a=u3gW5Uk2xAGXuEgp5FffjQ==:17 a=IkcTkHD0fZMA:10 a=wJlgicCn9ha8z9ZNs9AA:9 a=QEXdDO2ut3YA:10 X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrheeggdejkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffuvffqrffktedpqfgfvfdpvedtjeenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpehthhgvlhhmrgesshihshdqtghonhgtvghpthdrtghomhenucggtffrrghtthgvrhhnpeehgfehfeehtdejffffffetleffudetjedtieeifefghefhveeftdduieehtdefleenucfkphepudekgedrieelrddvgedvrddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeegrdeiledrvdegvddrudekpdhhvghloheplgdutddrtddrtddruddtlegnpdhmrghilhhfrhhomhepthhhvghlmhgrsehshihsqdgtohhntggvphhtrdgtohhmpdhrtghpthhtohepghgvnhhtohhoqdhushgvrheslhhishhtshdrghgvnhhtohhordhorhhg X-Origin-Country: CA X-Archives-Salt: 2bdb42d9-8da4-40e3-8d2b-f37cc096e9a1 X-Archives-Hash: 2bbd5a989a1798dfcad5d0fbf175112d On 2/8/21 9:44 PM, cal wrote: [snip] >> >> When I'm directly in front of the PC and I have a log-in screen and type user ID + passwords >> I was under impression that "startxfce4" would run automatically when from .xinitrc >> ~/.xinitrc >> exec startxfce4 >> >> but it doesn't, when I log-in the XFCE4 is not starting automatically, I have to type manually: startxfce4 >> > I see you have already solved your problem.  But it bears mentioning: .xinitrc is executed by runing `startx`, not by the login shell. I see, so instead of going around and calling .xinitrc from .bash_profile why not call startxfce4 directly from .bash_profile Instead of: if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx; fi start as: if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startxfce4; fi It should work.