From nobody Fri Mar 29 02:12:34 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from www.enforcer.it (www.enforcer.it [188.40.130.246]) by mail.alpinelinux.org (Postfix) with ESMTP id DE24CDC0422 for ; Sun, 12 Jan 2014 00:26:15 +0000 (UTC) Received: from 127.0.0.1 (localhost [127.0.0.1]) by www.enforcer.it (Postfix) with ESMTP id 4FC12159 for ; Sun, 12 Jan 2014 01:26:14 +0100 (CET) Date: Sun, 12 Jan 2014 01:26:14 +0100 From: lists@cioccolatai.it To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] startx doesn't initialize xauth correctly Message-ID: <20140112002613.GK2755@127.0.0.1> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, the default /etc/X11/xinit/xserverrc ignores command line arguments invoked from startx: xxx:~# cat /etc/X11/xinit/xserverrc #!/bin/sh exec /usr/bin/X -nolisten tcp Launching startx from the command line invokes xserverrc with display name and -auth file, but both are ignored: xinit /home/user/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /tmp/serverauth.fd4FKQvDkW ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this way, all local users are allowed to connect to the X server, ignoring the xauth file. If this isn't an intended/known behaviour, maybe we can add a $@ at the end of the command line in xserverrc, or just remove this file and add the "-nolisten tcp" in the defaultserverargs variable of startx. Login managers (or at least slim) launches X directly with a correct -auth param and thus aren't affected by this. bye, I. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---