<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: rdesktop color depth in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025635#M886342</link>
    <description>I suspect the rdesktop utility has been written on a native Xserver which by default will only expect to have access to 256 colors.&lt;BR /&gt;&lt;BR /&gt;The Bad mismatch error suggests rdesktop is trying to use it's own colormap which is different/conflicting to the default visual on your local display. ie without changing rdesktop code I'm not sure this maybe possible.&lt;BR /&gt;&lt;BR /&gt;Breif discussion :&lt;BR /&gt;&lt;BR /&gt;The number of colors that are available on a display is determined by&lt;BR /&gt;both the graphics card and the Xserver, and by default can not exceed&lt;BR /&gt;256.  The following is a brief discussion of how colors are allocated.&lt;BR /&gt;&lt;BR /&gt;Generally, X applications will use the default colormap, which, by&lt;BR /&gt;default, has 256 colormap slots available for color allocation&lt;BR /&gt;and is shared by all other clients that use the default colormap.&lt;BR /&gt;&lt;BR /&gt;As you allocate unique colors, the map slots are marked "in use" and&lt;BR /&gt;after 256 unique colors are allocated (between all users using this&lt;BR /&gt;colormap) the colormap is full and no more colors can be allocated.&lt;BR /&gt;&lt;BR /&gt;The map slots are shared (by default) and users requesting colors that&lt;BR /&gt;are already allocated will use the already allocated map slots (however,&lt;BR /&gt;users can attempt to allocate private color cells in the color map and&lt;BR /&gt;these color cells will not be shared with other users, even if the&lt;BR /&gt;colors are the same as already allocated colors).&lt;BR /&gt;&lt;BR /&gt;Applications that are color intensive sometimes create their own&lt;BR /&gt;colormap (this is what netscape does when invoked with the install&lt;BR /&gt;option) and will have all 256 colormap slots available to them.  Their&lt;BR /&gt;is no practical limit to the number of private colormaps that can be&lt;BR /&gt;created; however, depending on the graphics hardware, their is a limit&lt;BR /&gt;to the number of hardware colormaps that can be installed at any given&lt;BR /&gt;time.&lt;BR /&gt;&lt;BR /&gt;The limit on hardware colormaps will not prevent a client from running&lt;BR /&gt;or allocating its own colormap (but, it can give the technicolor effect,&lt;BR /&gt;or flickering.  The window manager will install the appropriate colormap&lt;BR /&gt;when a client with a private colormap receives the input focus.&lt;BR /&gt;&lt;BR /&gt;Finally, remember that the number of colors available in the Xserver's&lt;BR /&gt;colormap is 256 by default.  If the graphics hardware is capable, this&lt;BR /&gt;can be changed by telling the Xserver to use a different visual; for&lt;BR /&gt;example a 24-bit visual would allow over 16 million colors.  However,&lt;BR /&gt;many applications expect that they will be running in an 8-bit visual&lt;BR /&gt;and may not function properly if the default visual is set to 24-bit.&lt;BR /&gt;Therefore, in a normal Vue/CDE environment, the Xserver runs in an 8-bit&lt;BR /&gt;visual and is limited to 256 colors in the colormap.</description>
    <pubDate>Thu, 07 Aug 2003 08:36:49 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2003-08-07T08:36:49Z</dc:date>
    <item>
      <title>rdesktop color depth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025630#M886337</link>
      <description>hello&lt;BR /&gt;&lt;BR /&gt;i implemented the rdesktop system on my network, the problem is that i can only work with 8bpp color depth ( 256 colors)when working with Win2K TS or WinXP .&lt;BR /&gt;how can i indrease the color depth ?</description>
      <pubDate>Wed, 16 Jul 2003 16:08:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025630#M886337</guid>
      <dc:creator>Avinoam</dc:creator>
      <dc:date>2003-07-16T16:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: rdesktop color depth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025631#M886338</link>
      <description>have you tried the -C option? &lt;BR /&gt;for me it works fine.&lt;BR /&gt;yours&lt;BR /&gt;doro</description>
      <pubDate>Thu, 17 Jul 2003 13:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025631#M886338</guid>
      <dc:creator>Dorothee Singer</dc:creator>
      <dc:date>2003-07-17T13:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: rdesktop color depth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025632#M886339</link>
      <description>can you write me your comman line with the -C option&lt;BR /&gt;&lt;BR /&gt;thanks Avinoam</description>
      <pubDate>Wed, 23 Jul 2003 08:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025632#M886339</guid>
      <dc:creator>Avinoam</dc:creator>
      <dc:date>2003-07-23T08:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: rdesktop color depth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025633#M886340</link>
      <description>sorry, that i'm so late in answering - didn't get a notification from hp.&lt;BR /&gt;&lt;BR /&gt;here is my complete command:&lt;BR /&gt;./rdesktop -g 1268x985 -C -u singer 192.168.2.211&lt;BR /&gt;&lt;BR /&gt;sorry again for being so late.&lt;BR /&gt;yours&lt;BR /&gt;doro</description>
      <pubDate>Fri, 01 Aug 2003 08:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025633#M886340</guid>
      <dc:creator>Dorothee Singer</dc:creator>
      <dc:date>2003-08-01T08:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: rdesktop color depth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025634#M886341</link>
      <description>hey doro&lt;BR /&gt;&lt;BR /&gt;i still have this problem and i wonder if you solve it ..&lt;BR /&gt;i use redhat-9  as the rdesktop client , if i simply run   ./rdeskrop 192.168.1.3   i get the windows screen but i only have 256 ( color )&lt;BR /&gt;and when i use the -C switch  ( like the command you wrote me ) i get the following error : &lt;BR /&gt;&lt;BR /&gt;X Error of failed request:  BadMatch (invalid parameter attributes)&lt;BR /&gt;  Major opcode of failed request:  78 (X_CreateColormap)&lt;BR /&gt;  Serial number of failed request:  23&lt;BR /&gt;  Current serial number in output stream:  32&lt;BR /&gt;&lt;BR /&gt;if you solve it i will be happy to hear how, if you havent sen that i will be more the happy to know which linux and which version of rdesktop u used ?&lt;BR /&gt;&lt;BR /&gt;thanks for your help !!&lt;BR /&gt;&lt;BR /&gt;Avinoam</description>
      <pubDate>Thu, 07 Aug 2003 07:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025634#M886341</guid>
      <dc:creator>Avinoam</dc:creator>
      <dc:date>2003-08-07T07:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: rdesktop color depth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025635#M886342</link>
      <description>I suspect the rdesktop utility has been written on a native Xserver which by default will only expect to have access to 256 colors.&lt;BR /&gt;&lt;BR /&gt;The Bad mismatch error suggests rdesktop is trying to use it's own colormap which is different/conflicting to the default visual on your local display. ie without changing rdesktop code I'm not sure this maybe possible.&lt;BR /&gt;&lt;BR /&gt;Breif discussion :&lt;BR /&gt;&lt;BR /&gt;The number of colors that are available on a display is determined by&lt;BR /&gt;both the graphics card and the Xserver, and by default can not exceed&lt;BR /&gt;256.  The following is a brief discussion of how colors are allocated.&lt;BR /&gt;&lt;BR /&gt;Generally, X applications will use the default colormap, which, by&lt;BR /&gt;default, has 256 colormap slots available for color allocation&lt;BR /&gt;and is shared by all other clients that use the default colormap.&lt;BR /&gt;&lt;BR /&gt;As you allocate unique colors, the map slots are marked "in use" and&lt;BR /&gt;after 256 unique colors are allocated (between all users using this&lt;BR /&gt;colormap) the colormap is full and no more colors can be allocated.&lt;BR /&gt;&lt;BR /&gt;The map slots are shared (by default) and users requesting colors that&lt;BR /&gt;are already allocated will use the already allocated map slots (however,&lt;BR /&gt;users can attempt to allocate private color cells in the color map and&lt;BR /&gt;these color cells will not be shared with other users, even if the&lt;BR /&gt;colors are the same as already allocated colors).&lt;BR /&gt;&lt;BR /&gt;Applications that are color intensive sometimes create their own&lt;BR /&gt;colormap (this is what netscape does when invoked with the install&lt;BR /&gt;option) and will have all 256 colormap slots available to them.  Their&lt;BR /&gt;is no practical limit to the number of private colormaps that can be&lt;BR /&gt;created; however, depending on the graphics hardware, their is a limit&lt;BR /&gt;to the number of hardware colormaps that can be installed at any given&lt;BR /&gt;time.&lt;BR /&gt;&lt;BR /&gt;The limit on hardware colormaps will not prevent a client from running&lt;BR /&gt;or allocating its own colormap (but, it can give the technicolor effect,&lt;BR /&gt;or flickering.  The window manager will install the appropriate colormap&lt;BR /&gt;when a client with a private colormap receives the input focus.&lt;BR /&gt;&lt;BR /&gt;Finally, remember that the number of colors available in the Xserver's&lt;BR /&gt;colormap is 256 by default.  If the graphics hardware is capable, this&lt;BR /&gt;can be changed by telling the Xserver to use a different visual; for&lt;BR /&gt;example a 24-bit visual would allow over 16 million colors.  However,&lt;BR /&gt;many applications expect that they will be running in an 8-bit visual&lt;BR /&gt;and may not function properly if the default visual is set to 24-bit.&lt;BR /&gt;Therefore, in a normal Vue/CDE environment, the Xserver runs in an 8-bit&lt;BR /&gt;visual and is limited to 256 colors in the colormap.</description>
      <pubDate>Thu, 07 Aug 2003 08:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025635#M886342</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-08-07T08:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: rdesktop color depth</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025636#M886343</link>
      <description>hi,&lt;BR /&gt;i don't know, if you need it yet, but now rdesktop 1.3.1 is available and it works fine with 16bit.&lt;BR /&gt;i missunderstood you first time - i used the 256colours the last months, too. but now, since i compiled 1.3.1, it works really fine with lots of colours and my users are more than happy ;-)&lt;BR /&gt;other bugs are fixed, too - e.g. the copy/paste function between unix/windows.&lt;BR /&gt;&lt;BR /&gt;anyway - perhaps you know all this or do not receive answers for this post any longer.&lt;BR /&gt;but i thought, i would better say; just to be sure.&lt;BR /&gt;&lt;BR /&gt;best wishes,&lt;BR /&gt;doro&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2004 02:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rdesktop-color-depth/m-p/3025636#M886343</guid>
      <dc:creator>Dorothee Singer</dc:creator>
      <dc:date>2004-06-04T02:34:58Z</dc:date>
    </item>
  </channel>
</rss>

