Re: Cygwin XFree86 startx Problem

2003-12-02 Thread Igor Pechtchanski
On Sat, 29 Nov 2003, Igor Pechtchanski wrote:

 On Sat, 22 Nov 2003, Harold L Hunt II wrote:

  Igor,
 
  Igor Pechtchanski wrote:
   On Fri, 21 Nov 2003, Harold L Hunt II wrote:
  
  Igor,
  
  Igor Pechtchanski wrote:
  
  
  On Fri, 21 Nov 2003, Chan Seng Loong wrote:
  
  hi again...
  
  Thanks to Mr. Igor Pechtchanski, the [: Seng: unknown
  operand problem is eleminated with the power of 
  qutoes :-D
  
  Good.  Harold, how do you want to go about incorporating the patch?
  
  As you suspected, I think this is actually a generated file.  Granted,
  the input is similar to the output, but it is a different file that
  needs to be patched.  Again, I cannot check this right now.
  
  As far as what to do with the patch, it is hard to say.  Are you just
  asking about how it will get into my next release?  That should be easy.
As far as finding it an upstream home, we still have to wait for the
  tree on freedesktop.org to finish being setup.
  
  Harold
  
   Ok, I'll try to checkout the CVS tree at some point soon and produce this
   patch off the correct file.
 
  Base the patch off of the SourceForge tree that we have for now:
 
  http://sourceforge.net/projects/xoncygwin/
 
  That's what I essentially do my builds from, so it should work.
  Hopefully the file in question is actually in that tree... if not, then
  just wait until our freedesktop.org tree is ready.
 
  Harold

 Harold,

 The file (startx.cpp) is in xc/programs/xinit, and the xoncygwin tree only
 has xc/programs/Xserver.  Are you going to use the tree on freedesktop.org
 (which is already set up at xorg) for further builds of the non-server
 parts?  If so, should I use the MAIN branch there, or the XORG-CURRENT
 branch?
 Igor

Harold,

Here's a patch against the HEAD of the MAIN branch in the xorg tree at
freedesktop.org.  ChangeLog is below.  Let me know if there's a problem.
Igor
==
ChangeLog:
2003-12-02  Igor Pechtchanski  [EMAIL PROTECTED]
* xc/programs/xinit/startx.cpp: Make space-friendly.

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton--- xc/programs/xinit/startx.cpp-orig   2003-12-02 13:10:12.0 -0500
+++ xc/programs/xinit/startx.cpp2003-12-02 13:45:06.566899200 -0500
@@ -48,8 +48,9 @@ fi
 scoclientrc=$HOME/.startxrc
 #endif
 
-userclientrc=$HOME/.xinitrc
-userserverrc=$HOME/.xserverrc
+userclientrc=$HOME/.xinitrc
+userserverrc=$HOME/.xserverrc
+/* Note: XINITDIR and BINDIR should be space-free */
 sysclientrc=XINITDIR/xinitrc
 sysserverrc=XINITDIR/xserverrc
 defaultclient=BINDIR/xterm
@@ -64,19 +65,19 @@ if [ -f $scoclientrc ]; then
 defaultclientargs=$scoclientrc
 else
 #endif
-if [ -f $userclientrc ]; then
-defaultclientargs=$userclientrc
-elif [ -f $sysclientrc ]; then
-defaultclientargs=$sysclientrc
+if [ -f $userclientrc ]; then
+defaultclientargs=\$userclientrc\
+elif [ -f $sysclientrc ]; then
+defaultclientargs=\$sysclientrc\
 fi
 #ifdef SCO
 fi
 #endif
 
-if [ -f $userserverrc ]; then
-defaultserverargs=$userserverrc
-elif [ -f $sysserverrc ]; then
-defaultserverargs=$sysserverrc
+if [ -f $userserverrc ]; then
+defaultserverargs=\$userserverrc\
+elif [ -f $sysserverrc ]; then
+defaultserverargs=\$sysserverrc\
 fi
 
 whoseargs=client
@@ -86,15 +87,15 @@ while [ x$1 != x ]; do
 /''*|\./''*)
if [ $whoseargs = client ]; then
if [ x$clientargs = x ]; then
-   client=$1
+   client=\$1\
else
-   clientargs=$clientargs $1
+   clientargs=$clientargs \$1\
fi
else
if [ x$serverargs = x ]; then
-   server=$1
+   server=\$1\
else
-   serverargs=$serverargs $1
+   serverargs=$serverargs \$1\
fi
fi
;;
@@ -103,14 +104,14 @@ while [ x$1 != x ]; do
;;
 *)
if [ $whoseargs = client ]; then
-   clientargs=$clientargs $1
+   clientargs=$clientargs \$1\
else
XCOMM display must be the FIRST server argument
if [ x$serverargs = x ]  @@
 expr $1 : ':[0-9][0-9]*$'  /dev/null 21; then
-   display=$1
+   display=\$1\
else
-   serverargs=$serverargs $1
+   serverargs=$serverargs \$1\
fi
fi
;;
@@ -124,7 +125,7 @@ if [ x$client = x ]; then
 if [ x$clientargs = x ]; then
client=$defaultclientargs
 else
-   

Re: Cygwin XFree86 startx Problem

2003-11-24 Thread Hans Dekker
Hi,

Don't know if I am answering to the right question/ problem, but I see 
some referrals to passwd, username etc. To get to login to a Unix box 
with X you can use the following script, after starting X and getting 
into the xterm box of your local machine:

 xhost +host  /dev/null
 export IPADDR=`ipconfig | grep Address | grep 10\. | cut -f 2 -d 
: | cut -f 2 -d  `
 rsh host -l ${USERNAME} export DISPLAY=\${IPADDR}:0.0\;cd $HOME; 
xterm

Use a modified startxwin.bat like:

 start XWin -multiwindow
 xterm -T your app initialisation screen -e startscript above
Note that the bash shell copies the MS-Windows environment to it as you 
start it. That's the referral to ${USERNAME}. We have the same usernames 
for the MS-Windows environment as well as the Unix box logging in to. 
You can fill out your username on the remote Unix box as needed.

The string Address is what grep looks for in the output of ipconfig. 
Maybe different in your locale. Check ipconfig output in your bash box.

10\. is part of our IP-address range in the Unix/ Windows network. It's 
useful to scan your IP adresses when you have more than 1 NIC or more 
than 1 IP-address.

In case you have a $HOME on the remote machine with spaces in it try cd 
\${HOME}\ in the script.

Regards, Hans.

Igor Pechtchanski escribió:
Robert,

Sorry, but no.  Cygwin doesn't care about the Windows username, it looks
in /etc/passwd.  If you change the name of the Windows account, you'd have
to regenerate the appropriate entry in /etc/passwd anyway, so why not just
eliminate the middle step and change /etc/passwd directly?  Simply remove
the spaces from the username and the home directory in /etc/passwd (and
make sure you rename the directory itself), and it should be fine.
Igor
On Fri, 21 Nov 2003, Robert McNulty Junior wrote:


I think these names with spaces come from when they originally set up
Windows NT, 2000, XP, Server 2000 with thier full name when asked create
users in NT, 2000, XP or 2003 Server.
Correct this by going into the Windows Users' account setup in Control
Panel, and create a user without the spaces in the name.
Chan, use chansengloong as your new user name. Must be done in administrater
mode.
Over all effect will be a new account under Cygwin though windows.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew Markebo
Sent: Friday, November 21, 2003 10:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Cygwin XFree86 startx Problem
/ Chan Seng Loong [EMAIL PROTECTED] wrote:
|[...]
| $ startx
| + userclientrc=/home/Chan Seng Loong/.xinitrc
| + userserverrc=/home/Chan Seng Loong/.xserverrc
just a wild thought, homedir with space in it, try without.. edit
/etc/passwd.
   /A

--
  Democracy is two hungry wolves and one sheep discussing what's for
dinner. Liberty is a well-armed sheep willing to contest the decision.








Re: Cygwin XFree86 startx Problem

2003-11-24 Thread Igor Pechtchanski
On Mon, 24 Nov 2003, Hans Dekker wrote:

 Hi,

 Don't know if I am answering to the right question/ problem, but I see
 some referrals to passwd, username etc. To get to login to a Unix box
 with X you can use the following script, after starting X and getting
 into the xterm box of your local machine:

   xhost +host  /dev/null
   export IPADDR=`ipconfig | grep Address | grep 10\. | cut -f 2 -d : | cut -f 2 
 -d  `
   rsh host -l ${USERNAME} export DISPLAY=\${IPADDR}:0.0\;cd $HOME; xterm

Make that ${USERNAME} (the username may contain spaces too).  However,
why bother, if you can make $USER be without spaces in /etc/passwd?
Igor

 Use a modified startxwin.bat like:

   start XWin -multiwindow
   xterm -T your app initialisation screen -e startscript above


 Note that the bash shell copies the MS-Windows environment to it as you
 start it. That's the referral to ${USERNAME}. We have the same usernames
 for the MS-Windows environment as well as the Unix box logging in to.
 You can fill out your username on the remote Unix box as needed.

 The string Address is what grep looks for in the output of ipconfig.
 Maybe different in your locale. Check ipconfig output in your bash box.

 10\. is part of our IP-address range in the Unix/ Windows network. It's
 useful to scan your IP adresses when you have more than 1 NIC or more
 than 1 IP-address.

 In case you have a $HOME on the remote machine with spaces in it try cd
 \${HOME}\ in the script.

 Regards, Hans.

 Igor Pechtchanski escribio:
  Robert,
 
  Sorry, but no.  Cygwin doesn't care about the Windows username, it looks
  in /etc/passwd.  If you change the name of the Windows account, you'd have
  to regenerate the appropriate entry in /etc/passwd anyway, so why not just
  eliminate the middle step and change /etc/passwd directly?  Simply remove
  the spaces from the username and the home directory in /etc/passwd (and
  make sure you rename the directory itself), and it should be fine.
Igor
 
  On Fri, 21 Nov 2003, Robert McNulty Junior wrote:
 
 
 I think these names with spaces come from when they originally set up
 Windows NT, 2000, XP, Server 2000 with thier full name when asked create
 users in NT, 2000, XP or 2003 Server.
 Correct this by going into the Windows Users' account setup in Control
 Panel, and create a user without the spaces in the name.
 Chan, use chansengloong as your new user name. Must be done in administrater
 mode.
 Over all effect will be a new account under Cygwin though windows.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Andrew Markebo
 Sent: Friday, November 21, 2003 10:35 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Cygwin XFree86 startx Problem
 
 
 / Chan Seng Loong [EMAIL PROTECTED] wrote:
 |[...]
 | $ startx
 | + userclientrc=/home/Chan Seng Loong/.xinitrc
 | + userserverrc=/home/Chan Seng Loong/.xserverrc
 
 just a wild thought, homedir with space in it, try without.. edit
 /etc/passwd.
 
 /A

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Cygwin XFree86 startx Problem

