[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-amd64/54674: XFCE4: can only run startx once, must remove xfwm4.xml to run startx again
>Synopsis: XFCE4: can only run startx once, must remove xfwm4.xml to run startx again
>Arrival-Date: Tue Nov 05 01:10:00 +0000 2019
>Originator: Ken Ballou
>Release: NetBSD 8.1
NetBSD localhost 8.1 NetBSD 8.1 (GENERIC) #0: Fri May 31 08:43:59 UTC 2019 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
On a pristine install with only xfce4 installed via pkgin, a user can only run startx once. Further attempts to start xfce4 (whether the system has been rebooted or not) fail with a blank desktop.
his is completely reproducible. Note that I am installing NetBSD 8.1 on a VMware workstation (version 15.5.0 build-14665864). The VM is allocated 2GB memory and 20GB on one single disk. I assign 4096MB to the swap partition and the rest of the disk space to the root partition.
Steps to reproduce:
1. Install NetBSD 8.1 from the boot.iso image (233,609,216 bytes). Accept almost all defaults during the installation, and install all sets. The only non-default choices is to install pkgin, assign a password to root, and create one non-root user (in the wheel group). In particular, do NOT enable xdm.
2. Log in to the newly installed system as root. Use pkgin to install xfce4.
3. Log out as root and log in as the non-root user configured in step 1. Copy /usr/pkg/share/examples/xfce4/xinitrc to ~/.xinitrc, and chmod +x ~/.xinitr.
4. Issue the command "startx". Xfce starts as expected.
5. Exit the desktop back to the shell prompt. Issue the command "startx" again. The desktop does not appear, although using "ps" from another terminal shows xfce processes running.
6. Execute the command "rm ~/.config/xfce4/xfconf/xfce4-perchannel-xml/xfwm4.xml".
7. Issue the command "startx". Xfce4 starts normally.
Provided I remove the file xfwm4.xml from step 6, I can reliably run "startx" and xfce4 starts normally. (As a workaround, I have included the rm command as the first line of .xinitrc.
Main Index |
Thread Index |