.xinitrc and .xsession is not working ubuntu 12.10

view story

http://ubuntuforums.org – Hi Everybody, I am using Ubuntu 12.10 and using gdm autologin for user1. After autologin i need to run gnome-terminal should call from .xsession. I have created .xinitrc and link with .xsession and i've included "gnome-terminal &" even it is not working. su - user1 vi .xinitrc #!/usr/bin/env bash gnome-terminal & :wq chmod +x .xinitrc ln -s ~/.xinitrc ~/.xsession cat .xsession #!/usr/bin/env bash gnome-terminal & ls -l .xinitrc .xsession -rwxr-xr-x 1 user1 user1 409 Jun 5 20:04 .xinitrc lrwxrwxrwx 1 user1 user1 25 Jun 5 20:36 .xsession -> /home/user1/.xini (Hardware)