LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 803|回复: 5

How can I get the .xinitrc and .xsession ?

[复制链接]
发表于 2004-5-31 09:13:43 | 显示全部楼层 |阅读模式
I install freeBSD 5.2.1 with miniinstall. and I want to use XFCE4 as my desktop. but I can't find the .xinitrc and  .xsession .Should  I  install the port /usr/ports/x11/gdm2
发表于 2004-5-31 09:19:35 | 显示全部楼层
I think you can write the two files by yourself,or you can just write one,then copy to ger the other.Do you understand?No need to install the gdm2.By the way,the contents of the file can as simply as the following:

  1. exec startxfce4
复制代码

Mmmmmm....I suppose it like that ,but I do not remember it exactlly.
Best regards!^_^
 楼主| 发表于 2004-5-31 09:22:29 | 显示全部楼层
Can you give me a copy! I forget it !
发表于 2004-5-31 09:26:21 | 显示全部楼层
Oh,I'm sorry,guy,I cann't!And I have modified my post,adding the contents of the files,You can see now,can't you?!
发表于 2004-5-31 09:33:42 | 显示全部楼层
Okay,.A binary package for XFce exists (at the time of writing). To install, simply type:

# pkg_add -r xfce4
Alternatively, to build from source, use the ports collection:

# cd /usr/ports/x11-wm/xfce4
# make install clean
Now, tell the X server to launch XFce the next time X is started. Simply type this:

% echo "/usr/X11R6/bin/startxfce4" > ~/.xinitrc
The next time X is started, XFce will be the desktop. As before, if a display manager like xdm is being used, create an .xsession, as described in the section on GNOME, but with the /usr/X11R6/bin/startxfce4 command; or, configure the display manager to allow choosing a desktop at login time, as explained in the section on kdm.

Do you have any problem?
 楼主| 发表于 2004-5-31 11:11:29 | 显示全部楼层
thank you!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表