Public bug reported:

When I log on to a xubuntu session on a recent nightly build of
plucky, my .profile is not honored; environment variables set
there are not set in a terminal emulator session.

Here's what I did to reproduce the problem:

Created a fresh Virtualbox VM. Installed minimal xubuntu from
cdimage.ubuntu.com/xubuntu/daily-live/current/plucky-desktop-amd64.iso
(the March 17th build.)  Logged into the user created during
install. Started a terminal, edited ~/.profile and inserted

export PROFILE_RUN="$(date)"

then sourced .profile and verified the environment variable was
set. Logged out and back in.  Started a terminal and did "echo
$PROFILE_RUN" which showed nothing.

It's like when lightdm/startxfce4 start the session it doesn't
run the initial shell as a login shell.

Switching to a different console and logging in a CLI session does
show .profile being honored there.

I also tried installing the Ubuntu daily and verified that logging
 into the GNOME session there does run .profile.

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: xfce4-session 4.20.0-2
ProcVersionSignature: Ubuntu 6.14.0-10.10-generic 6.14.0-rc6
Uname: Linux 6.14.0-10-generic x86_64
ApportVersion: 2.32.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: XFCE
Date: Wed Mar 19 17:11:26 2025
InstallationDate: Installed on 2025-03-19 (0 days ago)
InstallationMedia: Xubuntu 25.04 "Plucky Puffin" - Daily amd64 (20250317)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: xfce4-session
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: xfce4-session (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug plucky third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2103667

Title:
  .profile not run on xubuntu login

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/2103667/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to