免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2393 | 回复: 8

[OpenBSD] gnome已经安装,如何配置,请帮帮忙! [复制链接]

论坛徽章:
0
发表于 2006-02-25 12:43 |显示全部楼层
openbsd3.8 ,i386,想安装桌面,已经安装了gnome,不知如何配置?

[ 本帖最后由 wulang2005 于 2006-2-25 18:55 编辑 ]

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
发表于 2006-02-25 12:44 |显示全部楼层
难道LZ安装系统时没有把XServer包选上吗?

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
发表于 2006-02-25 13:04 |显示全部楼层
估计cvs OpenBSD的X11源码,编译安装,准可行.
或者发个信息问一下MichaelBibby.

论坛徽章:
0
发表于 2006-02-25 14:39 |显示全部楼层
如果用fvwm2, 我有完成好的配置文件, 直接解到/usr/local/share/fvwm下就可以使用了, 有好几个主题可供选择.

论坛徽章:
0
发表于 2006-02-25 15:41 |显示全部楼层
原帖由 rainren 于 2006-2-25 14:39 发表
如果用fvwm2, 我有完成好的配置文件, 直接解到/usr/local/share/fvwm下就可以使用了, 有好几个主题可供选择.

我就是按照你那篇“靓丽OpenBSD桌面”来配置的。但后来我又安装了gnome,再后来,我又以http://geek00l.blogspot.com/2005/12/fluxbox-on-openbsd-38.html为例子,结果还是不行。请多多帮忙。

论坛徽章:
0
发表于 2006-02-25 15:52 |显示全部楼层
Fluxbox on OpenBSD 3.8
Xorg Setup

shell>Xorg -configure

This command will automatically detect your hardware specification and generate the xorg.conf.new as a template under your user home directory.

You can test your xorg.conf by using the command below

shell>Xorg -config /root/xorg.conf.new

Once you have proper xorg.conf.new under your user home directory, copy it to the /etc/X11

shell>cp xorg.conf.new /etc/X11/xorg.conf

Now you are done with Xorg.

If you want to use xdm instead of gdm, normally you can just

shell>echo "xdm_flags=\"\"" > /etc/rc.conf.local

Fluxbox Setup

Before you install, you should add this two lines to your ~/.profile

PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/3.8/packages/i386/
export PKG_PATH

Now you won't need to export the package path manually everytime you login to the machine.

Installing fluxbox

You can either use port or package install.

Port Install

shell>cd /usr/ports/x11/fluxbox; make install

Package Install

shell>pkg_add ${PKG_PATH}fluxbox-0.9.13.tgz

Fluxbox Configuration

If you plan to go for startx manually, you can just create .xinitrc under user home directory

shell>cd ~

shell>echo "exec /usr/local/bin/startfluxbox" > .xinitrc

shell>chmod u+x .xinitrc

Or if you are using xdm/gdm as a wrapper to launch startx, you should use .xsession

shell>echo "exec /usr/local/bin/startfluxbox" > .xsession

I suggest you copy all the files under /usr/local/share/fluxbox to you user home directory.

shell>cp -fR /usr/local/share/fluxbox/* ~/.fluxbox/

GDM Setup

If you prefer to use GDM - gnome display manager instead of xdm for it's nicer and rocking interface, let's go get it.

Port Install

shell>cd /usr/ports/x11/gnome/gdm; make install

Package Install

shell>pkg_add ${PKG_PATH}gdm-2.6.0.9.tgz

After the installation, edit the /etc/rc and change the part below. Or if you are good in sed, you may be able to do it quicky with s/xdm/gdm/g

# Alternatively, on some architectures, xdm may be started in /etc/ttys.
if [ "X${xdm_flags}" != X"NO" ]; then
echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags}
fi

to

# Alternatively, on some architectures, xdm may be started in /etc/ttys.
if [ "X${gdm_flags}" != X"NO" ]; then
echo 'starting gdm...'; /usr/local/bin/gdm ${gdm_flags}
fi

Then, change the xdm_flags="" in /etc/rc.conf.local to gdm_flags=""

By now, you should be done :]

论坛徽章:
0
发表于 2006-02-25 15:59 |显示全部楼层
fvwm是可以进入的。

论坛徽章:
0
发表于 2006-02-25 16:56 |显示全部楼层
不知道你说的配置是什么意思,是不是指启动GNOME?

如果是的话,建立一个~/.xinitrc文件,在里面写上一句:


  1. exec gnome-session
复制代码

前提是你的GNOME包都装上了(装上gnome-session就可以了,它回自动解决依赖的包)

论坛徽章:
0
发表于 2006-02-27 13:31 |显示全部楼层
考,看精华帖,都详细成狗了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP