Re: Re: .bash_profile problems under gnome

From: Adam Siepel (acs_at_soe.ucsc.edu)
Date: 06/06/04

  • Next message: res0nid7_at_verizon.net: "Repairing my MBR"
    Date: Sat, 5 Jun 2004 19:10:07 -0700
    To: debian-user@lists.debian.org
    
    

    > How X starts up can be a mystery. I use "startx" which uses my
    > ~/.xsession. Others do the same and report ~/.xsession is ignored in
    > favour of ~/.xinitrc.
    >
    > With that in mind, change the file in question. The first line should
    > be:
    >
    > #!/bin/bash --login
    >
    > which will make it a login shell, and your bash startup files will be
    > sourced. The file in question must be made executable (ie., chmod 755 ~/.xsession).

    Hmmm. Tried that, didn't work with either xsession or xinitrc. I spent some
    time wading through the startup scripts and it looked like I am supposed to
    be using .xsession. There's also an .xsession-errors file in my home
    directory that seems to be freshly updated on each login. Here are the
    contents:

    /etc/gdm/PreSession//Default: Registering your session with wtmp and utmp
    /etc/gdm/PreSession//Default: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l :0 acs
    /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option UMASK
    /etc/gdm/Sessions//Gnome: /etc/login.defs: "UMASK" is "022"
    /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option ULIMIT
    /etc/gdm/Sessions//Gnome: checking /etc/login.defs for option MAIL_DIR
    /etc/gdm/Sessions//Gnome: /etc/login.defs: "MAIL_DIR" is "/var/mail"
    /etc/gdm/Sessions//Gnome: using /etc/X11/Xsession.options for options
    SESSION_MANAGER=local/newton:/tmp/.ICE-unix/17355

    any other ideas?

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: res0nid7_at_verizon.net: "Repairing my MBR"

    Relevant Pages

    • Re: Re: .bash_profile problems under gnome
      ... >> With that in mind, ... >> which will make it a login shell, and your bash startup files will be ... > directory that seems to be freshly updated on each login. ...
      (Debian-User)
    • Re: change $PATH system-wide?
      ... Xsession script uses /bin/sh and does not know what shell you will be ... To set PATH at the graphical login you should put it in your ... environment scripts or a bug with the selected window manager. ...
      (Debian-User)
    • Re: $PATH and /etc/profile
      ... think the debian maintainers would have done this a long time ago? ... > starting X from a login shell. ... .xsession is there for users to set up their system. ... > at their X scripts the xsession is exec'd through a login shell precisely as ...
      (Debian-User)
    • Re: No sourcing of ~/.profile at login
      ... default shell the same way /bin/login knows (and invokes an instance ... Did anyone suggest that Xsession should load .profile directly? ... > would prevent the login from happening. ...
      (Debian-User)
    • Re: Terminal Server Dell Splash screen
      ... Never mind. ... > When I login through terminal services (remote desktop client in XP) ... > How can I remove this so that all I get is a blue background? ...
      (microsoft.public.windows.server.setup)