PDA

View Full Version : .xinitrc and .xsession is not working ubuntu 12.10



wind_clouds
June 6th, 2013, 04:48 PM
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/.xinitrc

please suggest me how to do it

oldos2er
June 6th, 2013, 05:29 PM
Duplicate of http://ubuntuforums.org/showthread.php?t=2151997 closed. Please do not create more than one thread for the same or similar questions.