Re: unable open xterm
On 05/09/2011 12:48 PM, Usuário do Sistema wrote: disregard my before email! sorry. I've just tried: 1- export DISPLAY=:0.0 2- xauth -f path list xauth: creating new authority file path but the same error occur when I run xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s I'dont know very well X Server! so...follow any questions: 1- it's necessary a monitor plug in machine full time ?? ( I'm access the mechine by ssh and it hasn't monitor ) 2- I see nothing when I ran xauth -f path list neither path to the file cookie as you commented below only the message: xauth: creating new authority file path thank! 2011/5/9 Marty Jack marty...@comcast.net: On 05/09/2011 11:50 AM, Usuário do Sistema wrote: Hi everyone, I'm trying open one session xterm on of the same machine that holds the X Server but occur a error. what I've done: 1- login in at the machine that holds the X server by ssh ( the Machine hasn't monitor ) 2- ran the command export DISPLAY=0.0 3- ran the command xterm appear the error follow: Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s I'm using the Red Hat Enterprise 5.6 on the machine and I need open one session xterm. why occur this error ? what I have do to open xterm session ? strangely it was work! out of the blue began appear the message above when I've ran xterm command. any tip it's welcome! thank ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: marty...@comcast.net One thing that looks wrong is it should be DISPLAY=:0.0, you're missing a colon. The second thing that might be wrong is authorization. If your Xserver is started with an -auth switch, you need to export XAUTHORITY=some-path where that file contains the same session cookie that the server has and is readable by whatever process is trying to connect to the server. You can poke around with xauth -f path list to see what is in a cookie file if you need to. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: maico...@ig.com.br Unfortunately I wasn't very clear. You weren't meant to do the xauth -f path list blindly. For one thing path was a variable you were supposed to provide a sensible value for, and this lists out an authority file you already have. Read man xauth. So far you haven't done anything to create the authority file if you need one. Do a ps aux | grep X and see what your Xserver is being started with. If it has an -auth switch, you need to do something to get the contents of the file referenced by the -auth switch into a place where the user can read it and then set XAUTHORITY to point to it. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: unable open xterm
On Mon, May 09, 2011 at 02:07:23PM -0300, Usuário do Sistema wrote: occur error too 1- I'm using the windows machine win 7 2- I've login in by puty from my windows machine to X server machine from there I've ran more session ssh to itself. -bash-3.2# xterm Could not find ':' in DISPLAY: 0.0, X connection to localhost:10.0 broken (explicit kill or server shutdown) So, you're using X server on Windows 7, doing ssh with putty to RHEL 5.3, and it used to work before? I'm not sure how it did if you don't specify the Windows 7 host's name in $DISPLAY. As a quick check, you could start a local xterm on Windows 7, perform xhost + from there, then putty to RHEL, set DISPLAY=windows7hostname:0; export DISPLAY, then start xterm on RHEL. If this works, switch to xauth instead of xhost. With kind regards, Baurzhan. 2011/5/9 Baurzhan Ismagulov i...@radix50.net: On 05/09/2011 11:50 AM, Usuário do Sistema wrote: I'm trying open one session xterm on of the same machine that holds the X Server but occur a error. If you don't want to do everything manually, you could try ssh -X. It will setup a tunnel and set $DISPLAY. With kind regards, Baurzhan. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: unable open xterm
On Mon, 9 May 2011, Usuário do Sistema wrote: disregard my before email! sorry. I've just tried: 1- export DISPLAY=:0.0 2- xauth -f path list xauth: creating new authority file path but the same error occur when I run xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s If you're logged in as root, then the X libraries (from ~10 years ago) will ignore the $DISPLAY variable. It used to be a reliable workaround to simply use the -display option (but I've seen a few machines where that's been broken). That is xterm -display :0.0 As noted, if you were using ssh -X, then the display would be set more/less automatically. With RHEL 5.6, it's unlikely that xterm itself is setuid, since Red Hat's been using utempter since RHEL 4.x - but on the odd chance that someone's fixed your machine, stripping the setgid bit (or setuid...) won't do much more harm than disable utmp updates. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: unable open xterm
Thank you Thomas. but it wasn't work. 1- bash-3.2# xterm -display :0.0( here I was logged by SSH using Puty from my windows machine ) Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s 2- bash-3.2# xhost +localhost xhost: unable to open display :0.0 what I think very strange that the xterm it was work! I have 4 Server with Red Hat Enterprise 5.6 and all are the problem that! I go on search in the man auth as have ever suggested. more tips are welcome thank! Em 9 de maio de 2011 18:07, Thomas Dickey dic...@his.com escreveu: On Mon, 9 May 2011, Usuário do Sistema wrote: disregard my before email! sorry. I've just tried: 1- export DISPLAY=:0.0 2- xauth -f path list xauth: creating new authority file path but the same error occur when I run xterm Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s If you're logged in as root, then the X libraries (from ~10 years ago) will ignore the $DISPLAY variable. It used to be a reliable workaround to simply use the -display option (but I've seen a few machines where that's been broken). That is xterm -display :0.0 As noted, if you were using ssh -X, then the display would be set more/less automatically. With RHEL 5.6, it's unlikely that xterm itself is setuid, since Red Hat's been using utempter since RHEL 4.x - but on the odd chance that someone's fixed your machine, stripping the setgid bit (or setuid...) won't do much more harm than disable utmp updates. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: evdev: Attach touchscreen to X screen
On Mon, May 09, 2011 at 02:40:01PM +0200, Stephan Josel wrote: We're trying to get a multi-touchscreen (multiple touchscreens not multi touch) setup working with the evdev driver in Ubuntu (Natty Narwhal, 11.04). Basically, the touchscreens are configured and working except that the mapping to the correct X screen is wrong. We set up 5 touchscreens in a row (Xorg ServerLayout RightOf) with Xinerama enabled and their corresponding touchscreen inputdevices. Using xinput we are able to create a pointer for each of the touchscreens. The following is observed then: When touching any screen, the resulting movement of the pointer is only displayed on the first X screen (there are 5 pointers visible then on this screen). This is not at all the desired behavior. We would like to attach a touchscreen to a specific X screen. Unfortunately, we found no way to tell the evdev driver to map a InputDevice to a X screen. Older versions of the driver provided an option AbsoluteScreen but the latest version hasn't anything like this. I know that the evtouch driver would provide a ScreenNo option, however evtouch is not available for Natty Narwhal. We also experimented with the Xorg coordinate transformation matrix, but with the result that the mouse movements where still on the first X screen. So my question is: How do I tell the evdev driver to map an InputDevice to a specific X screen? Is there an option line in xorg.conf or is there any method via xinput? tbh, I don't think we have anything in place right now for multiple screens. Multiple outputs - yes (the transformation matrix) but not multiple screens. Cheers, Peter ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: unable open xterm
Usuário do Sistema maico...@ig.com.br writes: Thank you Thomas. but it wasn't work. 1- bash-3.2# xterm -display :0.0( here I was logged by SSH using Puty from my windows machine ) Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm Xt error: Can't open display: %s 2- bash-3.2# xhost +localhost xhost: unable to open display :0.0 Are you sure that there is a running X server on that computer? It seems to me that you are trying to make the window appear on the X server without a monitor. Is that really true? I would have thought that it would be more useful to have the xterm window appear on the monitor that you can actually see. Em 9 de maio de 2011 18:07, Thomas Dickey dic...@his.com escreveu: If you're logged in as root, then the X libraries (from ~10 years ago) will ignore the $DISPLAY variable. It used to be a reliable workaround to simply use the -display option (but I've seen a few machines where that's been broken). That is xterm -display :0.0 As noted, if you were using ssh -X, then the display would be set more/less automatically. Except that it seems he is trying make the xterm window appear on the X server that does not have a monitor connected. ssh -X would try to make the xterm window open on the monitor which he is looking at. eirik ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [PATCH] xf86-video-dummy allow up to 32767x32767
You should send the patch to xorg-devel, not the user list. --Jeremy On May 6, 2011, at 11:11 AM, Antoine Martin wrote: Hi, Patch now sent twice... Am I doing this wrong? Do you need me to make changes or test something else? Cheers Antoine On 04/13/2011 07:41 PM, Antoine Martin wrote: Hi Adam, Can you please apply this patch please? Re-sending as a separate thread with patch in git format-patch. I have tested this up to 16384x8192, higher resolutions make xtiming spew out garbage (integer overflow?). Thanks Antoine ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: jerem...@freedesktop.org ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Changing non-printing keys in keyboard layout
On 05/08/2011 05:47 PM, Dotan Cohen wrote: Hi all, I'm trying to write a new keyboard layout to help with a manual disability. I have no problems moving the letters around but the non-printing character keys are being tenacious: How does one map Enter to a different key? The following did not have any effect: key AC05 { [ enter ] }; How does one prevent Capslock from being activated when the physical Capslock key is reassigned to a letter? I have the following: key CAPS { [ a, A ] }; However, repeatedly pressing that key results in this output: aAaAaAaA This is because in addition to the letter, the caps state is being toggled! I have a similar issue with Shift, assigning it to Z and pressing the key results in both a Z _and_ a shift being activated: key LFSH { [ z, Z ] }; How does one assign Caps Lock? The following did not have any effect: key AB05 { [ caps_Lock ] }; How does one assign Esc? The following did not have any effect: key AE05 { [ escape ] }; I'm currently using Debian Squeeze with KDE. It is important to solve this issue with a keyboard layout as opposed to playing with the scancodes and keycodes because there are other users of the system and the computer needs to be able to switch on the fly to standard US, Hebrew, and Russian layouts. Thanks! Oops, that should have been /usr/include/X11/keysymdef.h. No amount of installing the X development headers is going to give you /usr/share/X11/keysymdef.h. The rest of the keyboard stuff is under /usr/share/X11/xkb. Normally, anyway, or it could be xorg instead of X11. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Changing non-printing keys in keyboard layout
On 05/08/2011 05:47 PM, Dotan Cohen wrote: Hi all, I'm trying to write a new keyboard layout to help with a manual disability. I have no problems moving the letters around but the non-printing character keys are being tenacious: How does one map Enter to a different key? The following did not have any effect: key AC05 { [ enter ] }; How does one prevent Capslock from being activated when the physical Capslock key is reassigned to a letter? I have the following: key CAPS { [ a, A ] }; However, repeatedly pressing that key results in this output: aAaAaAaA This is because in addition to the letter, the caps state is being toggled! I have a similar issue with Shift, assigning it to Z and pressing the key results in both a Z _and_ a shift being activated: key LFSH { [ z, Z ] }; How does one assign Caps Lock? The following did not have any effect: key AB05 { [ caps_Lock ] }; How does one assign Esc? The following did not have any effect: key AE05 { [ escape ] }; I'm currently using Debian Squeeze with KDE. It is important to solve this issue with a keyboard layout as opposed to playing with the scancodes and keycodes because there are other users of the system and the computer needs to be able to switch on the fly to standard US, Hebrew, and Russian layouts. Thanks! The keycode for what you're calling enter is spelled Return. Look in /usr/share/X11/keysymdef.h at line 128 or thereabouts. If you don't have that include file, install the X development headers. This will help you find what the right spelling and capitalization are for anything you are interested in. Keysyms are case sensitive, even though most things in the keyboard definition are not case sensitive. I think Escape would work if you had it spelled with a capital E. The setup for the modifier keys is in /usr/share/X11/xkb/symbols/pc at line 39 where it assigns the Shift meaning to Shift_L and Shift_R the left and right shift keys. Shift_L and Shift_R are assigned to keycodes right above there to be whatever the keycodes LFSH and RTSH are on your keyboard model. The Caps Lock assignment is there as well. You can change which keys get assigned any of those meanings right there. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: eGalax Touchscreen calibration problems
On Mon, Apr 18, 2011 at 12:38:23PM -0400, Ken Emmons Jr. wrote: I am having issues calibrating and swapping axes on an eGalax touchscreen. Xorg does seem to recognize the device as an input device and seemingly tries to move the cursor appropriately to its wrong calibration. I had to pass usbhid.quirks=0xeef:0x1:0x40 to the kernel boot parameters to get the kernel HID driver to handle the touchscreen properly. Prior to this it did not work at all. I see valid event interfaces and can in fact get events from them using the evtest.c program at a console. When I try to use evdev driver configured to an event interface (using xorg.conf) xorg logs state that evdev doesn't know what to do with the device. When I use the evtouch driver it just crashes. Most of the help online is using the evtouch driver and this really isn't doing me any good as a result. From what I can see and have read this driver is going away anyhow. It is probably worth noting that when I type xinput list I see no notice of the touchscreen, but that there is just a configured mouse. I suspect that the HAL layer is somehow doing something with combining my regular mouse and my HID touchscreen and xorg is just interpreting that. If this is the case should I be doing my calibrations from the HAL, or is that just passing the data to the Xorg server anyhow? I am using Debian Lenny on a embedded PowerPC computer and I am having problems finding information since most of it is circa 2008-2009. At this point I cannot upgrade the distribution, although that may be a possibility in the future. Xorg version 1.4.2 Any ideas? I'd be happy to do any reading, but I am jumping back and forth between different projects reading conflicting information at this point. newer kernels and evdev versions shouldn't have any problems with the eGalax screens. the kernel patch does pretty much what you passed to the boot params. Can't remember if evdev needed fixes for it but the general rule is that if it doesn't work in your current version and you can't upgrade, you're stuck. your only chance is to figure out why evdev can't use the device (usually that's because a missing button on the device that evdev needs to recognise it). then you can try to hack it up there and hardcode the button mappings. HAL does nothing other than shouting hey, here's a device for you and passing optional configuration options. anything more fancy than that is in the driver. Cheers, Peter ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [ANNOUNCE] dri2proto 2.4
On Wed, 4 May 2011 14:17:29 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: Gaetan Nadon (3): config: install and distribute dri2proto.txt config: remove the pkgconfig pc.in file from EXTRA_DIST config: update AC_PREREQ statement to 2.60 Jesse Barnes (1): dri2proto: make DRI2 swap event match GLX spec Marcin Kościelnicki (1): Fix DRI2Connect line encoding to match existing code Mike Stroyan (2): Add more info about dri2proto events Fix typo and obsolete reference in dri2proto.txt Ignore this release too; compatibility is more important than forcing bug fixes down people's throats. -- Jesse Barnes, Intel Open Source Technology Center ___ xorg-announce mailing list xorg-announce@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg-announce
Re: [ANNOUNCE] glproto 1.4.13
On Wed, 4 May 2011 14:16:50 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: Dave Airlie (2): glxtokens.h: add GLX_EXT_framebuffer_sRGB support. glproto: add GLX_ARB_context_create + GLX_ARB_context_create_profile Jesse Barnes (1): glxproto: make GLX swap event struct match spec git tag: glproto-1.4.13 Ok ignore this one, I should have made it backward compatible. The bug fix isn't important enough to cause existing builds to break. -- Jesse Barnes, Intel Open Source Technology Center ___ xorg-announce mailing list xorg-announce@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg-announce
Re: [PATCH] xf86-video-dummy allow up to 32767x32767
Hi, Patch now sent twice... Am I doing this wrong? Do you need me to make changes or test something else? Cheers Antoine On 04/13/2011 07:41 PM, Antoine Martin wrote: Hi Adam, Can you please apply this patch please? Re-sending as a separate thread with patch in git format-patch. I have tested this up to 16384x8192, higher resolutions make xtiming spew out garbage (integer overflow?). Thanks Antoine ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [ANNOUNCE] dri2proto 2.4
On Wed, 4 May 2011 14:17:29 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: Gaetan Nadon (3): config: install and distribute dri2proto.txt config: remove the pkgconfig pc.in file from EXTRA_DIST config: update AC_PREREQ statement to 2.60 Jesse Barnes (1): dri2proto: make DRI2 swap event match GLX spec Marcin Kościelnicki (1): Fix DRI2Connect line encoding to match existing code Mike Stroyan (2): Add more info about dri2proto events Fix typo and obsolete reference in dri2proto.txt Ignore this release too; compatibility is more important than forcing bug fixes down people's throats. -- Jesse Barnes, Intel Open Source Technology Center ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [ANNOUNCE] glproto 1.4.13
On Wed, 4 May 2011 14:16:50 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: Dave Airlie (2): glxtokens.h: add GLX_EXT_framebuffer_sRGB support. glproto: add GLX_ARB_context_create + GLX_ARB_context_create_profile Jesse Barnes (1): glxproto: make GLX swap event struct match spec git tag: glproto-1.4.13 Ok ignore this one, I should have made it backward compatible. The bug fix isn't important enough to cause existing builds to break. -- Jesse Barnes, Intel Open Source Technology Center ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: evdev devices in xorg.conf
On 2011-05-06 01:26, Peter Hutterer wrote: On Tue, May 03, 2011 at 08:50:28AM +0200, Zoltan Szecsei wrote: On 2011-05-03 08:21, Peter Hutterer wrote: On Tue, May 03, 2011 at 07:47:24AM +0200, Zoltan Szecsei wrote: that just means that the device didn't get added for some reason. Nothing that should affect the working of the server (other than that you obviously can't use this device). If you ssh in before, you'll probably notice that this line is already in the log while you're logging in. from your last backtrace, it's the graphics driver that hangs. Hi Peter, Nope - I have had the machine on for a while this morning, and not logged in via the consoe. I've just dived in over ssh and extracted these files: ssh in before it hangs, attach gdb and once it hangs, ctrl+c and get a backtrace. if it hangs in WaitForSomething, then it's more likely a stuck grab (but in this case you should still see rendering happening). Cheers, Peter Hi All, Thanks for the efforts. I'll be out of office in an hour or two and back only on the 16th, so I'll pick up this issue thereafter. Kind regards, Zoltan - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1209 / Virus Database: 1500/3617 - Release Date: 05/05/11 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: How to send a user-defined value along with x window creation api
On 05/04/2011 02:58 AM, prudhvi raj wrote: Hi, I need to send some user-defined value (string/integer) along with the x window creation api (XCreateWindow / XCreateSimpleWindow) in order to differentiate the window from others and can retrieve that value inside X server to use for internal purpose. Something like g_object_set_data() in gtk, which allows user to set an association from user-defined strings to pointers. Is there a way already available in Xlib, like having a reserved attribute/parameter which a user can use to pass some value to the window creation api. (or) Should i add a new attribute to the XSetWindowAttributes structure which can be ignored by all the windows except my special window for which i can set that attribute? ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: marty...@comcast.net The normal way people do this is either to set a property (XChangeProperty) or a selection (XSetSelectionOwner) on the window. You could study something like the EWMH specification http://standards.freedesktop.org/wm-spec/ or the Xembed specification http://standards.freedesktop.org/xembed-spec/ to see how this could work in practice. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: evdev devices in xorg.conf
On Tue, May 03, 2011 at 07:47:24AM +0200, Zoltan Szecsei wrote: On 2011-05-03 07:32, Peter Hutterer wrote: On Sat, Apr 30, 2011 at 07:52:42PM +0200, Zoltan Szecsei wrote: Kubuntu 11.04 fresh install I'm trying to set up a 3-seat multiseat system but for now I have installed only 1 VGA card and want to get the correct xorg.conf contents before I add the other two seats. The system comes up OK, but after a minute or two, the desktop freezes. I'd be grateful if someone could pass comment on the attached xorg.conf and Xorg.0.log files. Thanks in advance, Zoltan -- [...] [11.444] (II) No input driver/identifier specified (ignoring) [ 221.625] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0xf7f7, 0x0004fe20) [ 222.235] [mi] EQ overflowing. The server is probably stuck in an infinite loop. looks like the nvidia driver is at fault here. note that this is not an evdev bug, evdev just exposes it because it tries to enqueue more input events but the server isn't processing them anymore. Cheers, Peter Hi All, I've got it to a stage where I get the KDM login screen with full mouse keyboard functionality. After I login, the mouse keyboard drops out before the desktop appears. Using ssh I get into the system and check Xorg.0.log, to find that the 'EE' error points to: (EE) PreInit returned 8 for Logitech USB Receiver that just means that the device didn't get added for some reason. Nothing that should affect the working of the server (other than that you obviously can't use this device). If you ssh in before, you'll probably notice that this line is already in the log while you're logging in. from your last backtrace, it's the graphics driver that hangs. Cheers, Peter I can include the dmesg, Xorg.0.log and xorg.conf files if anyone would like. BTW: In ubuntu 6.06 (2.6.15-29) with gdm, I used to have pci=nommconf and vmalloc=256M in the bootstring - I'm using default bootstrings for this install. Is this a problem? TIA, Zoltan ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: evdev devices in xorg.conf
On Mon, May 2, 2011 at 11:50 PM, Zoltan Szecsei zolt...@geograph.co.za wrote: On 2011-05-03 08:21, Peter Hutterer wrote: On Tue, May 03, 2011 at 07:47:24AM +0200, Zoltan Szecsei wrote: that just means that the device didn't get added for some reason. Nothing that should affect the working of the server (other than that you obviously can't use this device). If you ssh in before, you'll probably notice that this line is already in the log while you're logging in. from your last backtrace, it's the graphics driver that hangs. Hi Peter, Nope - I have had the machine on for a while this morning, and not logged in via the consoe. I've just dived in over ssh and extracted these files: [12.888] (II) Using input driver 'evdev' for 'Mousetop' [12.888] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [12.888] (**) Option CorePointer [12.888] (**) Mousetop: always reports core events [12.888] (EE) Mousetop: No device specified. [12.888] (EE) PreInit returned 2 for Mousetop As the log suggests, you're not specifying a device for Mousetop since it's commented out: Section InputDevice Identifier Mousetop #Driver mouse #OptionPhys usb-:00:1d.7-4.3/input1 Driver evdev OptionPhys pci-:00:1d.1-usb-0:2:1.1-event-mouse # Option Device /dev/input/event3 Option Protocol auto Option ZAxisMapping 4 5 Option Emulate3Buttons true EndSection On the one hand, you can fix it, but you'll probably get duplicate devices since the server is adding devices automatically. Here's your keyboard getting added: [12.977] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event2) [12.977] (**) Logitech USB Receiver: Applying InputClass evdev keyboard catchall [12.977] (II) Using input driver 'evdev' for 'Logitech USB Receiver' [12.977] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so Unless you have a good reason to keep the static InputDevice sections, you may just want to comment them out and let the server add the devices as it finds them. If you find that you prefer to keep the static device configuration for one reason or another, I suggest adding Option AutoAddDevices false to your server flags. However, Peter's right that your freeze was caused by the nvidia driver. Fixing these PreInit errors won't change that situation. -- Dan ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: When was xrender 0.11 introduced?q
On Tue, May 03, 2011 at 08:22:08PM +0200, Clemens Eisserer wrote: Hi, Does anybody remember which xorg-server version brought support for xrender 0.11? commit c65280ce8df4836bd7424a90482e8aa00ab6f447 Refs: xorg-server-1.8.99.904-16-gc65280c Cheers, Peter I think about not using some paths for render 0.11, however if its too recent I would probably exclude more xorg-server versions than required. Thanks, Clemens ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: evdev devices in xorg.conf
On Tue, May 3, 2011 at 17:30:06 +0200, Zoltan Szecsei wrote: I'm setting up 3 seat multiseat (I use it in my company) but getting things embedded down on 1 seat, then I will add the other two. I took Device setting out, and tried to use Phys instead, as I wondered if /dev/input/event3 would remain event 3 if evdev was wavering for some reason. No, you can't rely on these remaining stable. You might want to use the /dev/input/by-path/ symlinks instead, which (I think) won't change randomly. And either disable AutoAddDevices or set the GrabDevice option to avoid duplicated events. Cheers, Julien ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
RE: DPMS and touch events
Is there a way to not deliver events to the X-clients if DPMS is active and the display is not back in normal mode? Is this so that you don't have accidental button presses when recovering from display power return? I might be interested in this also if it is available. ~Ken ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: recover a broken installation
Hi Piyush, your problem seems to be unrelated to X.org, which is what this mailing list is about. Please continue further discussion off-list, at askubuntu.com or answers.launchpad.net . You can remount the root filesystem with mount -o remount,rw / . However, this will probably not work due to the file system being damaged. Use fsck -p /dev/sdaX (fill in your root partition for sdaX) to repair it (Chances are, you may need to manually confirm some important changes). After a reboot, the root filesystem should be mounted read-write. If you can restore settings and data (Basically /etc/ , /home, database/webserver directories in /var and dpkg --get-selections), formatting the partition and reinstalling Ubuntu may actually be the easier option though. Regards, Philipp PIYUSH SINGH wrote: hi i am a novice linux user using ubuntu 10.10 . while upgrading from 10.10 to 11.04 my system went down due to power off . i am able to use the system wiht the command line with root as user and the read only file system . i am not able to run the do-release-upgrade as the system is read only . The specs of the system are compaq Cq45 207 tu dual core Please help thanks in advance ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: phi...@phihag.de signature.asc Description: OpenPGP digital signature ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: evdev devices in xorg.conf
Hi, Please can someone tell me how to log a bug report. When I follow the links of x.org website, nothing happens. Thanks, Zoltan On 2011-05-01 02:02, Paul Dufresne wrote: You should report a bug (to X I suppose) about this. I am far from being an expert about X... But I believe your Logitech mouse have some initialization problem: [11.441] (EE) PreInit returned 8 for Logitech USB Receiver that later cause problems. I think this is PreInit of evdev being the X driver that request input events from the Linux kernel. 2011/4/30, Zoltan Szecseizolt...@geograph.co.za: Hi, Kubuntu 11.04 fresh install I'm trying to set up a 3-seat multiseat system but for now I have installed only 1 VGA card and want to get the correct xorg.conf contents before I add the other two seats. The system comes up OK, but after a minute or two, the desktop freezes. I'd be grateful if someone could pass comment on the attached xorg.conf and Xorg.0.log files. Thanks in advance, Zoltan -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. P.O. Box 7, Muizenberg 7950, South Africa. 65 Main Road, Muizenberg 7945 Western Cape, South Africa. 34° 6'16.35S 18°28'5.62E Tel: +27-21-7884897 Mobile: +27-83-6004028 Fax: +27-86-6115323 www.geograph.co.za === - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1209 / Virus Database: 1500/3610 - Release Date: 05/02/11 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: evdev devices in xorg.conf
On 2011-05-03 07:32, Peter Hutterer wrote: On Sat, Apr 30, 2011 at 07:52:42PM +0200, Zoltan Szecsei wrote: Kubuntu 11.04 fresh install I'm trying to set up a 3-seat multiseat system but for now I have installed only 1 VGA card and want to get the correct xorg.conf contents before I add the other two seats. The system comes up OK, but after a minute or two, the desktop freezes. I'd be grateful if someone could pass comment on the attached xorg.conf and Xorg.0.log files. Thanks in advance, Zoltan -- [...] [11.444] (II) No input driver/identifier specified (ignoring) [ 221.625] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0xf7f7, 0x0004fe20) [ 222.235] [mi] EQ overflowing. The server is probably stuck in an infinite loop. looks like the nvidia driver is at fault here. note that this is not an evdev bug, evdev just exposes it because it tries to enqueue more input events but the server isn't processing them anymore. Cheers, Peter Hi All, I've got it to a stage where I get the KDM login screen with full mouse keyboard functionality. After I login, the mouse keyboard drops out before the desktop appears. Using ssh I get into the system and check Xorg.0.log, to find that the 'EE' error points to: (EE) PreInit returned 8 for Logitech USB Receiver I can include the dmesg, Xorg.0.log and xorg.conf files if anyone would like. BTW: In ubuntu 6.06 (2.6.15-29) with gdm, I used to have pci=nommconf and vmalloc=256M in the bootstring - I'm using default bootstrings for this install. Is this a problem? TIA, Zoltan -- === Zoltan Szecsei PrGISc [PGP0031] Geograph (Pty) Ltd. P.O. Box 7, Muizenberg 7950, South Africa. 65 Main Road, Muizenberg 7945 Western Cape, South Africa. 34° 6'16.35S 18°28'5.62E Tel: +27-21-7884897 Mobile: +27-83-6004028 Fax: +27-86-6115323 www.geograph.co.za === - No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1209 / Virus Database: 1500/3610 - Release Date: 05/02/11 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: No protocol specified when starting X programs from a script
On Thu, Apr 28, 2011 at 11:11:23 -0700, Alan Coopersmith wrote: On 04/28/11 12:27 AM, Tino Keitel wrote: Hi, I try to start an X application from a script, which is not called from X. This works with the Xfce desktop, but does not with Gnome3. The script sets DISPLAY=:0 and HOME to the user that owns the X session. The application is started with user and group permissions for the user that owns the X session. Here is the strace output that causes the error: socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3 connect(3, {sa_family=AF_FILE, path=@/tmp/.X11-unix/X0}, 20) = 0 getpeername(3, {sa_family=AF_FILE, path=@/tmp/.X11-unix/X0}, [20]) = 0 uname({sys=Linux, node=mac, ...}) = 0 access(/home/scorpion/.Xauthority, R_OK) = 0 open(/home/scorpion/.Xauthority, O_RDONLY) = 4 Any hints what I'm doing wrong? You're using GNOME 3, specifically the new gdm, which doesn't put the xauth cookie into $HOME/.Xauthority, so that programs outside your session can't connect to it. You could run 'xhost +si:localuser:scorpion' in your gnome session, so that the xauth cookie isn't required for local connections from your uid. Thanks Julien and Alan. I decieded to use the most current xauth database for the user currently logged in (`ls -d --sort=time /var/run/gdm3/auth-for-$XUSER-* | head -n 1`/database) for XAUTHORITY, which works fine. Regards, Tino ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.
On Wed, Apr 27, 2011 at 09:02:10 -0700, Eric Anholt wrote: Here's the actual patch I meant to send. What should we do about SwapComplete? I guess for the current (1.3) protocol version, not pretending that SwapComplete has a sbc_lo field is the easiest, since the server will never send it anyway. Cheers, Julien ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [PATCH] Update DRI2 requests and replies for version 1.3.
On Wed, 27 Apr 2011 18:14:03 +0200 Julien Cristau jcris...@debian.org wrote: On Wed, Apr 27, 2011 at 09:02:10 -0700, Eric Anholt wrote: Here's the actual patch I meant to send. What should we do about SwapComplete? IIRC when this was shortly discussed on IRC (in November) the suggestion was to bump the DRI2 version to 2.0 and use generic events, which allow arbitrary length and don't have the only 64 extension events overall issue. Yeah, it's two bytes too long; I guess people aren't using the swap count field since it would be missing some low bits? Kristian suggested a new event, I guess that's the only choice we have for clients to get the low bits... -- Jesse Barnes, Intel Open Source Technology Center ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.
On Thu, 28 Apr 2011 18:04:58 +0200 Julien Cristau jcris...@debian.org wrote: On Wed, Apr 27, 2011 at 09:02:10 -0700, Eric Anholt wrote: Here's the actual patch I meant to send. What should we do about SwapComplete? I guess for the current (1.3) protocol version, not pretending that SwapComplete has a sbc_lo field is the easiest, since the server will never send it anyway. Yeah, the server will drop part of it; we can just truncate those fields from 8 to 6 bits and make them padding instead. We'll need a new event to send all the bits. -- Jesse Barnes, Intel Open Source Technology Center ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: No protocol specified when starting X programs from a script
On 04/28/11 12:27 AM, Tino Keitel wrote: Hi, I try to start an X application from a script, which is not called from X. This works with the Xfce desktop, but does not with Gnome3. The script sets DISPLAY=:0 and HOME to the user that owns the X session. The application is started with user and group permissions for the user that owns the X session. Here is the strace output that causes the error: socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3 connect(3, {sa_family=AF_FILE, path=@/tmp/.X11-unix/X0}, 20) = 0 getpeername(3, {sa_family=AF_FILE, path=@/tmp/.X11-unix/X0}, [20]) = 0 uname({sys=Linux, node=mac, ...}) = 0 access(/home/scorpion/.Xauthority, R_OK) = 0 open(/home/scorpion/.Xauthority, O_RDONLY) = 4 Any hints what I'm doing wrong? You're using GNOME 3, specifically the new gdm, which doesn't put the xauth cookie into $HOME/.Xauthority, so that programs outside your session can't connect to it. You could run 'xhost +si:localuser:scorpion' in your gnome session, so that the xauth cookie isn't required for local connections from your uid. -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
RE: Pb Start X
Hi, Nobody have an idea ? Daniel. -Message d'origine- De : xorg-bounces+daniel.mondon=lpgtechnologies@lists.freedesktop.org [mailto:xorg-bounces+daniel.mondon=lpgtechnologies@lists.freedesktop.org] De la part de MONDON Daniel Envoyé : mardi 19 avril 2011 10:15 À : xorg@lists.freedesktop.org Objet : Pb Start X Hi, I am under TinyCore Linux. My configuration: Board : intel Atom Z510 1.1 Ghz + US15W (menlow) Screen 800x600x24bits on LVDS port 512Mo DDR2 4Go Nand Flash (on USB). I am using Xorg 7.5 (X V1.7.7). Looking Xorg.0.log, video seems to be configured. But X is blocked after 2 screen graphics flash with upper left cursor on. Nothing is visible in var/log/messages Both files are here: http://dl.free.fr/mh6thDBUN Now (without any genius idea), I'm looking to have more traces ... or launching X in debug mode. How can I do that ? Thanks Daniel. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: daniel.mon...@lpgtechnologies.com ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: X won't start from CD [SOLVED]
Hi, now I've solved the problem: X are using /sys to find pci/hardware parameters. Since /sys was r-only nothing could be saved. Installing sysfs and udev was the key. Best regards Göran 2011/4/25 Göran Boström gora...@linux.se Hi! I'm doing a CD with Linux and X. The sources are LFS and BLFS. I've installed the system at an own partition on the hd and it works as expected. But, the same system on a CD does not start X correctly. X don't find any display card. I use the same kernel image on the CD as on the hd. For the CD I've created a ramdisk for some parts of the filesystem needed to be r/w. The X-org programs are as well the same on the two systems. To simplify the setup I've choosed vesa (I have a Nvidia-card). But, I'm stuck!. X says No devices detected immedately after saying using VT number 3. In Xorg.0.log (hd) I have a line erarly with PCI: ... , but it's not showed in the CD-version. Does enybody have any suggestions? xorg.conf: http://pastebin.com/bZBP02zk Xorg.log-diff: http://pastebin.com/Wrsj69WC dmesg-diff: http://pastebin.com/6GkANXFj /Göran ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [PATCH] Update DRI2 requests and replies for version 1.3.
On Wed, Apr 27, 2011 at 09:02:10 -0700, Eric Anholt wrote: Here's the actual patch I meant to send. What should we do about SwapComplete? IIRC when this was shortly discussed on IRC (in November) the suggestion was to bump the DRI2 version to 2.0 and use generic events, which allow arbitrary length and don't have the only 64 extension events overall issue. Cheers, Julien ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
On Wednesday, April 27, 2011 08:42:13 PM gene heskett did opine: On Sunday, April 24, 2011 10:27:13 AM Sven Arvidsson did opine: On Sat, 2011-04-23 at 21:11 -0400, gene heskett wrote: try and apply the patch linked in the bug report I mentioned in an earlier post, which is https://bugs.freedesktop.org/attachment.cgi?id=44749 This shows me the patch, but I don't see a place to click to add any comments. Perhaps you can? The bug report is at https://bugs.freedesktop.org/show_bug.cgi?id=35452 And my passwd seems to be stale. And it still is. Anyway, the problem is back since I rebooted to 2.6.38.4, and the Option NoFlip True is still set in my /etc/X11/xorg.conf, and the log did not show any objections to it. So, what do I do next folks? The only colors I can set a konsole screen to use is the 'dark pastel' choice if I want to be able to actually read it. Black areas of internet videos are also full of this, flickering large areas of the screen, seemingly with a 1 second flashing overlaid over the contamination of the black areas. Thanks Cheers. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) http://tinyurl.com/ddg5bz http://www.cantrip.org/gatto.html My weight is perfect for my height -- which varies. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Why libpciaccess separated from X server ?
OK, that is a shot. Acceptable. Best Regards Kevin From: Samuel Thibault samuel.thiba...@ens-lyon.org To: Kevin Master kevinli...@yahoo.com Cc: Alan Coopersmith alan.coopersm...@oracle.com; xorg@lists.freedesktop.org Sent: Sat, April 23, 2011 3:23:51 PM Subject: Re: Why libpciaccess separated from X server ? Kevin Master, le Thu 21 Apr 2011 19:38:06 -0700, a écrit : yes, sure I can compile and install the newer libpciaccess library. But my question is that why do the X server developers want libpciaccess.so separated from the X server. Any good reason to do this ? It's used by a few tools outside the X server. Samuel ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: keystrings wanted
On 04/25/11 11:57 PM, frank dale wrote: Hello Folks, I have downloaded several source code tarballs for the last release of x.org and still I cannot see what I'm looking for: xmodmap strings assigned to F1, F2, ..., Left, Right,..., Insert, Home... Where are they? Are you looking for the XKB configuration files? They are now delivered by a sister project on freedesktop.org: http://www.freedesktop.org/wiki/Software/XKeyboardConfig -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: keystrings wanted
On Mon, 2011-04-25 at 23:57 -0700, frank dale wrote: Hello Folks, I have downloaded several source code tarballs for the last release of x.org and still I cannot see what I'm looking for: xmodmap strings assigned to F1, F2, ..., Left, Right,..., Insert, Home... They're installed to /usr/include/X11/keysymdef.h, if that helps. Matthew ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.
On Tue, Apr 26, 2011 at 10:39:02 -0700, Eric Anholt wrote: --- src/dri2.xml | 75 +- 1 files changed, 74 insertions(+), 1 deletions(-) diff --git a/src/dri2.xml b/src/dri2.xml index dbd43f8..70c569d 100644 --- a/src/dri2.xml +++ b/src/dri2.xml @@ -1,7 +1,7 @@ ?xml version=1.0 encoding=utf-8? !-- Copyright (C) 2005 Jeremy Kolb. -Copyright © 2009 Intel Corporation +Copyright © 2009-2010 Intel Corporation All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy missing minor-version bump in the xcb tag @@ -163,4 +163,77 @@ authorization from the authors. /list /reply /request + + request name=SwapBuffers opcode=8 +field type=DRAWABLE name=drawable / +field type=CARD32 name=target_msc_hi / +field type=CARD32 name=target_msc_lo / Is there a way to make this field CARD64 so the library interface isn't quite so horrible? I'd guess not because the high/low split makes this not native-endian... Oh well. +field type=CARD32 name=divisor_hi / +field type=CARD32 name=divisor_lo / +field type=CARD32 name=remainder_hi / +field type=CARD32 name=remainder_lo / +reply + pad bytes=1 / + field type=CARD32 name=swap_hi / + field type=CARD32 name=swap_lo / +/reply + /request + + request name=GetMSC opcode=9 +field type=DRAWABLE name=drawable / +reply + pad bytes=1 / + field type=CARD32 name=ust_hi / + field type=CARD32 name=ust_lo / + field type=CARD32 name=msc_hi / + field type=CARD32 name=msc_lo / + field type=CARD32 name=sbc_hi / + field type=CARD32 name=sbc_lo / +/reply + /request + + request name=WaitMSC opcode=10 +field type=DRAWABLE name=drawable / +field type=CARD32 name=target_msc_hi / +field type=CARD32 name=target_msc_lo / +field type=CARD32 name=divisor_hi / +field type=CARD32 name=divisor_lo / +field type=CARD32 name=remainder_hi / +field type=CARD32 name=remainder_lo / +reply + pad bytes=1 / + field type=CARD32 name=ust_hi / + field type=CARD32 name=ust_lo / + field type=CARD32 name=msc_hi / + field type=CARD32 name=msc_lo / + field type=CARD32 name=sbc_hi / + field type=CARD32 name=sbc_lo / +/reply + /request + + request name=WaitSBC opcode=11 +field type=DRAWABLE name=drawable / +field type=CARD32 name=target_sbc_hi / +field type=CARD32 name=target_sbc_lo / +reply + pad bytes=1 / + field type=CARD32 name=ust_hi / + field type=CARD32 name=ust_lo / + field type=CARD32 name=msc_hi / + field type=CARD32 name=msc_lo / + field type=CARD32 name=sbc_hi / + field type=CARD32 name=sbc_lo / +/reply + /request + + request name=SwapInterval opcode=12 +field type=DRAWABLE name=drawable / +field type=CARD32 name=interval / +reply + pad bytes=1 / + field type=CARD32 name=swap_hi / + field type=CARD32 name=swap_lo / +/reply + /request + /xcb I notice the events aren't added. Which is probably just as well, since DRI2BufferSwapComplete still needs to be fixed anyway. Cheers, Julien ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Functionality to capture X events
On 04/26/2011 01:26 PM, André Rodrigues wrote: Hello all. I would like to know if it is possible to capture keys in X that reach the X by events (lirc events, to be more precisely) and without create another window. There is some functionality for this? Many thanks. André Rodrigues ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: marty...@comcast.net Without knowing what exactly it is you want to accomplish, it is hard to give advice, but it would seem the best approach might be to stay away from having X involved at all. Can you not do what you want to do by accessing the device directly using a package like lirc (http://www.lirc.org) ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xmodmap keystrings (2)
On 04/26/11 08:19 AM, frank wrote: Hello Alan, Thanks for replying. It seems I didn't make myself clear. Please go to a graphic terminal, press ^V then F1 or F2 or Home or Left or any of the functional keys. You are inserting the keystring associated with those keys. Home for instance has ^[OH (not same as in text console). Where are these strings listed? Surely there must be a header file somewhere? How it is called? Where is it? Those are defined in the terminal emulator you are using, not X itself, and have nothing to do with xmodmap. Check the source code of xterm, gnome-terminal, etc. (Sorry, I don't know the exact .c or .h file there.) They should be referenced in the matching termcap/terminfo entries as well. -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xmodmap keystrings (2)
On 04/26/2011 11:35 AM, Alan Coopersmith wrote: On 04/26/11 08:19 AM, frank wrote: Hello Alan, Thanks for replying. It seems I didn't make myself clear. Please go to a graphic terminal, press ^V then F1 or F2 or Home or Left or any of the functional keys. You are inserting the keystring associated with those keys. Home for instance has ^[OH (not same as in text console). Where are these strings listed? Surely there must be a header file somewhere? How it is called? Where is it? Those are defined in the terminal emulator you are using, not X itself, and have nothing to do with xmodmap. Check the source code of xterm, gnome-terminal, etc. (Sorry, I don't know the exact .c or .h file there.) They should be referenced in the matching termcap/terminfo entries as well. If you go to http://invisible-island.net/xterm/ctlseqs/ctlseqs.html and look for the sections beginning at PC-Style Function Keys section, it is a start. These are for xterm but almost all terminal emulators will do this the same way. These codes are based on what hardware that was produced in the late 1970 and early 1980 timeframe sent when you pressed their keys. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.
On Tue, 26 Apr 2011 20:12:12 +0200, Julien Cristau jcris...@debian.org wrote: On Tue, Apr 26, 2011 at 10:39:02 -0700, Eric Anholt wrote: --- src/dri2.xml | 75 +- 1 files changed, 74 insertions(+), 1 deletions(-) diff --git a/src/dri2.xml b/src/dri2.xml index dbd43f8..70c569d 100644 --- a/src/dri2.xml +++ b/src/dri2.xml @@ -1,7 +1,7 @@ ?xml version=1.0 encoding=utf-8? !-- Copyright (C) 2005 Jeremy Kolb. -Copyright © 2009 Intel Corporation +Copyright © 2009-2010 Intel Corporation All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy missing minor-version bump in the xcb tag [...] I notice the events aren't added. Which is probably just as well, since DRI2BufferSwapComplete still needs to be fixed anyway. Err, looks like I sent out the patch from before the commit --amend. Sorry for wasting time there, as it was really the lack of invalidate event that prompted this. What's up with DRI2BufferSwapComplete? pgpO2sdZ6LPmb.pgp Description: PGP signature ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.
On Tue, Apr 26, 2011 at 13:06:33 -0700, Eric Anholt wrote: What's up with DRI2BufferSwapComplete? It's larger than 32 bytes. Cheers, Julien ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xmodmap keystrings (2)
On Tue, 26 Apr 2011, Marty Jack wrote: On 04/26/2011 11:35 AM, Alan Coopersmith wrote: On 04/26/11 08:19 AM, frank wrote: Hello Alan, Thanks for replying. It seems I didn't make myself clear. Please go to a graphic terminal, press ^V then F1 or F2 or Home or Left or any of the functional keys. You are inserting the keystring associated with those keys. Home for instance has ^[OH (not same as in text console). Where are these strings listed? Surely there must be a header file somewhere? How it is called? Where is it? Those are defined in the terminal emulator you are using, not X itself, and have nothing to do with xmodmap. Check the source code of xterm, gnome-terminal, etc. (Sorry, I don't know the exact .c or .h file there.) They should be referenced in the matching termcap/terminfo entries as well. Not exactly (gnome-terminal as such is a wrapper around vte, which provides all of the terminal emulation part). If you go to http://invisible-island.net/xterm/ctlseqs/ctlseqs.html and look for the sections beginning at PC-Style Function Keys section, it is a start. These are for xterm but almost all terminal emulators will do this the same way. All but the end of that section - the other emulators differ from xterm. To see some of that, look at infocmp xterm-new konsole infocmp xterm-new putty infocmp xterm-new vte (or gnome) using ncurses 5.9's terminal database of course. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xmodmap keystrings (2)
On Tue, 26 Apr 2011, Thomas Dickey wrote: On Tue, 26 Apr 2011, Marty Jack wrote: On 04/26/2011 11:35 AM, Alan Coopersmith wrote: On 04/26/11 08:19 AM, frank wrote: Hello Alan, Thanks for replying. It seems I didn't make myself clear. Please go to a graphic terminal, press ^V then F1 or F2 or Home or Left or any of the functional keys. You are inserting the keystring associated with those keys. Home for instance has ^[OH (not same as in text console). Where are these strings listed? Surely there must be a header file somewhere? How it is called? Where is it? Those are defined in the terminal emulator you are using, not X itself, and have nothing to do with xmodmap. Check the source code of xterm, gnome-terminal, etc. (Sorry, I don't know the exact .c or .h file there.) They should be referenced in the matching termcap/terminfo entries as well. Not exactly (gnome-terminal as such is a wrapper around vte, which provides all of the terminal emulation part). vte uses strings, and has a partial implementation of code to read a termcap entry and interpret the function-keys defined there. xterm doesn't use strings (except for a more-complete feature to interpret terminfo/termcap entries, likewise for the function-keys). Reading both sources might be educational. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Keymapping hal/fdi
On Sun, Apr 24, 2011 at 10:48:02AM +0100, David Woodfall wrote: On (02:25 24/04/11), David Woodfall d...@dawoodfall.net put forth the proposition: Hi, I've have a usr9600 usb phone, which is an extra keyboard. I have setup a 20-phone.fdi for it and set layout etc. Now I'm trying to map keys 1-0 to keypad 1-0 but I'm having problems with that. lshal shows the mapping but it looks like the hex codes are the wrong ones. I got the codes with xev. This is the mapping section: append key=input.keymap.data type=strlist0030:KP0/append ... append key=input.keymap.data type=strlist0039:KP9/append Is xev the right tool to get these codes? Any ideas why this isn't working? Cheers Dave -- Don't look back, the lemmings are gaining on you. Not having any luck with this so I tried the old xorg.conf way: Section InputDevice Identifier Keyboard1 Driver evdev Option XkbModel pc105 Option Device /dev/input/by-id/usb-Yealink_Network_Technology_Ltd. _VOIP_USB_Phone-event-if03 Option event_key_remap 10=87, 11=88, 12=89, 13=83, 14=84, 15=85,16=79, 17=80, 18=81, 19=90 Option XkbLayout us Option XkbRules xorg EndSection This also doesn't work. I got the event_key_remap option by googling. I couldn't really find anything else on this. It's a pit xmodmap doesn't support multiple devices. xkbcomp can since 1.2.1, and switching keys is easy: Get the keymap: xkbcomp -i deviceid $DISPLAY keymap.xkb Edit keymap.xkb: Exchange the keycodes at the top. For example switch: KP3 = 89; AE03 = 12; Install the keymap: xkbcomp -i deviceid keymap.xkb $DISPLAY -- Cheers, Dirk ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: X server crashes when screensaver activates.
On Mon, Apr 25, 2011 at 12:51 AM, Dave Airlie wrote: I have some mobile computers that are running Ubuntu (one is 10.04, one is 10.10). In both cases, if the 'Activate screensaver when computer is idle' option is enabled in Screensaver Preferences, as soon as it activates the X server crashes. The selected screensaver makes no difference (it's usually on 'blank screen'). Is there any workarounds? (besides disabling screensaver) This looks like a bug that should be fixed, not worked around. It was. http://cgit.freedesktop.org/xorg/driver/xf86-video-savage/commit/?id=830e58d086828fa0431303df32a847ddd3022654 just update savage to at least 2.3.2 release. Dave. Right, thanks, the fix for Ubuntu 10.10 got stuck in the maverick-proposed repo. Brian, please make sure you have 1:2.3.1-2ubuntu2.1 installed and please follow up and confirm the fix in https://launchpad.net/bugs/635362 Tormod ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Re: Keymapping hal/fdi
On (09:34 25/04/11), Dirk Wallenstein hals...@t-online.de put forth the proposition: On Sun, Apr 24, 2011 at 10:48:02AM +0100, David Woodfall wrote: On (02:25 24/04/11), David Woodfall d...@dawoodfall.net put forth the proposition: Hi, I've have a usr9600 usb phone, which is an extra keyboard. I have setup a 20-phone.fdi for it and set layout etc. Now I'm trying to map keys 1-0 to keypad 1-0 but I'm having problems with that. lshal shows the mapping but it looks like the hex codes are the wrong ones. I got the codes with xev. This is the mapping section: append key=input.keymap.data type=strlist0030:KP0/append ... append key=input.keymap.data type=strlist0039:KP9/append Is xev the right tool to get these codes? Any ideas why this isn't working? Cheers Dave -- Don't look back, the lemmings are gaining on you. Not having any luck with this so I tried the old xorg.conf way: Section InputDevice Identifier Keyboard1 Driver evdev Option XkbModel pc105 Option Device /dev/input/by-id/usb-Yealink_Network_Technology_Ltd. _VOIP_USB_Phone-event-if03 Option event_key_remap 10=87, 11=88, 12=89, 13=83, 14=84, 15=85, 16=79, 17=80, 18=81, 19=90 Option XkbLayout us Option XkbRules xorg EndSection This also doesn't work. I got the event_key_remap option by googling. I couldn't really find anything else on this. It's a pit xmodmap doesn't support multiple devices. xkbcomp can since 1.2.1, and switching keys is easy: Get the keymap: xkbcomp -i deviceid $DISPLAY keymap.xkb Edit keymap.xkb: Exchange the keycodes at the top. For example switch: KP3 = 89; AE03 = 12; Install the keymap: xkbcomp -i deviceid keymap.xkb $DISPLAY I'm finding that regardless of deviceid it changes my main keyboard as well as the phone. I got the device id from xinput list and used xkbcomp -i 8 keymap.xkb :0.0 -- Cheers, Dirk ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: d...@dawoodfall.net -- Don't look back, the lemmings are gaining on you. pgpmpE5xNmtxm.pgp Description: PGP signature ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Re: Re: Keymapping hal/fdi
On (13:47 25/04/11), David Woodfall d...@dawoodfall.net put forth the proposition: On (09:34 25/04/11), Dirk Wallenstein hals...@t-online.de put forth the proposition: On Sun, Apr 24, 2011 at 10:48:02AM +0100, David Woodfall wrote: On (02:25 24/04/11), David Woodfall d...@dawoodfall.net put forth the proposition: Hi, I've have a usr9600 usb phone, which is an extra keyboard. I have setup a 20-phone.fdi for it and set layout etc. Now I'm trying to map keys 1-0 to keypad 1-0 but I'm having problems with that. lshal shows the mapping but it looks like the hex codes are the wrong ones. I got the codes with xev. This is the mapping section: append key=input.keymap.data type=strlist0030:KP0/append ... append key=input.keymap.data type=strlist0039:KP9/append Is xev the right tool to get these codes? Any ideas why this isn't working? Cheers Dave -- Don't look back, the lemmings are gaining on you. Not having any luck with this so I tried the old xorg.conf way: Section InputDevice Identifier Keyboard1 Driver evdev Option XkbModel pc105 Option Device /dev/input/by-id/usb-Yealink_Network_Technology_Ltd. _VOIP_USB_Phone-event-if03 Option event_key_remap 10=87, 11=88, 12=89, 13=83, 14=84, 15=85, 16=79, 17=80, 18=81, 19=90 Option XkbLayout us Option XkbRules xorg EndSection This also doesn't work. I got the event_key_remap option by googling. I couldn't really find anything else on this. It's a pit xmodmap doesn't support multiple devices. xkbcomp can since 1.2.1, and switching keys is easy: Get the keymap: xkbcomp -i deviceid $DISPLAY keymap.xkb Edit keymap.xkb: Exchange the keycodes at the top. For example switch: KP3 = 89; AE03 = 12; Install the keymap: xkbcomp -i deviceid keymap.xkb $DISPLAY I'm finding that regardless of deviceid it changes my main keyboard as well as the phone. I got the device id from xinput list and used xkbcomp -i 8 keymap.xkb :0.0 Ah it looks like it works with xkbcomp 1.2.1 as you said. Sorry I just noticed that I had 1.1.1. Seems to be good now. Thanks for your help. Dave -- Cheers, Dirk ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: d...@dawoodfall.net -- Don't look back, the lemmings are gaining on you. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: d...@dawoodfall.net -- Don't look back, the lemmings are gaining on you. pgpEaxv0b7mZj.pgp Description: PGP signature ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
RE: XI2's copyRawEvent() question
BTW, changing the code to use len rather than the sizeof() fixed my crash. diff ../../libXi-1.3-orig/src/XExtInt.c src/XExtInt.c 1196c1196 ptr = cookie_out-data = malloc(sizeof(XIRawEvent)); --- ptr = cookie_out-data = malloc(len); -Original Message- From: xorg-bounces+roger.cruz=virtualcomputer@lists.freedesktop.org on behalf of Roger Cruz Sent: Mon 4/25/2011 3:35 PM To: xorg@lists.freedesktop.org Subject: XI2's copyRawEvent() question In trying to understand a heap corruption when I added XI2 RawMotion event handling to our Xinput-based application, I came across the following routine copyRawEvent() in libxi-1.3/src/XExtInt.c. My question is what is the purpose of computing len if it is not used? Should it have been used as an argument to malloc(). copyRawEvent(XGenericEventCookie *cookie_in, XGenericEventCookie *cookie_out) { XIRawEvent *in, *out; void *ptr; int len; int bits; in = cookie_in-data; bits = count_bits(in-valuators.mask, in-valuators.mask_len); len = sizeof(XIRawEvent) + in-valuators.mask_len; len += bits * sizeof(double) * 2; ptr = cookie_out-data = malloc(sizeof(XIRawEvent)); if (!ptr) return False; out = next_block(ptr, sizeof(XIRawEvent)); *out = *in; out-valuators.mask = next_block(ptr, out-valuators.mask_len); memcpy(out-valuators.mask, in-valuators.mask, out-valuators.mask_len); out-valuators.values = next_block(ptr, bits * sizeof(double)); memcpy(out-valuators.values, in-valuators.values, bits * sizeof(double)); out-raw_values = next_block(ptr, bits * sizeof(double)); memcpy(out-raw_values, in-raw_values, bits * sizeof(double)); return True; } When I use valgrind, I get the following output as the culprit for the crash ==4166== Invalid write of size 1 ==4166==at 0x4C29F04: memcpy (mc_replace_strmem.c:497) ==4166==by 0x8F39180: ??? (in /usr/lib/libXi.so.6.1.0) ==4166==by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0) ==4166==by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0) ==4166==by 0x49C3E3: process_key (x11_be.c:1065) ==4166==by 0x49EA5C: event_key_release (x11_be.c:2201) ==4166==by 0x49DD6E: x11_be_process_events (x11_be.c:1892) ==4166==by 0x4A38F4: x11_be_main_loop (x11_be.c:4353) ==4166==by 0x4A39E1: x11_be_thread_main (x11_be.c:4385) ==4166==by 0x87549C9: start_thread (pthread_create.c:300) ==4166==by 0x8A516FC: clone (clone.S:112) ==4166== Address 0x168afe80 is 0 bytes after a block of size 96 alloc'd ==4166==at 0x4C284A8: malloc (vg_replace_malloc.c:236) ==4166==by 0x8F390BD: ??? (in /usr/lib/libXi.so.6.1.0) ==4166==by 0x7433D48: _XCopyEventCookie (in /usr/lib/libX11.so.6.3.0) ==4166==by 0x7425166: XPeekEvent (in /usr/lib/libX11.so.6.3.0) ==4166==by 0x49C3E3: process_key (x11_be.c:1065) ==4166==by 0x49EA5C: event_key_release (x11_be.c:2201) ==4166==by 0x49DD6E: x11_be_process_events (x11_be.c:1892) ==4166==by 0x4A38F4: x11_be_main_loop (x11_be.c:4353) ==4166==by 0x4A39E1: x11_be_thread_main (x11_be.c:4385) ==4166==by 0x87549C9: start_thread (pthread_create.c:300) Thanks in advance, Roger R. Cruz No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.894 / Virus Database: 271.1.1/3583 - Release Date: 04/25/11 02:34:00 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: X server crashes when screensaver activates.
On 04/25/2011 01:53 AM, Tormod Volden wrote: On Mon, Apr 25, 2011 at 12:51 AM, Dave Airlie wrote: I have some mobile computers that are running Ubuntu (one is 10.04, one is 10.10). In both cases, if the 'Activate screensaver when computer is idle' option is enabled in Screensaver Preferences, as soon as it activates the X server crashes. The selected screensaver makes no difference (it's usually on 'blank screen'). Is there any workarounds? (besides disabling screensaver) This looks like a bug that should be fixed, not worked around. It was. http://cgit.freedesktop.org/xorg/driver/xf86-video-savage/commit/?id=830e58d086828fa0431303df32a847ddd3022654 just update savage to at least 2.3.2 release. Dave. Right, thanks, the fix for Ubuntu 10.10 got stuck in the maverick-proposed repo. Brian, please make sure you have 1:2.3.1-2ubuntu2.1 installed and please follow up and confirm the fix in https://launchpad.net/bugs/635362 Tormod I just tried the updated package and am no longer experiencing the crash, thanks! Brian ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Keymapping hal/fdi
On (02:25 24/04/11), David Woodfall d...@dawoodfall.net put forth the proposition: Hi, I've have a usr9600 usb phone, which is an extra keyboard. I have setup a 20-phone.fdi for it and set layout etc. Now I'm trying to map keys 1-0 to keypad 1-0 but I'm having problems with that. lshal shows the mapping but it looks like the hex codes are the wrong ones. I got the codes with xev. This is the mapping section: append key=input.keymap.data type=strlist0030:KP0/append ... append key=input.keymap.data type=strlist0039:KP9/append Is xev the right tool to get these codes? Any ideas why this isn't working? Cheers Dave -- Don't look back, the lemmings are gaining on you. Not having any luck with this so I tried the old xorg.conf way: Section InputDevice Identifier Keyboard1 Driver evdev Option XkbModel pc105 Option Device /dev/input/by-id/usb-Yealink_Network_Technology_Ltd. _VOIP_USB_Phone-event-if03 Option event_key_remap 10=87, 11=88, 12=89, 13=83, 14=84, 15=85, 16=79, 17=80, 18=81, 19=90 Option XkbLayout us Option XkbRules xorg EndSection This also doesn't work. I got the event_key_remap option by googling. I couldn't really find anything else on this. It's a pit xmodmap doesn't support multiple devices. If anyone has any other ideas I'd be eternally grateful :) Dave ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: d...@dawoodfall.net -- Don't look back, the lemmings are gaining on you. pgpFV1UnVpNQE.pgp Description: PGP signature ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
On Sat, 2011-04-23 at 21:11 -0400, gene heskett wrote: try and apply the patch linked in the bug report I mentioned in an earlier post, which is https://bugs.freedesktop.org/attachment.cgi?id=44749 This shows me the patch, but I don't see a place to click to add any comments. Perhaps you can? The bug report is at https://bugs.freedesktop.org/show_bug.cgi?id=35452 -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
On Sunday, April 24, 2011 10:27:13 AM Sven Arvidsson did opine: On Sat, 2011-04-23 at 21:11 -0400, gene heskett wrote: try and apply the patch linked in the bug report I mentioned in an earlier post, which is https://bugs.freedesktop.org/attachment.cgi?id=44749 This shows me the patch, but I don't see a place to click to add any comments. Perhaps you can? The bug report is at https://bugs.freedesktop.org/show_bug.cgi?id=35452 And my passwd seems to be stale. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) http://tinyurl.com/ddg5bz http://www.cantrip.org/gatto.html The difference between this place and yogurt is that yogurt has a live culture. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: GdkEvent and GdkEventKey not working in ekiga
On 04/24/2011 10:26 AM, David Woodfall wrote: I'm trying to patch ekiga to use the Return key to dial. Presently it only accepts mouse clicks. I first tried GdkEventKey and then GdkEvent but neither seem to work. Here's the code: /// #define GDK_Return 0xff0d static gint on_view_event_after (GtkWidget *tree_view, GdkEventButton *event, gpointer data, GdkEvent *ev) { snip switch (column_type) { snip case TYPE_PRESENTITY: if (event-type == GDK_BUTTON_PRESS event-button == 3) on_clicked_show_presentity_menu (Ekiga::HeapPtr(heap), Ekiga::PresentityPtr(presentity), event); if (event-type == GDK_2BUTTON_PRESS || ev-key.keyval == GDK_Return) on_clicked_trigger_presentity (Ekiga::PresentityPtr(presentity)); break; snip // This doesn't work and the keyval always seems to be equal to 1426063360 whether I click with mouse or press any key. Where am I going wrong? ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: marty...@comcast.net Leaving aside that you're asking a question that should be in the GTK mailing list ... The Return key isn't a button, so GDK_BUTTON_PRESS is the wrong event. GDK_BUTTON events are for mouse buttons. You want to be using a GtkAction to capture the key event. Read about gtk_action_set_accel_group gtk_accel_map_add_entry gtk_action_set_accel_path gtk_action_connect_accelerator and then take any further questions to the GTK group. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: X server crashes when screensaver activates.
I have some mobile computers that are running Ubuntu (one is 10.04, one is 10.10). In both cases, if the 'Activate screensaver when computer is idle' option is enabled in Screensaver Preferences, as soon as it activates the X server crashes. The selected screensaver makes no difference (it's usually on 'blank screen'). Is there any workarounds? (besides disabling screensaver) This looks like a bug that should be fixed, not worked around. It was. http://cgit.freedesktop.org/xorg/driver/xf86-video-savage/commit/?id=830e58d086828fa0431303df32a847ddd3022654 just update savage to at least 2.3.2 release. Dave. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Why libpciaccess separated from X server ?
Kevin Master, le Thu 21 Apr 2011 19:38:06 -0700, a écrit : yes, sure I can compile and install the newer libpciaccess library. But my question is that why do the X server developers want libpciaccess.so separated from the X server. Any good reason to do this ? It's used by a few tools outside the X server. Samuel ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
Am 23.04.2011 02:42, schrieb gene heskett: On Friday, April 22, 2011 08:40:50 PM dark_m...@gmx.net did opine: Am 22.04.2011 23:00, schrieb gene heskett: Greetings folks; I have a problem. Anytime I spend some time watching a news video on say fox or cnn's sites, I wind up with screen background contamination in my console windows of other workspaces. Bit and pieces show up on the bottom half of such a terminal window, remain stationary on the screen as the terminal window is moved about, but are constrained by the border when the terminal is moved, but comes right back as soon as the terminal windows border encompasses that area of the screen again. Using FF4.0 and a pclos repo supplied kernel version 2.6.38.2, on pclos, on a quad core phenom, 4Gb of dram, and the latest .44 version of the dkms installed nvidia-current driver on a 9400 series nvidia card. FWIW, I recall seeing that also when I switched to the vesa driver, so while it could be related, I am dubious. What can I do to facilitate narrowing this down? Thanks. I'm by no means an expert, but could you try and disable page flipping in the xorg.conf or check if it's turned on in the first place? I ran into a similar looking issue with the switch to kernel 2.6.38, which introduced KMS page flipping to my graphics card (radeon). Checking for page flipping: cat /var/log/Xorg.0.log | grep -i Pageflip If it's reported as enabled, read on. :-) It is a null return. If you are using Ubuntu, it's logfile probably is /var/log/xorg.0.log (notice the lower case 'x') In your xorg.conf, put the following line in the Device section, reboot and check if the issue appears. Section Device Option EnablePageFlipoff EndSection If turning it off helps, maybe you're also being hit by bug https://bugs.freedesktop.org/show_bug.cgi?id=35452 This one is about the ati driver, though. So maybe it's unrelated. I hope I'm being helpful. I wonder if there is a different name for it when using the nvidia driver? Thanks. I did some digging in the xorg.conf options list and found this: Option NoFlip boolean The description matches what EnablePageFlip does, except it's reverted, which means setting boolean to true should turn off page flipping. See if that makes a difference. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
On Saturday, April 23, 2011 10:35:19 AM dark_m...@gmx.net did opine: Am 23.04.2011 02:42, schrieb gene heskett: On Friday, April 22, 2011 08:40:50 PM dark_m...@gmx.net did opine: Am 22.04.2011 23:00, schrieb gene heskett: Greetings folks; I have a problem. Anytime I spend some time watching a news video on say fox or cnn's sites, I wind up with screen background contamination in my console windows of other workspaces. Bit and pieces show up on the bottom half of such a terminal window, remain stationary on the screen as the terminal window is moved about, but are constrained by the border when the terminal is moved, but comes right back as soon as the terminal windows border encompasses that area of the screen again. Using FF4.0 and a pclos repo supplied kernel version 2.6.38.2, on pclos, on a quad core phenom, 4Gb of dram, and the latest .44 version of the dkms installed nvidia-current driver on a 9400 series nvidia card. FWIW, I recall seeing that also when I switched to the vesa driver, so while it could be related, I am dubious. What can I do to facilitate narrowing this down? Thanks. I'm by no means an expert, but could you try and disable page flipping in the xorg.conf or check if it's turned on in the first place? I ran into a similar looking issue with the switch to kernel 2.6.38, which introduced KMS page flipping to my graphics card (radeon). Checking for page flipping: cat /var/log/Xorg.0.log | grep -i Pageflip If it's reported as enabled, read on. :-) It is a null return. If you are using Ubuntu, it's logfile probably is /var/log/xorg.0.log (notice the lower case 'x') In your xorg.conf, put the following line in the Device section, reboot and check if the issue appears. Section Device Option EnablePageFlipoff EndSection If turning it off helps, maybe you're also being hit by bug https://bugs.freedesktop.org/show_bug.cgi?id=35452 This one is about the ati driver, though. So maybe it's unrelated. I hope I'm being helpful. I wonder if there is a different name for it when using the nvidia driver? Thanks. I did some digging in the xorg.conf options list and found this: Option NoFlip boolean I don't have the docs/manpages (pclos, 32 bit, permanent 'rawhide', about half of the kde 4.6.2 install just got updated this morning, so I just rebooted.) I just put this line in the Device section of xorg.conf, and will reboot to level 3 so I can play with startx. The description matches what EnablePageFlip does, except it's reverted, which means setting boolean to true should turn off page flipping. See if that makes a difference. That I will, and report. Thanks. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: ghesk...@wdtv.com -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) http://tinyurl.com/ddg5bz http://www.cantrip.org/gatto.html Computers are useless. They can only give you answers. -- Pablo Picasso ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
On Saturday, April 23, 2011 11:44:20 AM gene heskett did opine: I wonder if there is a different name for it when using the nvidia driver? Thanks. I did some digging in the xorg.conf options list and found this: I don't have those docs unforch. Option NoFlip boolean I just put this line in the Device section of xorg.conf, and will reboot to level 3 so I can play with startx. The description matches what EnablePageFlip does, except it's reverted, which means setting boolean to true should turn off page flipping. See if that makes a difference. That I will, and report. Thanks. And I can report that the option did not cause any errors in the Xorg.0.log, and that the problem would appear to have been eliminated. Thank you very much! -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) http://tinyurl.com/ddg5bz http://www.cantrip.org/gatto.html The goal of Computer Science is to build something that will last at least until we've finished building it. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
Am 23.04.2011 17:46, schrieb gene heskett: On Saturday, April 23, 2011 11:44:20 AM gene heskett did opine: I wonder if there is a different name for it when using the nvidia driver? Thanks. I did some digging in the xorg.conf options list and found this: I don't have those docs unforch. You can find just about any manpages and docs online. In this particular case a bit of googling got me this page: http://ru.download.nvidia.com/solaris/1.0-9639/README/appendix-d.html (It's for Solaris, but the options shouldn't be too different.) Option NoFlip boolean I just put this line in the Device section of xorg.conf, and will reboot to level 3 so I can play with startx. The description matches what EnablePageFlip does, except it's reverted, which means setting boolean to true should turn off page flipping. See if that makes a difference. That I will, and report. Thanks. And I can report that the option did not cause any errors in the Xorg.0.log, and that the problem would appear to have been eliminated. Thank you very much! Well, unfortunately this just made the symptoms go away, but didn't tackle the real problem. If you know how to patch files and compile your own X-server, you could try and apply the patch linked in the bug report I mentioned in an earlier post, which is https://bugs.freedesktop.org/attachment.cgi?id=44749 If those two bugs are related, the patched X server should work with page flipping active and would confirm that this issue is not isolated to the radeon driver but also is occuring on the nvidia side. Regardless, I think you should attach a comment to the earlier bug report, so folks know this is possibly not limited to ATI cards. So long ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
On Saturday, April 23, 2011 09:05:43 PM dark_m...@gmx.net did opine: Am 23.04.2011 17:46, schrieb gene heskett: On Saturday, April 23, 2011 11:44:20 AM gene heskett did opine: I wonder if there is a different name for it when using the nvidia driver? Thanks. I did some digging in the xorg.conf options list and found this: I don't have those docs unforch. You can find just about any manpages and docs online. In this particular case a bit of googling got me this page: http://ru.download.nvidia.com/solaris/1.0-9639/README/appendix-d.html (It's for Solaris, but the options shouldn't be too different.) Option NoFlip boolean I just put this line in the Device section of xorg.conf, and will reboot to level 3 so I can play with startx. The description matches what EnablePageFlip does, except it's reverted, which means setting boolean to true should turn off page flipping. See if that makes a difference. That I will, and report. Thanks. And I can report that the option did not cause any errors in the Xorg.0.log, and that the problem would appear to have been eliminated. Thank you very much! Well, unfortunately this just made the symptoms go away, but didn't tackle the real problem. If you know how to patch files and compile your own X-server, you could try and apply the patch linked in the bug report I mentioned in an earlier post, which is https://bugs.freedesktop.org/attachment.cgi?id=44749 This shows me the patch, but I don't see a place to click to add any comments. Perhaps you can? If those two bugs are related, the patched X server should work with page flipping active and would confirm that this issue is not isolated to the radeon driver but also is occuring on the nvidia side. I am not too sure what this Page Flipping does, but one other thing stands out, videos seem to play quite a bit smoother now. Regardless, I think you should attach a comment to the earlier bug report, so folks know this is possibly not limited to ATI cards. So long I'll see if I can get perms to add a comment to that effect. But when I went to that link, its the patch only, no place to add a comment. Again, many thanks. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) http://tinyurl.com/ddg5bz http://www.cantrip.org/gatto.html Yes, we will be going to OSI, Mars, and Pluto, but not necessarily in that order. -- George Michaelson ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: X server crashes when screensaver activates.
On Fri, Apr 22, 2011 at 4:28 AM, Brian Parma wrote: I've had this problem for a while, and I've finally got motivated enough to sub to the mailing list and post about it. Don't hesitate to file bugs :) In Ubuntu, use ubuntu-bug xserver-xorg-video-savage to report these issues. If you have the exact same issue on two machines, and they have different card models, run ubuntu-bug on one of them to create the bug report and apport-collect bug-number on the other to attach its debug information to the same report. Attach the backtrace as well, if it is not included in one of the automatically added attachments. I have some mobile computers that are running Ubuntu (one is 10.04, one is 10.10). In both cases, if the 'Activate screensaver when computer is idle' option is enabled in Screensaver Preferences, as soon as it activates the X server crashes. The selected screensaver makes no difference (it's usually on 'blank screen'). Is there any workarounds? (besides disabling screensaver) This looks like a bug that should be fixed, not worked around. Tormod ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Is there a defined xpixmap width limit?
Hi Emmanuel, Excerpts from Emmanuel Thomas-Maurin's message of 2011-04-22 14:31:04 +0200: I've been searching for this for a while: Is there a width and height limit for xpixmaps? I'm using GTK and I know GDK pixmaps and windows can't be wider than 65535. And I suspect for X, it's 32767. As the width/height fields in the CreatePixmap request are CARD16s, the highest value is (2^16)-1 = 65535. This is documented in the X protocol, see http://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.pdf (page 56 in the pdf). Best regards, Michael ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Is there a defined xpixmap width limit?
On 04/22/2011 04:48 PM, Michael Stapelberg wrote: Hi Emmanuel, Excerpts from Emmanuel Thomas-Maurin's message of 2011-04-22 14:31:04 +0200: I've been searching for this for a while: Is there a width and height limit for xpixmaps? I'm using GTK and I know GDK pixmaps and windows can't be wider than 65535. And I suspect for X, it's 32767. As the width/height fields in the CreatePixmap request are CARD16s, the highest value is (2^16)-1 = 65535. This is documented in the X protocol, see http://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.pdf (page 56 in the pdf). Best regards, Michael Thanks Michael, that's what I was looking for. Maybe the results I got from the test come from some specific implementation that's not 100 % fully compliant with the protocol but that's really not that important anyways. Best regards, Manu -- Emmanuel Thomas-Maurin manutm...@gmail.com ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Is there a defined xpixmap width limit?
On Fri, Apr 22, 2011 at 8:44 AM, Emmanuel Thomas-Maurin manutm...@gmail.com wrote: On 04/22/2011 04:48 PM, Michael Stapelberg wrote: Hi Emmanuel, Excerpts from Emmanuel Thomas-Maurin's message of 2011-04-22 14:31:04 +0200: I've been searching for this for a while: Is there a width and height limit for xpixmaps? I'm using GTK and I know GDK pixmaps and windows can't be wider than 65535. And I suspect for X, it's 32767. As the width/height fields in the CreatePixmap request are CARD16s, the highest value is (2^16)-1 = 65535. This is documented in the X protocol, see http://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.pdf (page 56 in the pdf). Best regards, Michael Thanks Michael, that's what I was looking for. Maybe the results I got from the test come from some specific implementation that's not 100 % fully compliant with the protocol but that's really not that important anyways. IIRC there is a sign bug in the wire protocol which halves the actual limit. ~ C. -- When the facts change, I change my mind. What do you do, sir? ~ Keynes Corbin Simpson mostawesomed...@gmail.com ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Is there a defined xpixmap width limit?
On 04/22/2011 06:35 PM, Corbin Simpson wrote: On Fri, Apr 22, 2011 at 8:44 AM, Emmanuel Thomas-Maurin manutm...@gmail.com wrote: On 04/22/2011 04:48 PM, Michael Stapelberg wrote: Hi Emmanuel, Excerpts from Emmanuel Thomas-Maurin's message of 2011-04-22 14:31:04 +0200: I've been searching for this for a while: Is there a width and height limit for xpixmaps? I'm using GTK and I know GDK pixmaps and windows can't be wider than 65535. And I suspect for X, it's 32767. As the width/height fields in the CreatePixmap request are CARD16s, the highest value is (2^16)-1 = 65535. This is documented in the X protocol, see http://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.pdf (page 56 in the pdf). Best regards, Michael Thanks Michael, that's what I was looking for. Maybe the results I got from the test come from some specific implementation that's not 100 % fully compliant with the protocol but that's really not that important anyways. IIRC there is a sign bug in the wire protocol which halves the actual limit. ~ C. So that's the reason for my results. Thanks. -- Emmanuel Thomas-Maurin manutm...@gmail.com ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Is there a defined xpixmap width limit?
On 04/22/2011 06:39 PM, Marty Jack wrote: On 04/22/2011 11:44 AM, Emmanuel Thomas-Maurin wrote: On 04/22/2011 04:48 PM, Michael Stapelberg wrote: Hi Emmanuel, Excerpts from Emmanuel Thomas-Maurin's message of 2011-04-22 14:31:04 +0200: I've been searching for this for a while: Is there a width and height limit for xpixmaps? I'm using GTK and I know GDK pixmaps and windows can't be wider than 65535. And I suspect for X, it's 32767. As the width/height fields in the CreatePixmap request are CARD16s, the highest value is (2^16)-1 = 65535. This is documented in the X protocol, see http://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.pdf (page 56 in the pdf). Best regards, Michael Thanks Michael, that's what I was looking for. Maybe the results I got from the test come from some specific implementation that's not 100 % fully compliant with the protocol but that's really not that important anyways. Best regards, Manu Despite the fact that CARD16 is unsigned, in practice widths and heights are limited to the signed range, up to 32767. Here is an old paper by some of the original implementors that discusses the problems with mixing signed and unsigned in the protocol. www.std.org/~msm/common/WhyX.pdf Thanks for the clarification. It would be much better if GDK could use the same limit so I will probably file a GDK-bug. -- Emmanuel Thomas-Maurin manutm...@gmail.com ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
Am 22.04.2011 23:00, schrieb gene heskett: Greetings folks; I have a problem. Anytime I spend some time watching a news video on say fox or cnn's sites, I wind up with screen background contamination in my console windows of other workspaces. Bit and pieces show up on the bottom half of such a terminal window, remain stationary on the screen as the terminal window is moved about, but are constrained by the border when the terminal is moved, but comes right back as soon as the terminal windows border encompasses that area of the screen again. Using FF4.0 and a pclos repo supplied kernel version 2.6.38.2, on pclos, on a quad core phenom, 4Gb of dram, and the latest .44 version of the dkms installed nvidia-current driver on a 9400 series nvidia card. FWIW, I recall seeing that also when I switched to the vesa driver, so while it could be related, I am dubious. What can I do to facilitate narrowing this down? Thanks. I'm by no means an expert, but could you try and disable page flipping in the xorg.conf or check if it's turned on in the first place? I ran into a similar looking issue with the switch to kernel 2.6.38, which introduced KMS page flipping to my graphics card (radeon). Checking for page flipping: cat /var/log/Xorg.0.log | grep -i Pageflip If it's reported as enabled, read on. :-) In your xorg.conf, put the following line in the Device section, reboot and check if the issue appears. Section Device Option EnablePageFlipoff EndSection If turning it off helps, maybe you're also being hit by bug https://bugs.freedesktop.org/show_bug.cgi?id=35452 This one is about the ati driver, though. So maybe it's unrelated. I hope I'm being helpful. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Screen contamination
On Friday, April 22, 2011 08:40:50 PM dark_m...@gmx.net did opine: Am 22.04.2011 23:00, schrieb gene heskett: Greetings folks; I have a problem. Anytime I spend some time watching a news video on say fox or cnn's sites, I wind up with screen background contamination in my console windows of other workspaces. Bit and pieces show up on the bottom half of such a terminal window, remain stationary on the screen as the terminal window is moved about, but are constrained by the border when the terminal is moved, but comes right back as soon as the terminal windows border encompasses that area of the screen again. Using FF4.0 and a pclos repo supplied kernel version 2.6.38.2, on pclos, on a quad core phenom, 4Gb of dram, and the latest .44 version of the dkms installed nvidia-current driver on a 9400 series nvidia card. FWIW, I recall seeing that also when I switched to the vesa driver, so while it could be related, I am dubious. What can I do to facilitate narrowing this down? Thanks. I'm by no means an expert, but could you try and disable page flipping in the xorg.conf or check if it's turned on in the first place? I ran into a similar looking issue with the switch to kernel 2.6.38, which introduced KMS page flipping to my graphics card (radeon). Checking for page flipping: cat /var/log/Xorg.0.log | grep -i Pageflip If it's reported as enabled, read on. :-) It is a null return. In your xorg.conf, put the following line in the Device section, reboot and check if the issue appears. Section Device Option EnablePageFlipoff EndSection If turning it off helps, maybe you're also being hit by bug https://bugs.freedesktop.org/show_bug.cgi?id=35452 This one is about the ati driver, though. So maybe it's unrelated. I hope I'm being helpful. I wonder if there is a different name for it when using the nvidia driver? Thanks. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) http://tinyurl.com/ddg5bz http://www.cantrip.org/gatto.html There is much Obi-Wan did not tell you. -- Darth Vader ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: egalax USB touchscreen problems (EVDEV Question)
On Wed, Apr 20, 2011 at 11:17:07AM -0400, Ken Emmons Jr. wrote: I found some references to the EVDEV driver in the archives of the mailing list having issues with the touch event code (330) and my touchscreen is also emitting this event. The latest version of xorg changelog states that some work was done to try and fix BTN_TOUCH for touchscreens. Do I need to upgrade Xorg to test this, or should I just get source for evdev and build that against my current Xorg version? Current evdev won't work against your server, you'd need to either backport the fixes or update your server too. But yes, this issue should be fixed. Cheers, Peter I've attached the evtest.c output for reference: ./evtest /dev/input/event1 Input driver version is 1.0.0 Input device ID: bus 0x3 vendor 0xeef product 0x1 version 0x210 Input device name: eGalax Inc. USB TouchController Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 320 (ToolPen) Event code 330 (Touch) Event type 3 (Absolute) Event code 0 (X) Value 3345 Min 30 Max 4040 Event code 1 (Y) Value 2178 Min 60 Max 4035 Event type 4 (Misc) Event code 4 (ScanCode) Testing ... (interrupt to exit) Event: time -1139204008.401203, type 4 (Misc), code 4 (ScanCode), value d0042 Event: time -1139204008.401215, type 1 (Key), code 330 (Touch), value 1 Event: time -1139204008.401219, type 3 (Absolute), code 0 (X), value 2071 Event: time -1139204008.401222, type 3 (Absolute), code 1 (Y), value 1648 Event: time -1139204008.401224, -- Report Sync Event: time -1139204008.407187, type 3 (Absolute), code 0 (X), value 2076 Event: time -1139204008.407192, type 3 (Absolute), code 1 (Y), value 1645 Event: time -1139204008.407194, -- Report Sync Event: time -1139204008.413181, type 4 (Misc), code 4 (ScanCode), value d0042 Event: time -1139204008.413187, type 1 (Key), code 330 (Touch), value 0 Event: time -1139204008.413194, -- Report Sync When I assign this device to evdev via xorg.conf or using hal I get the message: (WW) eGalax Inc. USB TouchController: Don't know how to use device (II) UnloadModule: evdev From: xorg-bounces+kemmons=qatech@lists.freedesktop.org [mailto:xorg-bounces+kemmons=qatech@lists.freedesktop.org] On Behalf Of Ken Emmons Jr. Sent: Tuesday, April 19, 2011 11:54 AM To: xorg@lists.freedesktop.org Subject: egalax USB touchscreen problems Hello, I tried to post this yesterday but I am not sure if it showed up on the mailing list. I am trying to get an egalax touchscreen working on an embedded PowerPC target using Debian Lenny distribution and custom compiled kernel for 2.6.30.3. Xorg is 1.4.2 and evdev is 2.0.8 (See log below). Anyhow I have more data: Using HAL I was able to pass some information to the X server using this file: ?xml version=1.0 encoding=ISO-8859-1? !-- 10-synaptics.fdi is claiming all input.touchpad's as its own. This file is meant to be loaded afterwards and to undo any wrong assignments it did. -- deviceinfo version=0.2 device !--match key=info.capabilities contains=input.touchpad -- match key=info.product contains=eGalax merge key=input.x11_driver type=stringevdev/merge merge key=input.x11_options.Calibration type=string32 3990 48 3990/merge merge key=input.x11_options.InvertX type=stringtrue/merge /match !--/match -- /device /deviceinfo The xorg server didn't seem to like loading the evdev driver though, and seems to be interpreting my touchscreen as a mouse with absolute coordinates, and the wrong calibration. See the following output: Log file output pertaining to input (I have a USB mouse and the USB touchscreen plugged in): (WW) Configured Mouse: No Device specified, looking for one... (II) Configured Mouse: Setting Device option to /dev/input/mice (--) Configured Mouse: Device: /dev/input/mice (==) Configured Mouse: Protocol: Auto (**) Option CorePointer (**) Configured Mouse: always reports core events (**) Option Device /dev/input/mice (==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) Configured Mouse: ZAxisMapping: buttons 4 and 5 (**) Configured Mouse: Buttons: 9 (**) Configured Mouse: Sensitivity: 1 (**) Option CoreKeyboard (**) Generic Keyboard: always reports core events (**) Option Protocol standard (**) Generic
Re: Why libpciaccess separated from X server ?
On 04/20/11 11:10 PM, Kevin Master wrote: Hello Freedesktop fellows: I am now using a Linux distribution RedFlag6 on my PC which carries X server 1.7, after a while, I found the system carries a very low pciaccess library which version is 0.10.2. libpciaccess-0.10.2 have no vga arbiter function support at all. So I have been kept thinking why the X server developers decide to separate the libpciaccess.so out of the X server itself? This will certainly make some thing not working under special situation like I am currently running into. If you can upgrade the X server, then you can upgrade libpciaccess, so I don't see the problem. -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Touchpad not recognized
Hi Peter, Thanks a lot! I guess I have to wait. ;) Xianwen On Wed, Apr 20, 2011 at 12:32 AM, Peter Hutterer peter.hutte...@who-t.net wrote: On Tue, Apr 19, 2011 at 09:57:27AM +0200, Xianwen Chen wrote: Hi there, I'm runnig Arch Linux X64 on a Dell Latitude E5410. The version of X Server is 1.10.1. The laptop's touchpad is not recognized as xinput list only shows following: ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ PS/2 Generic Mouse id=12 [slave pointer (2)] if you see this line, it usually means the kernel doesn't support your specific touchpad. That's the part that needs fixing. Once supported, it's likely to just work. Cheers, Peter ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
The design decision that was made was to make the applications the clients, and the program that sits next to keyboard and monitor the server. And I admit that now this is a real server. But I pretend it was a bad choice. The question is what are the ressources you want to share? Now the ressources shared seems to be the keyboard, mouse and monitor. What I think the users want to use or share is the X applications. That's why I think that X would be more usefull if the order was reversed. Because then, the X server would sit there, waiting for client (that would be humans rather than programs), to connect and the ressources shared would be X applications. Why would someone want to share his monitor, keyboard an mouse on the net? That does not seems useful. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
Am Mittwoch, 20. April 2011 schrieb Paul Dufresne: The design decision that was made was to make the applications the clients, and the program that sits next to keyboard and monitor the server. And I admit that now this is a real server. But I pretend it was a bad choice. The question is what are the ressources you want to share? Now the ressources shared seems to be the keyboard, mouse and monitor. What I think the users want to use or share is the X applications. That's why I think that X would be more usefull if the order was reversed. Because then, the X server would sit there, waiting for client (that would be humans rather than programs), to connect and the ressources shared would be X applications. Why would someone want to share his monitor, keyboard an mouse on the net? That does not seems useful. Oh, it's very useful. Ever tried to build a system with 32 distributed screens? Nik ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
Paul Dufresne, le Wed 20 Apr 2011 08:17:11 -0400, a écrit : What I think the users want to use or share is the X applications. Then tell your application to connect to other X servers. A bunch of them already do so, like xblast and emacs. They just need the credentials, which makes sense. Why would someone want to share his monitor, keyboard an mouse on the net? That does not seems useful. It's actually exactly what you are saying: sharing an X application means letting the X application access the end-user's monitor/keyboard/mouse, and thus share them with other applications running on the end-user desktop. Samuel ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversedbecause they are
Paul Dufresne writes: The design decision that was made was to make the applications the clients, and the program that sits next to keyboard and monitor the server. There are cases where the server doesn't sit next to the keyboard, mouse, and monitor. I use VNC for my hardware on headless machines that are thousands of miles from my keyboard. And of course the keyboard is virtual as well, so I have many of them. X makes this easy. The question is what are the ressources you want to share? Now the ressources shared seems to be the keyboard, mouse and monitor. I just want to share the desktop and the clipboard; the X server allows me to do that. Why would someone want to share his monitor, keyboard an mouse on the net? That does not seems useful. You're probably right, it's not useful for you. As for the millions of the rest of us who have found X useful in the last 2+ decades ... well, we must be wrong, eh? We await your development of a Properly Named Windowing System. Cheers, /jordan ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
Date: Wed, 20 Apr 2011 14:11:47 +1000 From: Peter Hutterer peter.hutte...@who-t.net User-Agent: Mutt/1.5.21 (2010-09-15) Sender: xorg-bounces+pao=ascent@lists.freedesktop.org On Tue, Apr 19, 2011 at 11:36:17PM -0400, Paul Dufresne wrote: For years I have heard of how we must rethink what is the server and what are the clients when coming to X. ... ...Hardware is not software, and this problem is little more than the English language using the same word for two different things. You don't even have to rethink what servers and clients are. ... I respecfully, partially, disagree with the last. For me, grasping the difference between X servers and X clients required fixing a broken intuition that servers were there and clients were here. (A slight generalization of your hardware theory.) In the X case, the server is closer to the user than the client, offering the resources the user uses to interact with the machine to other programs to share. I would call what I had to do, rethinking. The other rethinking that may be necessary for some is the error that a program is either a client or a server. I've used -- and written -- many programs that act both as clients and servers, depending on their relationship with other servers and clients. However, I don't think I ever did think -- or could ever come to think -- of the X server as a client to the programs that connect to it. It was my early intuition that was wrong, not the definitions that the X Window System used. - Patrick ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
RE: egalax USB touchscreen problems (EVDEV Question)
I found some references to the EVDEV driver in the archives of the mailing list having issues with the touch event code (330) and my touchscreen is also emitting this event. The latest version of xorg changelog states that some work was done to try and fix BTN_TOUCH for touchscreens. Do I need to upgrade Xorg to test this, or should I just get source for evdev and build that against my current Xorg version? I've attached the evtest.c output for reference: ./evtest /dev/input/event1 Input driver version is 1.0.0 Input device ID: bus 0x3 vendor 0xeef product 0x1 version 0x210 Input device name: eGalax Inc. USB TouchController Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 320 (ToolPen) Event code 330 (Touch) Event type 3 (Absolute) Event code 0 (X) Value 3345 Min 30 Max 4040 Event code 1 (Y) Value 2178 Min 60 Max 4035 Event type 4 (Misc) Event code 4 (ScanCode) Testing ... (interrupt to exit) Event: time -1139204008.401203, type 4 (Misc), code 4 (ScanCode), value d0042 Event: time -1139204008.401215, type 1 (Key), code 330 (Touch), value 1 Event: time -1139204008.401219, type 3 (Absolute), code 0 (X), value 2071 Event: time -1139204008.401222, type 3 (Absolute), code 1 (Y), value 1648 Event: time -1139204008.401224, -- Report Sync Event: time -1139204008.407187, type 3 (Absolute), code 0 (X), value 2076 Event: time -1139204008.407192, type 3 (Absolute), code 1 (Y), value 1645 Event: time -1139204008.407194, -- Report Sync Event: time -1139204008.413181, type 4 (Misc), code 4 (ScanCode), value d0042 Event: time -1139204008.413187, type 1 (Key), code 330 (Touch), value 0 Event: time -1139204008.413194, -- Report Sync When I assign this device to evdev via xorg.conf or using hal I get the message: (WW) eGalax Inc. USB TouchController: Don't know how to use device (II) UnloadModule: evdev From: xorg-bounces+kemmons=qatech@lists.freedesktop.org [mailto:xorg-bounces+kemmons=qatech@lists.freedesktop.org] On Behalf Of Ken Emmons Jr. Sent: Tuesday, April 19, 2011 11:54 AM To: xorg@lists.freedesktop.org Subject: egalax USB touchscreen problems Hello, I tried to post this yesterday but I am not sure if it showed up on the mailing list. I am trying to get an egalax touchscreen working on an embedded PowerPC target using Debian Lenny distribution and custom compiled kernel for 2.6.30.3. Xorg is 1.4.2 and evdev is 2.0.8 (See log below). Anyhow I have more data: Using HAL I was able to pass some information to the X server using this file: ?xml version=1.0 encoding=ISO-8859-1? !-- 10-synaptics.fdi is claiming all input.touchpad's as its own. This file is meant to be loaded afterwards and to undo any wrong assignments it did. -- deviceinfo version=0.2 device !--match key=info.capabilities contains=input.touchpad -- match key=info.product contains=eGalax merge key=input.x11_driver type=stringevdev/merge merge key=input.x11_options.Calibration type=string32 3990 48 3990/merge merge key=input.x11_options.InvertX type=stringtrue/merge /match !--/match -- /device /deviceinfo The xorg server didn't seem to like loading the evdev driver though, and seems to be interpreting my touchscreen as a mouse with absolute coordinates, and the wrong calibration. See the following output: Log file output pertaining to input (I have a USB mouse and the USB touchscreen plugged in): (WW) Configured Mouse: No Device specified, looking for one... (II) Configured Mouse: Setting Device option to /dev/input/mice (--) Configured Mouse: Device: /dev/input/mice (==) Configured Mouse: Protocol: Auto (**) Option CorePointer (**) Configured Mouse: always reports core events (**) Option Device /dev/input/mice (==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50 (**) Configured Mouse: ZAxisMapping: buttons 4 and 5 (**) Configured Mouse: Buttons: 9 (**) Configured Mouse: Sensitivity: 1 (**) Option CoreKeyboard (**) Generic Keyboard: always reports core events (**) Option Protocol standard (**) Generic Keyboard: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) Generic Keyboard: XkbRules: xorg (**) Option XkbModel pc105 (**) Generic Keyboard: XkbModel: pc105 (**) Option XkbLayout
Re: Every newcomers to X think that servers and clients are reversed because they are
I'll try to give a more precise description of how I imagine things works right now, and how I imagine they should work. Currently, I believe things goes about like this: When you start an X application (that we call the X client), it read the $DISPLAY environment string to know the host where the X server it should call is. It then goes on to connect to this host, asking to speak on the X server on this host. The X server open a new window that talk to the X application, through a new port. What I would do: -create a new program that I would call the X server. This program would have a configuration that would looks like: User_Group Authorized X application secretaryLibreOffice programmer xterm ownerxterm ownerLibreOffice -I would move the code that sits and wait for new clients to connect, from what we was calling the X server, to this new X server -I would move and modify a bit the code to authenticate, to this new X server -I would rename the program we used to call the X server, to be called the X Client, and make it be a program similar to xdm So after my changes: When you would start the X client, you would be asked to enter your username, password, and select the X server you want to connect to. After connecting and authenticating to the X server with your username, the server would send you the list of authorized X application you are allowed to run, depending on the user group the username is in. Then, for each application you choose to open, the X client would open a new window to speak with this X application on a new port. It would also send a request to the X server, to request it to launch the X application on the host where the X application is. Not a very big change... but I guess it does change quite a bit how you use the computer. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
Paul Dufresne, le Wed 20 Apr 2011 18:21:05 -0400, a écrit : User_Group Authorized X application secretaryLibreOffice Which instance of LibreOffice, with which Unix rights? -I would rename the program we used to call the X server, to be called the X Client, and make it be a program similar to xdm Then use the XDMCP protocol, it's meant for this kind of things. When you would start the X client, you would be asked to enter your username, password, and select the X server you want to connect to. That's xdm After connecting and authenticating to the X server with your username, the server would send you the list of authorized X application you are allowed to run, depending on the user group the username is in. Then, for each application you choose to open, the X client would open a new window to speak with this X application on a new port. It would also send a request to the X server, to request it to launch the X application on the host where the X application is. That can be built over the existing X server. What the X server provides is access to a screen/keyboard/mouse. You can do whatever you want over it and name them clients/servers, the basic principle remains: there's some piece of software that knows how to driver a video board. You want to display various things on it coming from various applications. You thus need to manage multiplexing here. Thus what's called a server. Again, you can throw the pile of software you prefer over it. As said earlier in the thread, machines which merely run xdmcp really look like clients like you describe. But the applications that get run connect to an X server to get displayed. Samuel ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
On 04/20/2011 06:37 PM, Samuel Thibault wrote: Paul Dufresne, le Wed 20 Apr 2011 18:21:05 -0400, a écrit : User_Group Authorized X application secretaryLibreOffice Which instance of LibreOffice, with which Unix rights? -I would rename the program we used to call the X server, to be called the X Client, and make it be a program similar to xdm Then use the XDMCP protocol, it's meant for this kind of things. When you would start the X client, you would be asked to enter your username, password, and select the X server you want to connect to. That's xdm After connecting and authenticating to the X server with your username, the server would send you the list of authorized X application you are allowed to run, depending on the user group the username is in. Then, for each application you choose to open, the X client would open a new window to speak with this X application on a new port. It would also send a request to the X server, to request it to launch the X application on the host where the X application is. That can be built over the existing X server. What the X server provides is access to a screen/keyboard/mouse. You can do whatever you want over it and name them clients/servers, the basic principle remains: there's some piece of software that knows how to driver a video board. You want to display various things on it coming from various applications. You thus need to manage multiplexing here. Thus what's called a server. Again, you can throw the pile of software you prefer over it. As said earlier in the thread, machines which merely run xdmcp really look like clients like you describe. But the applications that get run connect to an X server to get displayed. Samuel ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: marty...@comcast.net This is pretty much the way things called X Terminals used to work. They ran a piece of software called a chooser, which took a username, password, and host and used XDMCP to authenticate and connect. I believe you can still do this with a properly configured server and display manager. The desktop environment displays the menu of things you are allowed to run. Nothing stops you from writing a desktop environment that restricts that by some sort of per-user policy. It makes zero difference if you happen to call a particular process a client or a server. After 25 years it is very unlikely anything substantive needs to or is going to change about the way X works. In networking, we say that a process that listens on a socket and accepts connections is a server. We say that a process that connects to that socket is a client. That is how the terminology got to be the way it is. If you want to claim it is an implementation detail and you don't like the terminology, fine, no problem. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
On Wed, Apr 20, 2011 at 06:21:05PM -0400, Paul Dufresne wrote: I'll try to give a more precise description of how I imagine things works right now, and how I imagine they should work. Currently, I believe things goes about like this: When you start an X application (that we call the X client), it read There is no such thing as an X application. Applications may be X clients or may be not, or may be in some circumstances, or may be multiple X clients in one application. Any proces that connects to an X server is an X client, X has no concept of applications. In fact, some processes will open two client connections and the X server doesn't even know they belong to the same process. the $DISPLAY environment string to know the host where the X server it should call is. That is by convention (default Xlib behaviour), not by requirement. It is perfectly valid for an application to ignore $DISPLAY and hardcode a connection with Display *dpy = XOpenDisplay(myserver-name); It then goes on to connect to this host, asking to speak on the X server on this host. The X server open a new window that talk to the X application, through a new port. Windows are requested by clients and there are several X clients that do not open windows (xinput, xsetwacom and synclient being the ones I work with frequently, there are others). Windows in X are also not what you may perceive as window. An X Window is a rectangular (ignoring the SHAPE extension) area on the screen that can be painted into. With a bit of effort on the _client's_ behalf, this window can be made to look like what you then perceive as window. To X, the window is still a rectangular area that has been painted into. X has no concepts of buttons, checkboxes, or _any_ other widgets either, they're purely client-side. Cheers, Peter What I would do: -create a new program that I would call the X server. This program would have a configuration that would looks like: User_Group Authorized X application secretaryLibreOffice programmer xterm ownerxterm ownerLibreOffice -I would move the code that sits and wait for new clients to connect, from what we was calling the X server, to this new X server -I would move and modify a bit the code to authenticate, to this new X server -I would rename the program we used to call the X server, to be called the X Client, and make it be a program similar to xdm So after my changes: When you would start the X client, you would be asked to enter your username, password, and select the X server you want to connect to. After connecting and authenticating to the X server with your username, the server would send you the list of authorized X application you are allowed to run, depending on the user group the username is in. Then, for each application you choose to open, the X client would open a new window to speak with this X application on a new port. It would also send a request to the X server, to request it to launch the X application on the host where the X application is. Not a very big change... but I guess it does change quite a bit how you use the computer. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: peter.hutte...@who-t.net ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg-macros does not install the .pc file in the standard location
On Mon, 18 Apr 2011, Dan Nicholson wrote: On Sun, Apr 17, 2011 at 11:36 PM, Vincent Torri vto...@univ-evry.fr wrote: hey in Makefile.am, pkgconfigdir = $(datadir)/pkgconfig should be replaced by pkgconfigdir = $(libdir)/pkgconfig Since the macros are arch-independent $datadir/pkgconfig is the correct location. See the default setting for PKG_CONFIG_PATH in pkg-config(1). indeed, sorry for the noise. Vincent Torri ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: arious x apps (xterm, xfontsel) don't start due to missing fonts
does xterm -fn fixed work ? re, wh Am 24.03.2011 22:19, schrieb Shiva Persaud: Hi folks, I'm having what appears to be a common problem but not of the solutions I've found on various forums and threads have worked for me. I noticed this issue after I configured my system to use the en_US.utf8 locale but it's possible that this issue existed before that change. Note that in debugging I've gone back to using having POSIX as my locale and the problem persists. I noticed then when I did a ctrl-right click xterm windows would close. I started an xterm from an xterm and ctrl-right clicked on the new xterm and saw the following error message: begin ~(245)$ xterm Warning: Cannot convert string -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-* to type FontStruct Warning: Unable to load any usable ISO8859 font Warning: Unable to load any usable ISO8859 font Error: Aborting: no font found end I see the following with trying to launch xfontsel: begin $ xfontsel Warning: Unable to load any usable ISO8859 font Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset Error: Aborting: no font found /end xclock starts but it prints the following: begin $ xclock Warning: Unable to load any usable ISO8859 font ^C $ /begin I've found, and tried, the following suggestions with no luck: 1. Ensured that media-fonts/font-misc-misc is installed. 2. Ensured that the FontPath is set is /etc/X11/xorg.conf. Other details like which versions of various X components I have installed and xset q fp output can be found in a distro bug opened: http://bugs.gentoo.org/show_bug.cgi?id=359679. Please note that in Googling around I've found that users on other distros have experienced this issue. I've attached strace editres output @ http://bugs.gentoo.org/attachment.cgi?id=266879. Any suggestions on how to address this would be much appreciated. Thanks! ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: wha...@bfs.de ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Touchpad not recognized
On Tue, Apr 19, 2011 at 09:57:27AM +0200, Xianwen Chen wrote: Hi there, I'm runnig Arch Linux X64 on a Dell Latitude E5410. The version of X Server is 1.10.1. The laptop's touchpad is not recognized as xinput list only shows following: ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ PS/2 Generic Mouse id=12 [slave pointer (2)] if you see this line, it usually means the kernel doesn't support your specific touchpad. That's the part that needs fixing. Once supported, it's likely to just work. Cheers, Peter ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ Laptop_Integrated_Webcam_2M id=10 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)] ↳ Dell WMI hotkeys id=13 [slave keyboard (3)] xf86-input-synaptics (1.4.0-2) and xf86-input-evdev (2.6.0-3) are installed. The system runs on a 2.6.38.2 kernel. Does someone have an idea on how to fix the problem? ;) Xianwen ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: peter.hutte...@who-t.net ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Every newcomers to X think that servers and clients are reversed because they are
On Tue, Apr 19, 2011 at 11:36:17PM -0400, Paul Dufresne wrote: For years I have heard of how we must rethink what is the server and what are the clients when coming to X. But the more I think about it, the more I conclude X is wrong, and should reverse their order. What you call the X server should be an X client. You could think as the applications being the server... but I guess this is not really correct either. An X server should wait for clients to connect (yes, that point X does the right thing). But what is now the client, should have a list of X server (that does not exist yet) to connect to. When you connect to an X server, you should be given a list of applications allowable to connect to. Then, you would be able to open one of the applications available, at your choice. From there, a new connection would be open between the application and the client (what is now called the X server), pretty much like a new connection is created right now. This would make X system much more useful I believe, because it would fit the way people expect server and clients to work. Then making a multi-user game would be pretty obvious, because it would just means to add some new avatar each time a new X client would connect to the game application on a given X server. At least, that the way I think it should be. sigh. I never understood why people claim that one must rethink server/client when it comes to X. X server and client notion are _not_ reversed. The X server sits there, waiting for connections. Just like FTP servers. The X server provides auth mechanisms, restricting which clients can connect. Just like FTP servers. Once a client connects, the server provides a specific protocol to communicate. Just like FTP servers. The protocol allows access to certain resources local to the machine. Just like FTP servers. (in the FTP server's case the resources are files, in the X server's case they are hardware resources) The clients can upload data (e.g. pixel data) and download data (e.g. events or state information). Just like FTP servers. When a client disconnects, the server continues to serve the other clients. Just like FTP servers. A client can connect to multiple servers, uploading data and downloading data to all of them. Just like FTP clients. When the server shuts down, all clients are disconnected, but only from this server. Connections to other servers stay open and active. Just like FTP clients. (I'm sure I could come up with more, but ...) I repeat, X server and client notion are _not_ reversed. People seem get it wrong because back in the days of yonder, there was a big machine that was also referred to as The server and user's machines were referred to as the clients. And all the server processes like FTP, NFS, etc. were running on the server. All except X, where the user was running the server software and the server was running the clients. Hardware is not software, and this problem is little more than the English language using the same word for two different things. You don't even have to rethink what servers and clients are. You just simply ignore the hardware-specific definitions because quite frankly, they make little sense these days anyway. My laptop runs several server processes yet I would never think of it a server (in the hardware specific meaning). I wouldn't consider my phone to be the server either, even though it can run server software. Cheers, Peter ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg 7.6 will not start
On 04/17/2011 03:43 PM, spiky wrote: Hi I am having a real problem with getting xorg to work, I have built with Linux from scratch using xorg 7.6 I have an intel graphics card 855GM in a Toshiba laptop I could really do with some help here I have a post on a forum which covers all we have tried http://www.linuxquestions.org/questions/linux-from-scratch-13/creating-an-x11r6-compatibility-symlink-874031/ I would appreciate some help with this, Thank you ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: marty...@comcast.net If you still have the error [ 39922.561] (EE) intel(0): No kernel modesetting driver detected. in your output, no amount of playing with xorg.conf will fix your problem. You need to go into the kernel configuration and enable the correct things, including kernel modesetting. Also be sure you have the correct DRM driver selected for your chipset. ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg-macros does not install the .pc file in the standard location
On Mon, 18 Apr 2011 08:36:15 +0200 (CEST) Vincent Torri vto...@univ-evry.fr wrote: hey in Makefile.am, pkgconfigdir = $(datadir)/pkgconfig should be replaced by pkgconfigdir = $(libdir)/pkgconfig /usr/share/pkgconfig is for non-arch-specific pkgconfig files, and xorg-macros.pc fits that perfectly. -RW ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: xorg-macros does not install the .pc file in the standard location
On Sun, Apr 17, 2011 at 11:36 PM, Vincent Torri vto...@univ-evry.fr wrote: hey in Makefile.am, pkgconfigdir = $(datadir)/pkgconfig should be replaced by pkgconfigdir = $(libdir)/pkgconfig Since the macros are arch-independent $datadir/pkgconfig is the correct location. See the default setting for PKG_CONFIG_PATH in pkg-config(1). -- Dan ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Touchscreens (mutouch) multiple heads
Peter Hutterer wrote: On Fri, Apr 15, 2011 at 12:11:09PM -0400, Michael Smith wrote: Hi, I have an Intel 915GM with two heads, each 800x600. One head feeds a touchscreen using the mutouch driver. Touchscreen input is being scaled by the total screen dimensions (1600x600), rather than just the 800x600 part of the display that is connected to the touchscreen. Where is the right place to add a way to override the screen width used for converting raw coordinates? Or is there already a way to do this? http://www.x.org/wiki/XInputCoordinateTransformationMatrixUsage run-time only though Thanks! I ended up doing something similar by fiddling with negative MinY/MaxY values. It's encouraging to know I'm not the only one with this use case (i.e. Wacom tablet users also solve the same problem). The transformation matrix may be a decent way to implement this internally, but as a user interface it's pretty awful - it would be nice to have a knob that says input device X is associated with the bounds of screen Y so you don't have to manually recalculate your matrix if you dynamically add or remove a screen or change a resolution. Mike ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Touchscreens (mutouch) multiple heads
On Mon, Apr 18, 2011 at 09:19:07AM -0400, Michael Smith wrote: Peter Hutterer wrote: On Fri, Apr 15, 2011 at 12:11:09PM -0400, Michael Smith wrote: Hi, I have an Intel 915GM with two heads, each 800x600. One head feeds a touchscreen using the mutouch driver. Touchscreen input is being scaled by the total screen dimensions (1600x600), rather than just the 800x600 part of the display that is connected to the touchscreen. Where is the right place to add a way to override the screen width used for converting raw coordinates? Or is there already a way to do this? http://www.x.org/wiki/XInputCoordinateTransformationMatrixUsage run-time only though Thanks! I ended up doing something similar by fiddling with negative MinY/MaxY values. It's encouraging to know I'm not the only one with this use case (i.e. Wacom tablet users also solve the same problem). The transformation matrix may be a decent way to implement this internally, but as a user interface it's pretty awful - it would be nice to have a knob that says input device X is associated with the bounds of screen Y so you don't have to manually recalculate your matrix if you dynamically add or remove a screen or change a resolution. xsetwacom has such a knob with MapToOutput but long term something desktop-specific is needed (i.e. gnome, kde, etc.) Cheers, Peter ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Touchscreens (mutouch) multiple heads
On Fri, Apr 15, 2011 at 12:11:09PM -0400, Michael Smith wrote: Hi, I have an Intel 915GM with two heads, each 800x600. One head feeds a touchscreen using the mutouch driver. Touchscreen input is being scaled by the total screen dimensions (1600x600), rather than just the 800x600 part of the display that is connected to the touchscreen. In the past I would have hacked up the mutouch driver to add overrides for ScreenWidth and ScreenHeight. I understand the X server now handles conversion of raw coordinates (in dix/getevents.c?), and the mutouch conversion_proc is no longer called. Where is the right place to add a way to override the screen width used for converting raw coordinates? Or is there already a way to do this? http://www.x.org/wiki/XInputCoordinateTransformationMatrixUsage run-time only though Cheers, Peter Section InputDevice Identifier touchscreen_serial Driver mutouch Option Device /dev/ttyS1 Option BaudRate 2400 Option InputFashion Touchpanel Option DebugLevel 9 Option ScreenNo 0 Option MinX 0 Option MaxX 16350 Option MinY 16350 Option MaxY 525 Option Name MUTOUCH:TOUCHSCREEN Option ReportingMode Scaled Option SendCoreEvents on Option Type Finger EndSection Thanks! Mike ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Kdrive/evdev internals
On Wednesday 13 April 2011 06:45 PM, Grigory Batalov wrote: P.S. If I use the wrong mailing list, please, point me to right one. I guess the following X development lists might help. xorg-de...@lists.freedesktop.org xorg-de...@lists.x.org -- Thanks Parthasarathy Selvaraj Desktop-JDS/X Sun, an Oracle Company ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Kdrive/evdev internals
On Mon, Apr 18, 2011 at 10:06:15AM +0530, Parthasarathy Selvaraj wrote: On Wednesday 13 April 2011 06:45 PM, Grigory Batalov wrote: P.S. If I use the wrong mailing list, please, point me to right one. I guess the following X development lists might help. xorg-de...@lists.freedesktop.org xorg-de...@lists.x.org fwiw, they're the same list. other allowed notations include @freedesktop.org and @x.org, IIRC. Cheers, Peter ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: Dvorak-Qwerty Keyborad Layout
On Sun, Apr 10, 2011 at 12:15:56PM +0200, Thomas Berger wrote: Hi, I'm using the US Dvorak keyboard layout with X.Org X Server 1.9.0. The problem I have is that control-key and alt-key keys are also mapped, so that ctrl-c becomes ctrl-i, etc. Is there a way to have the Dvorak keyboard layout, but if one presses control or alt it uses the Qwerty keyboard layout? This layout is available by default on Mac OSX. The reasons for such a layout is that the common copy/paste hotkeys X, C, and V remain on the left hand, and so can be used while the right hand is on the mouse. Regarding this issue I found the following workarounds, which did not work as expected: [1]http://ubuntuforums.org/showthread.php?t=774773 [2]http://code.google.com/p/dvorak-qwerty/ [3]http://forums.gentoo.org/viewtopic-p-4660238.html?sid=e2605ed35a9188 210eeb03f07d615279 Can such a Dvorak-Qwerty layout be implement/configured in xorg? No, that can't be done with an XKB configuration. The solution would be that shortcuts on the client side could be defined in terms of keys and not keysyms. For example in KDE there is the system-settings dialog Standard Keyboard Shortcuts -- so there appears to be desktop wide abstraction for it. If it would be possible to to assign a shortcut to a key and not the keysym (eg 'c' for crtl-c) it would be possible to have those shortcuts independent of which layout you use. -- Cheers, Dirk ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: i couldn't start an application which is installed on the Server with Graphic User Interface
X applications (such as the ones rendering the graphical interface from your Linux Server) need an X server they can talk to. The X server renders the drawing commands by the application. While Ubuntu includes an X server, Windows does not. You need to install a Windows X server such as Xming (*and* enable X11 forwarding in your ssh client). Alternatively, you can use another protocol such as VNC or nomachine nx. You'll need a Windows client and a server on the .. well ... server. Be warned that X tends not to perform well over high-latency low-bandwidth links. Both VNC and nx are far more suitable on such Additionally, the output Error in startup script: can't read xcrys(platform): no such variable while executing (...) indicates an error in the application you're using (XCrySDen). Please contact their support. Since you are apparently not running the latest version, I'd encourage you to do so before reporting a bug. Cheers, Philipp tian kong wrote: i connected to a Server which is using SUSE Linux Enterprise Server 10 SP2 (x86_64). I have just installed xCrySDen on the Server. I want to open it with a graphic user interface when i use a ssh client( F-Secure ssh client ) to connect to the server. When i use F-Secure ssh client in Windows 7, login in the server, then start xCrySDen, it failed with the following text: Application initialization failed: no display name and no $DISPLAY environment variable Error in startup script: can't read xcrys(platform): no such variable while executing if { $xcrys(platform) == windows } { # testing ... rename exec _tcl_exec proc exec {args} { global env # first try a normal exec... (file /home/users/luttangfl/software/XCrySDen-1.5.21-bin-semishared/Tcl/cygwin.tcl line 19) invoked from within source $system(TOPDIR)/Tcl/cygwin.tcl (file /home/users/luttangfl/software/XCrySDen-1.5.21-bin-semishared/Tcl/xcInit.tcl line 433) then, i tried the command xlogo, it said: Error: Can't open display: When i use Putty( another ssh client) in Windows 7, enable the X11 forwarding in Putty, it still couldn't open the graphic user interface. But when i used Ubuntu10.04, open the terminal, and use the following command: ssh -l abc -p 222 111.111.111.111 -X, and then after i login into the server and start xCrySDen, it works, i can see the application's graphic user interface. i want it works correctly when the clients' OS is Windows. Can you help me? Thx a lot 【this is an email sent by tiankong】 ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: phi...@phihag.de signature.asc Description: OpenPGP digital signature ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: i couldn't start an application which is installed on the Server with Graphic User Interface
On Tue, 12 Apr 2011 17:51:42 +0800 tian kong thisisasafeacco...@gmail.com wrote: But when i used Ubuntu10.04, open the terminal, and use the following command: ssh -l abc -p 222 111.111.111.111 -X, and then after i login into the server and start xCrySDen, it works, i can see the application's graphic user interface. i want it works correctly when the clients' OS is Windows. Can you help me? Thx a lot 【this is an email sent by tiankong】 Is there an X11 server running on your Windows machine? Standard Windows and PuTTY don't ship with a X server. Either use Cygwin or Xming to start an X server on your Windows machine, then use ssh. Wolfgang ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: i couldn't start an application which is installed on the Server with Graphic User Interface
Philipp Hagemeister and Wolfgang Draxinger, thank you both very much, i just installed Xming, and then i solved every problem. and i installed xCrySDen1.5.21, and it worked well too. Thank you, Philipp *【this is an email sent by tiankong】* Is there an X11 server running on your Windows machine? Standard Windows and PuTTY don't ship with a X server. Either use Cygwin or Xming to start an X server on your Windows machine, then use ssh. Wolfgang ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: [xorg] Where can I find the code examples from the X11 books?
On 04/12/11 12:58 PM, Lori Nagel wrote: I have most of the X11 books series. (there were books 0-8) that had a lot of documentation about the X11 interface. I wonder where I can get the code examples for the books. In particular, book 4, the Athena Widget version. I have been able to find the books online, but not the code examples, that I am really wanting O'Reilly, the book publisher, still seems to have Example Code links on the book pages that lead to tarballs, I didn't download unpack them to confirm: Volume 1 (Xlib): http://oreilly.com/catalog/9781565920026/ Volume 4 (Motif): http://oreilly.com/catalog/9781565920132/ http://oreilly.com/oreilly/cs/examples-faq.html has information about finding examples based on the books ISBN numbers, so you should hopefully be able to find the rest from the numbers on the book cover, the list on http://www.x.org/wiki/ProgrammingDocumentation or from finding the books on Amazon. However, I must strongly urge you to use a modern toolkit instead for new code. The Athena widgets will be sorely lacking in support for accessibility, internationalization, integration to modern desktops, modern font and graphics rendering, and many other things expected in modern X applications. -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ xorg@lists.freedesktop.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com