You are not logged in.
Hi all,
Using startx to launch XFCE4. With the command I get to see:
xauth: (stdin):2: unknown command "lots of numbers"
Multiple lines...
No problem to get into my X11session. But it's a bit weird.
A gentoo forum post recommends to delete my .Xauthority file, but I'm a bit reluctant to do that.
xauth list command:
$ xauth list
view-localhost:0 MIT-MAGIC-COOKIE-1 e83a89dedc4c2543c4ad1d0700c614a3
inspiron/unix:0 MIT-MAGIC-COOKIE-1 e77b9d3b6f33ed3c65671517243b1a47
inspiron:0 MIT-MAGIC-COOKIE-1 e77b9d3b6f33ed3c65671517243b1a47
inspiron:0 MIT-MAGIC-COOKIE-1 e77b9d3b6f33ed3c65671517243b1a47
inspiron:0 MIT-MAGIC-COOKIE-1 e77b9d3b6f33ed3c65671517243b1a47
inspiron:0 MIT-MAGIC-COOKIE-1 e77b9d3b6f33ed3c65671517243b1a47
Any recommendations?
Last edited by jocheem67 (2025-03-24 04:19:51)
Offline
What does your .xinitrc look like?
Offline
view-localhost:0 MIT-MAGIC-COOKIE-1 e83a89dedc4c2543c4ad1d0700c614a3
Also the "hostnamectl" output.
Offline
.xinitrc
#!/bin/sh
xrdb=xrdb
xinitdir=/etc/X11/xinit
xclock=xclock
xterm=xterm
twm=twm
xmodmap=xmodmap
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=$xinitdir/.Xresources
sysmodmap=$xinitdir/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
if [ -x /usr/bin/cpp ] ; then
$xrdb -merge $sysresources
else
$xrdb -nocpp -merge $sysresources
fi
fi
if [ -f $sysmodmap ]; then
$xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
if [ -x /usr/bin/cpp ] ; then
$xrdb -merge "$userresources"
else
$xrdb -nocpp -merge "$userresources"
fi
fi
if [ -f "$usermodmap" ]; then
$xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d $xinitdir/xinitrc.d ] ; then
for f in "$xinitdir/xinitrc.d"/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#$twm &
#$xclock -geometry 50x50-1+1 &
#$xterm -geometry 80x50+494+51 &
#$xterm -geometry 80x20+494-0 &
#exec $xterm -geometry 80x66+0+0 -name login
# Start XFCE4
startxfce4
hostnamectl
Static hostname: inspiron
Icon name: computer-laptop
Chassis: laptop ?
Machine ID: 1628ad65df87411f9221037456bd8cb3
Boot ID: 82499fbe0f5f4ef2b9e066d726a2c729
Product UUID: 4c4c4544-0051-3510-8043-b3c04f443734
Operating System: Arch Linux
Kernel: Linux 6.12.19-1-lts
Architecture: x86-64
Hardware Vendor: Dell Inc.
Hardware Model: Inspiron 16 Plus 7640
Hardware Serial: 3Q5CD74
Firmware Version: 1.11.0
Firmware Date: Tue 2024-09-24
Firmware Age: 5month 4w
Offline
Nothing problematic there.
"view-localhost:0" made me thing [Edit, wtf? - "think"] you maybe don't have a static hostname and it gets swapped while the server starts, but nope.
Is the number in the subject correct or just some placeholder?
You could try "xauth remove view-localhost:0", but it's generally fine to remove the .Xauthority and have it recreated.
If you're super-concerned, you could also just move it aside (append .bak or so)
Last edited by seth (2025-03-24 07:39:56)
Offline
Ok, thanks! mark as solved.
Last edited by jocheem67 (2025-03-24 04:17:46)
Offline