View previous topic :: View next topic |
Author |
Message |
zfmiles n00b
Joined: 28 Apr 2004 Posts: 13
|
Posted: Thu Aug 26, 2004 11:15 am Post subject: A question about gdm[solved] |
|
|
My current .xinitrc file looks like this:
Code: | LANG='zh_CN' scim -f socket -ns socket -d
LANG='zh_CN' scim -f x11 -s socket -c socket -d
exec gnome-session
|
Originally, I use the command to start my X(gnome). Now I want to switch to gdm. It's easy to start gnome using gdm. But how to start LANG=.... these command using gdm? thanks
Last edited by zfmiles on Thu Aug 26, 2004 1:55 pm; edited 1 time in total |
|
Back to top |
|
|
hw-tph l33t
Joined: 08 Jan 2004 Posts: 768 Location: Uppsala, Sweden
|
Posted: Thu Aug 26, 2004 11:30 am Post subject: |
|
|
ln -s .xinitrc .xsession and then simply choose "Custom session" in GDM.
Håkan |
|
Back to top |
|
|
zfmiles n00b
Joined: 28 Apr 2004 Posts: 13
|
Posted: Thu Aug 26, 2004 1:54 pm Post subject: |
|
|
Thank you very much. I solve it.
by the way: you can create a .xsession file in your home dir and add execution right for currenty(It's very important). then choose the custom session. Everything works |
|
Back to top |
|
|
cbr Apprentice
Joined: 05 Jan 2004 Posts: 285 Location: Tallinn/Rakvere, Estonia
|
Posted: Thu Aug 26, 2004 4:11 pm Post subject: |
|
|
hw-tph wrote: | ln -s .xinitrc .xsession and then simply choose "Custom session" in GDM.
Håkan |
BTW, i did not know that. Thatswhy i stopped using GDM some time ago because i couldnt get it to read my .xinitrc. Sweet.. now i can use GDM again. Thanks! |
|
Back to top |
|
|
Solution_9 Guru
Joined: 22 Jun 2003 Posts: 311
|
Posted: Sun Oct 24, 2004 7:40 pm Post subject: |
|
|
very, very good information.. thanks!!! _________________ "The X server has to be the biggest program I've ever seen that doesn't do anything for you."
- Ken Thompson |
|
Back to top |
|
|
|