Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: SamK on October 05, 2010, 11:54:42 AM

Title: TightVNC and Terminal Transparency
Post by: SamK on October 05, 2010, 11: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?
 
Title: Re: TightVNC and Terminal Transparency
Post by: SamK on October 06, 2010, 04: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?
 
Title: Re: TightVNC and Terminal Transparency
Post by: SamK on October 06, 2010, 07: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
 
Title: Re: TightVNC and Terminal Transparency
Post by: curaga on October 06, 2010, 12:55:08 PM
It is controlled by a X resource, which are set on X server start from the file .Xdefaults. A bit late :P