WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TightVNC and Terminal Transparency  (Read 2009 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
TightVNC and Terminal Transparency
« on: October 05, 2010, 08:54:42 AM »
TightVNC is working OK.  The display on a client machine can be inconvenient as it is sometimes difficult to read the text in a transparent terminal running on the server.  Is there a way to disable transparency for remote connections only?
 

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: TightVNC and Terminal Transparency
« Reply #1 on: October 06, 2010, 01:27:26 AM »
I've had an idea about this but don't know if it is feasible or how to construct the command.

Currently the TightVNC server is started via bootlocal.sh using display number 9.  As outlined in the tightvnc.tcz info file the server desktop is subsequently configured using
Code: [Select]
DISPLAY=:9 jwm &
etc... issued from a file in ~/.X.d

Is it possible to use the same method to create a variable that will switch off transparency, for a terminal opened in display number 9, via the JWM "Start" menu?

If so, what would be the command use?
 

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: TightVNC and Terminal Transparency
« Reply #2 on: October 06, 2010, 04:34:42 AM »
I've found an acceptable answer to this...

The default mode of the server is to use a colour depth of 8 bits per pixel.  This does not allow transparency to be reproduced as seen when using a terminal on a local machine.  Starting the server and explicitly setting the depth resolves the problem.

Example
Code: [Select]
Xvnc :9 -depth 16

OR

Xvnc :9 -depth 24
 

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: TightVNC and Terminal Transparency
« Reply #3 on: October 06, 2010, 09:55:08 AM »
It is controlled by a X resource, which are set on X server start from the file .Xdefaults. A bit late :P
The only barriers that can stop you are the ones you create yourself.