2003-11-22 Thread Igor Pechtchanski
On Fri, 21 Nov 2003, Harold L Hunt II wrote:

 Igor,

 Igor Pechtchanski wrote:

  On Fri, 21 Nov 2003, Chan Seng Loong wrote:
 
 
 hi again...
 
 Thanks to Mr. Igor Pechtchanski, the [: Seng: unknown
 operand problem is eleminated with the power of 
 qutoes :-D
 
 
  Good.  Harold, how do you want to go about incorporating the patch?

 As you suspected, I think this is actually a generated file.  Granted,
 the input is similar to the output, but it is a different file that
 needs to be patched.  Again, I cannot check this right now.

 As far as what to do with the patch, it is hard to say.  Are you just
 asking about how it will get into my next release?  That should be easy.
   As far as finding it an upstream home, we still have to wait for the
 tree on freedesktop.org to finish being setup.

 Harold

Ok, I'll try to checkout the CVS tree at some point soon and produce this
patch off the correct file.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Cygwin XFree86 startx Problem

2003-11-22 Thread Harold L Hunt II
Igor,

Igor Pechtchanski wrote:
On Fri, 21 Nov 2003, Harold L Hunt II wrote:


Igor,

Igor Pechtchanski wrote:


On Fri, 21 Nov 2003, Chan Seng Loong wrote:



hi again...

Thanks to Mr. Igor Pechtchanski, the [: Seng: unknown
operand problem is eleminated with the power of 
qutoes :-D


Good.  Harold, how do you want to go about incorporating the patch?
As you suspected, I think this is actually a generated file.  Granted,
the input is similar to the output, but it is a different file that
needs to be patched.  Again, I cannot check this right now.
As far as what to do with the patch, it is hard to say.  Are you just
asking about how it will get into my next release?  That should be easy.
 As far as finding it an upstream home, we still have to wait for the
tree on freedesktop.org to finish being setup.
Harold


Ok, I'll try to checkout the CVS tree at some point soon and produce this
patch off the correct file.
Base the patch off of the SourceForge tree that we have for now:

http://sourceforge.net/projects/xoncygwin/

That's what I essentially do my builds from, so it should work. 
Hopefully the file in question is actually in that tree... if not, then 
just wait until our freedesktop.org tree is ready.

Harold



RE: Cygwin XFree86 startx Problem

2003-11-22 Thread Igor Pechtchanski
Robert,

Sorry, but no.  Cygwin doesn't care about the Windows username, it looks
in /etc/passwd.  If you change the name of the Windows account, you'd have
to regenerate the appropriate entry in /etc/passwd anyway, so why not just
eliminate the middle step and change /etc/passwd directly?  Simply remove
the spaces from the username and the home directory in /etc/passwd (and
make sure you rename the directory itself), and it should be fine.
Igor

On Fri, 21 Nov 2003, Robert McNulty Junior wrote:

 I think these names with spaces come from when they originally set up
 Windows NT, 2000, XP, Server 2000 with thier full name when asked create
 users in NT, 2000, XP or 2003 Server.
 Correct this by going into the Windows Users' account setup in Control
 Panel, and create a user without the spaces in the name.
 Chan, use chansengloong as your new user name. Must be done in administrater
 mode.
 Over all effect will be a new account under Cygwin though windows.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Andrew Markebo
 Sent: Friday, November 21, 2003 10:35 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Cygwin XFree86 startx Problem


 / Chan Seng Loong [EMAIL PROTECTED] wrote:
 |[...]
 | $ startx
 | + userclientrc=/home/Chan Seng Loong/.xinitrc
 | + userserverrc=/home/Chan Seng Loong/.xserverrc

 just a wild thought, homedir with space in it, try without.. edit
 /etc/passwd.

 /A

 --
Democracy is two hungry wolves and one sheep discussing what's for
 dinner. Liberty is a well-armed sheep willing to contest the decision.




-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Cygwin XFree86 startx Problem

2003-11-21 Thread Chan Seng Loong
hi again...

Thanks to Mr. Igor Pechtchanski, the [: Seng: unknown
operand problem is eleminated with the power of 
qutoes :-D

Chan Seng [EMAIL PROTECTED] ~
$ startx
+ userclientrc=/home/Chan Seng Loong/.xinitrc
+ userserverrc=/home/Chan Seng Loong/.xserverrc
+ sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
+ sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
+ defaultclient=/usr/X11R6/bin/xterm
+ defaultserver=/usr/X11R6/bin/X
+ defaultclientargs=
+ defaultserverargs=
+ clientargs=
+ serverargs=
+ [ -f /home/Chan Seng Loong/.xinitrc ]
+ defaultclientargs=/home/Chan Seng Loong/.xinitrc
+ [ -f /home/Chan Seng Loong/.xserverrc ]
+ [ -f /usr/X11R6/lib/X11/xinit/xserverrc ]
+ whoseargs=client
+ [ x != x ]
+ [ x = x ]
+ [ x = x ]
+ client=/home/Chan Seng Loong/.xinitrc
+ [ x = x ]
+ [ x = x -a x = x ]
+ server=
+ [ x = x ]
+ XAUTHORITY=/home/Chan Seng Loong/.Xauthority
+ export XAUTHORITY
+ removelist=
+ eval set -- /home/Chan Seng Loong/.xinitrc  --
+ set -- /home/Chan Seng Loong/.xinitrc --
+ xinit /home/Chan Seng Loong/.xinitrc --

+ userresources=/home/Chan Seng Loong/.Xresources
+ usermodmap=/home/Chan Seng Loong/.Xmodmap
+ sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
+ sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
+ [ -f /usr/X11R6/lib/X11/xinit/.Xresources ]
+ [ -f /usr/X11R6/lib/X11/xinit/.Xmodmap ]
+ [ -f /home/Chan Seng Loong/.Xresources ]
+ [ -f /home/Chan Seng Loong/.Xmodmap ]
+ twm
+ xclock -geometry 50x50-1+1
+ xterm -geometry 80x50+494+51
+ xterm -geometry 80x20+494-0
+ exec xterm -geometry 80x66+0+0 -name login
Fontconfig error: Cannot load default config file
Warning: Cannot convert string  to type XftFont

Now the problem is the Fontconfig and freetype2
packages yes, I'm doing the Install from
Internet
but in the XFree86 category... I only find:

WindowMaker
XFree86-base
XFree86-bin
XFree86-bin-icons
XFree86-doc
XFree86-etc
XFree86-f100
XFree86-fcyr
XFree86-fenc
XFree86-fnts
XFree86-fscl
XFree86-fsrv
XFree86-html
XFree86-jdoc
XFree86-lib
XFree86-lib-compact
XFree86-man
XFree86-nest
XFree86-prog
XFree86-prt
XFree86-ps
XFree86-startup-script
XFree86-xserv
XFree86-xwinclip
Xaw3d
cgoban
fvwm
grace
gv
lessitf
libProplist
openbox
x2x
xfig
xfig-base
xfig-bin
xfig-doc
xfig-etc
xfig-lib
xfig-man
xgraph
xwinclip

Hmmm...

maybe they should include a search package
option..
can't find the Fontconfig and freetype2...

Btw, is fontconfig file in etc/X11 directory?


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


Re: Cygwin XFree86 startx Problem

2003-11-21 Thread Igor Pechtchanski
On Fri, 21 Nov 2003, Chan Seng Loong wrote:

 hi again...

 Thanks to Mr. Igor Pechtchanski, the [: Seng: unknown
 operand problem is eleminated with the power of 
 qutoes :-D

Good.  Harold, how do you want to go about incorporating the patch?

 [snip]
 Fontconfig error: Cannot load default config file
 Warning: Cannot convert string  to type XftFont

 Now the problem is the Fontconfig and freetype2 packages
 yes, I'm doing the Install from Internet
 but in the XFree86 category... I only find:
 [snip]

They're both in the Libs category.

 Hmmm...

 maybe they should include a search package
 option..
 can't find the Fontconfig and freetype2...

 Btw, is fontconfig file in etc/X11 directory?

First off, there's a package search page on the internet:
http://cygwin.com/packages/.  You can also use the Full view in the
setup program to see all packages in alphabetical order (or the Not
installed view to limit the packages to those not on your system).
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: Cygwin XFree86 startx Problem

2003-11-21 Thread Harold L Hunt II
Igor,

Igor Pechtchanski wrote:

On Fri, 21 Nov 2003, Chan Seng Loong wrote:


hi again...

Thanks to Mr. Igor Pechtchanski, the [: Seng: unknown
operand problem is eleminated with the power of 
qutoes :-D


Good.  Harold, how do you want to go about incorporating the patch?
As you suspected, I think this is actually a generated file.  Granted, 
the input is similar to the output, but it is a different file that 
needs to be patched.  Again, I cannot check this right now.

As far as what to do with the patch, it is hard to say.  Are you just 
asking about how it will get into my next release?  That should be easy. 
 As far as finding it an upstream home, we still have to wait for the 
tree on freedesktop.org to finish being setup.

Harold



Re: Cygwin XFree86 startx Problem

2003-11-21 Thread Chan Seng Loong
hiagain

I check the setup.exe and it say that I already
installed:

libconfig-devel
libfontconfig1
libfreetype2-devel
libfreetype26

packages...

still I got the fontconfig problem:

Chan Seng [EMAIL PROTECTED] ~
$ startx
+ userclientrc=/home/Chan Seng Loong/.xinitrc
+ userserverrc=/home/Chan Seng Loong/.xserverrc
+ sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
+ sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
+ defaultclient=/usr/X11R6/bin/xterm
+ defaultserver=/usr/X11R6/bin/X
+ defaultclientargs=
+ defaultserverargs=
+ clientargs=
+ serverargs=
+ [ -f /home/Chan Seng Loong/.xinitrc ]
+ defaultclientargs=/home/Chan Seng Loong/.xinitrc
+ [ -f /home/Chan Seng Loong/.xserverrc ]
+ [ -f /usr/X11R6/lib/X11/xinit/xserverrc ]
+ whoseargs=client
+ [ x != x ]
+ [ x = x ]
+ [ x = x ]
+ client=/home/Chan Seng Loong/.xinitrc
+ [ x = x ]
+ [ x = x -a x = x ]
+ server=
+ [ x = x ]
+ XAUTHORITY=/home/Chan Seng Loong/.Xauthority
+ export XAUTHORITY
+ removelist=
+ eval set -- /home/Chan Seng Loong/.xinitrc  --
+ set -- /home/Chan Seng Loong/.xinitrc --
+ xinit /home/Chan Seng Loong/.xinitrc --

+ userresources=/home/Chan Seng Loong/.Xresources
+ usermodmap=/home/Chan Seng Loong/.Xmodmap
+ sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
+ sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
+ [ -f /usr/X11R6/lib/X11/xinit/.Xresources ]
+ [ -f /usr/X11R6/lib/X11/xinit/.Xmodmap ]
+ [ -f /home/Chan Seng Loong/.Xresources ]
+ [ -f /home/Chan Seng Loong/.Xmodmap ]
+ twm
+ xclock -geometry 50x50-1+1
+ xterm -geometry 80x50+494+51
+ xterm -geometry 80x20+494-0
+ exec xterm -geometry 80x66+0+0 -name login
Fontconfig error: Cannot load default config file
Warning: Cannot convert string  to type XftFont

Well, i check the /etc/x11/fs/config:

# font server configuration file
# $Xorg: config.cpp,v 1.3 2000/08/17 19:54:19 cpqbld
Exp $

clone-self = on
use-syslog = off
catalogue =
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
error-file = /var/log/xfs.log
# in decipoints
default-point-size = 120
default-resolutions = 75,75,100,100

# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70




__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


Re: Cygwin XFree86 startx Problem

2003-11-21 Thread David Andersen
One of the messages may be from xclock - I also get the *Warning: Cannot
convert string  to type XftFont* message everytime I load xclock (from
.xinitrc or from an xterm).   It doesn't seem to hurt anything, but it would
be nice to know what causes it.

- Original Message - 
From: Chan Seng Loong [EMAIL PROTECTED]
Newsgroups: gmane.os.cygwin.xfree
Sent: Friday, November 21, 2003 8:02 PM
Subject: Re: Cygwin XFree86 startx Problem
...
 + xclock -geometry 50x50-1+1
...
 Fontconfig error: Cannot load default config file
 Warning: Cannot convert string  to type XftFont



Re: Cygwin XFree86 startx Problem

2003-11-21 Thread Andrew Markebo
/ Chan Seng Loong [EMAIL PROTECTED] wrote:
|[...]
| $ startx
| + userclientrc=/home/Chan Seng Loong/.xinitrc
| + userserverrc=/home/Chan Seng Loong/.xserverrc

just a wild thought, homedir with space in it, try without.. edit
/etc/passwd.

/A

-- 
   Democracy is two hungry wolves and one sheep discussing what's for
dinner. Liberty is a well-armed sheep willing to contest the decision.



RE: Cygwin XFree86 startx Problem

2003-11-21 Thread Robert McNulty Junior
I think these names with spaces come from when they originally set up
Windows NT, 2000, XP, Server 2000 with thier full name when asked create
users in NT, 2000, XP or 2003 Server.
Correct this by going into the Windows Users' account setup in Control
Panel, and create a user without the spaces in the name.
Chan, use chansengloong as your new user name. Must be done in administrater
mode.
Over all effect will be a new account under Cygwin though windows.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew Markebo
Sent: Friday, November 21, 2003 10:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Cygwin XFree86 startx Problem


/ Chan Seng Loong [EMAIL PROTECTED] wrote:
|[...]
| $ startx
| + userclientrc=/home/Chan Seng Loong/.xinitrc
| + userserverrc=/home/Chan Seng Loong/.xserverrc

just a wild thought, homedir with space in it, try without.. edit
/etc/passwd.

/A

--
   Democracy is two hungry wolves and one sheep discussing what's for
dinner. Liberty is a well-armed sheep willing to contest the decision.





Re: Cygwin XFree86 startx Problem

2003-11-20 Thread Harold L Hunt II
John,

I recommend using startxwin.bat.  I don't recommend using startx.

With that being said, looks like you are missing the fontconfig and 
freetype2 packages.

Harold

Chan Seng Loong wrote:

hi...

I having problem using startx to startx the X window
or X server...
here are the error:

Chan Seng [EMAIL PROTECTED] ~
$ startx
+ userclientrc=/home/Chan Seng Loong/.xinitrc
+ userserverrc=/home/Chan Seng Loong/.xserverrc
+ sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc
+ sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc
+ defaultclient=/usr/X11R6/bin/xterm
+ defaultserver=/usr/X11R6/bin/X
+ defaultclientargs=
+ defaultserverargs=
+ clientargs=
+ serverargs=
+ [ -f /home/Chan Seng Loong/.xinitrc ]
[: Seng: unknown operand
+ [ -f /usr/X11R6/lib/X11/xinit/xinitrc ]
+ defaultclientargs=/usr/X11R6/lib/X11/xinit/xinitrc
+ [ -f /home/Chan Seng Loong/.xserverrc ]
[: Seng: unknown operand
+ [ -f /usr/X11R6/lib/X11/xinit/xserverrc ]
+ whoseargs=client
+ [ x != x ]
+ [ x = x ]
+ [ x = x ]
+ client=/usr/X11R6/lib/X11/xinit/xinitrc
+ [ x = x ]
+ [ x = x -a x = x ]
+ server=
+ [ x = x ]
+ XAUTHORITY=/home/Chan Seng Loong/.Xauthority
+ export XAUTHORITY
+ removelist=
+ xinit /usr/X11R6/lib/X11/xinit/xinitrc --
+ userresources=/home/Chan Seng Loong/.Xresources
+ usermodmap=/home/Chan Seng Loong/.Xmodmap
+ sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
+ sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
+ [ -f /usr/X11R6/lib/X11/xinit/.Xresources ]
+ [ -f /usr/X11R6/lib/X11/xinit/.Xmodmap ]
+ [ -f /home/Chan Seng Loong/.Xresources ]
[: Seng: unknown operand
+ [ -f /home/Chan Seng Loong/.Xmodmap ]
[: Seng: unknown operand
+ twm
+ xclock -geometry 50x50-1+1
+ xterm -geometry 80x50+494+51
+ xterm -geometry 80x20+494-0
+ exec xterm -geometry 80x66+0+0 -name login
Fontconfig error: Cannot load default config file
Warning: Cannot convert string  to type XftFont
I tried to fix the probelm using the XF86Config and
.xinitrc file. but
failed.
d
Can someone help me to solve the problem..?
Thanks

John

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



RE: Cygwin XFree86 startx Problem

2003-11-20 Thread Henrik Schultz
With that being said, looks like you are missing the fontconfig and 
freetype2 packages.

No, they just need to enclose long file names with spaces in quotes ...

- Henrik



Re: Cygwin XFree86 startx Problem

2003-11-20 Thread Harold L Hunt II
Henrik,

Henrik Schultz wrote:

With that being said, looks like you are missing the fontconfig and 
freetype2 packages.


No, they just need to enclose long file names with spaces in quotes ...
Not so sure about that.  That may fix some of the problems, but what 
about the last problem in the list:

Fontconfig error: Cannot load default config file
Warning: Cannot convert string  to type XftFont
Harold