Re: changing font
On Tue, 31 Aug 2010, matias kaukonen wrote: Yes, it displays the font but it does not set the font. Only the 'quit' button works. I was asking about the result with xfd to be sure that the font itself is recognized. I don't see anything wrong with the description of your changes to the X resources. Another place to check is whether there are conflicting font resources shown, e.g., using appres XTerm. Beyond that, I generally just compile xterm with its debugging trace enabled and see what resource value is actually used. It's also possible to get the nominal value of the font using an escape sequence in a script or program such as xtermset. On Mon, Aug 30, 2010 at 4:22 PM, Thomas Dickey dic...@his.com wrote: On Mon, 30 Aug 2010, matias kaukonen wrote: The above worked on my previous computer, but now it does not work with my current computer. This is what I tried: 1. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xdefaults b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources next, 2. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xresources b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources But neither one affected the xterm font. does xfd -fn lucidasanstypewriter-10 display the font you asked for? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: SIGSEGV in xorg-1.8.2.0 during -resize operation
On 8/31/2010 7:00 PM, Jon TURNEY wrote: Okay, I think I have worked out the correct thing to do do to handle bpp changes in the RANDR code, and I've uploaded a test build at [1]. Perhaps you could try it and see if it works for you? Note that you will need to use -resize with this build to turn on RANDR in any mode. If you can make this crash, with or without -resize, a backtrace would be very helpful. [1] ftp://cygwin.com/pub/cygwinx/XWin.20100831-git-5fa9c90425fb1d68.exe.bz2 I'll give that a try in the next couple of days. Meanwhile, what kind of backtrace did you mean? Is the .exe.stackdump actually helpful? Ryan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: changing font
based on the result of 'appres XTerm', i changed .Xdefaults to: *VT100.utf8Fonts.font:lucidasanstypewriter-10 This worked -- thanks. On Wed, Sep 1, 2010 at 5:06 AM, Thomas Dickey dic...@his.com wrote: On Tue, 31 Aug 2010, matias kaukonen wrote: Yes, it displays the font but it does not set the font. Only the 'quit' button works. I was asking about the result with xfd to be sure that the font itself is recognized. I don't see anything wrong with the description of your changes to the X resources. Another place to check is whether there are conflicting font resources shown, e.g., using appres XTerm. Beyond that, I generally just compile xterm with its debugging trace enabled and see what resource value is actually used. It's also possible to get the nominal value of the font using an escape sequence in a script or program such as xtermset. On Mon, Aug 30, 2010 at 4:22 PM, Thomas Dickey dic...@his.com wrote: On Mon, 30 Aug 2010, matias kaukonen wrote: The above worked on my previous computer, but now it does not work with my current computer. This is what I tried: 1. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xdefaults b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources next, 2. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xresources b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources But neither one affected the xterm font. does xfd -fn lucidasanstypewriter-10 display the font you asked for? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: SIGSEGV in xorg-1.8.2.0 during -resize operation
On 01/09/2010 11:14, Ryan Johnson wrote: On 8/31/2010 7:00 PM, Jon TURNEY wrote: Okay, I think I have worked out the correct thing to do do to handle bpp changes in the RANDR code, and I've uploaded a test build at [1]. Perhaps you could try it and see if it works for you? Note that you will need to use -resize with this build to turn on RANDR in any mode. If you can make this crash, with or without -resize, a backtrace would be very helpful. [1] ftp://cygwin.com/pub/cygwinx/XWin.20100831-git-5fa9c90425fb1d68.exe.bz2 I'll give that a try in the next couple of days. Meanwhile, what kind of backtrace did you mean? Is the .exe.stackdump actually helpful? In theory I believe it's possible to get something from a .stackdump file using addr2line, but a backtrace from gdb is much better. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
No xauth program
Hi All, I am struggling to get my ssh server to forward x windows. I have followed the cygwin documentation several times and cannot get my windows 7 (x64) machine to forward any x windows over ssh. This is particularly frustrating because I set this all up with no problem on my laptop which is also running windows 7 (x64). Here is my short description and info. Please let me know if I need to provide any extra info. I've done extensive web searches and searched the cygwin FAQ's and mailing lists, but can't seem to find a similar problem. I have added ForwardX11 yes to /etc/ssh_config I have added X11Forwarding yes to /etc/sshd_config I have the XWin server running and am using xterm with the following command (on one line of course) C:\cygwin\bin\run.exe -p /usr/X11R6/bin xterm -display 127.0.0.1:0.0 -ls -g 115x35 +tb -fn 8x16 -sl 1000 -sb -rightbar -ms red -fg yellow -bg black So, my xterm pops up just like normal and I can successfully ssh to localhost, but when I try to open something graphical (e.g xeyes or nedit) I get Error: Cannot open display when I connect using ssh -Yv localhost the last few lines of output are: debug1: Entering interactive session. debug1: No xauth program. Warning: No xauth data; using fake authentication data for X11 forwarding. debug1: Requesting X11 forwarding with authentication spoofing. debug1: Remote: No xauth program; cannot forward with spoofing. Last login: Wed Sep 1 15:03:40 2010 from ::1 I don't understand the No xauth program part. I have xauth in /bin which xauth returns /usr/bin/xauth and when I check the permissions on xauth, I see that they are 755 and I am the owner. I even tried the suggestion that someone made on the listserv to add a line to ~/.ssh/config XauthLocation=/usr/bin/xauth and that didn't work, so I tried XauthLocation=/bin/xauth and that didn't work either. Does anyone have any ideas what is going on here? Any help would be very much appreciated. Cheers, -Scott -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/