On Mon, 26 Apr 2010 03:37:25 +0530, Disc Magnet wrote: > On Wed, Apr 14, 2010 at 10:38 PM, Camaleón wrote: >> On Wed, 14 Apr 2010 10:05:45 -0600, Javier Vasquez wrote: >> >>> ~/.xsession is recognized by the Xsession usually located at >>> /etc/X11/xdm/Xsession or /etc/X11/xinit/Xsession. gdm, usually comes >>> with a link to it, and it is called by default. Xsession will look >>> for several files, one of them being ~/.xsession. >> >> (...) >> >> Nice explanation! >> >> Yep, I already knew that so I asked the OP what is the content of the >> file and what were his goals ;-) >> >> > I did two trials. In one, the content was just "echo hello world". Next > time it was of 0 length. I was just experimenting to see if I can put > any startup commands which will run everytime I log into GNOME. In both > trials, GNOME crashed.
That is the expected behaviour. You *can* put commands in that file but in a proper manner. You have to follow the file specs. Javier already gave you the hints on how to proceed and you have also the Debian manual: *** Chapter 7. The X Window System http://www.debian.org/doc/manuals/reference/ch07.en.html#_customizing_the_x_session_classic_method *** Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.04.26.06.04...@gmail.com