No.778 KDEについて |
発言者: pon 発言日: 2002 12/03 12:20 |
いつもお世話になっております。最近X環境を使ってみようと思い、http://www.jfast1.net/~hsbt/xfree.htmを参照してsetup.exeでXfree86とKDEのパッケージ(KDE1と2、Qt1と2と3などといったものが入ってました)をインストールしたのですが、HPの説明にあるstartxwin.shの書き方がわかりません。 インストールしたままのstartxwin.shを記しますので、御指示いただけますようよろしくお願いします。 #! /bin/sh export DISPLAY=127.0.0.1:0.0 PATH=/usr/X11R6/bin:$PATH eval `ssh-agent` # Cleanup from last run. rm -rf /tmp/.X11-unix # Startup the X Server, the twm window manager, and an xterm. # # Notice that the window manager and the xterm will wait for # the server to finish starting before trying to connect; the # error "Cannot Open Display: 127.0.0.1:0.0" is not due to the # clients attempting to connect before the server has started, rather # that error is due to a bug in some versions of cygwin1.dll. Upgrade # to the latest cygwin1.dll if you get the "Cannot Open Display" error. # See the Cygwin/XFree86 FAQ for more information: # http://xfree86.cygwin.com/docs/faq/ # # The error "Fatal server error: could not open default font 'fixed'" is # caused by using a DOS mode mount for the mount that the Cygwin/XFree86 # fonts are accessed through. See the Cygwin/XFree86 FAQ for more # information: # http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-error-font-eof # Start the X Server. XWin -screen 0 1024 768 & # Start the twm window manager. twm & # Set a background color to hide that nasty X stipple. xsetroot -solid aquamarine4 # Start an xterm. xterm -n xterm-1 -j -ls -sb -sl 500 -rightbar -geometry +361+0 -e bash & # Return from sh. exit |
▼関連発言 |