Hi.
When I execute Eclipse or Firefox remotely using ssh (on a LAN using ssh -Y user@remote-machine eclipse) they both look strange, the colors are kind of yellow. Logging in to the remote machine using NX or VNC and executing the same apps does not produce the same colors, the apps look fine. Executing the same apps on my local machine does not produce the strange colors either.
The remote machine is a SLES 11 and the local is a openSUSE 11.3 (with KDE 4.5.2).
This might seem like a small problem but it is annoying to work a whole day like this when the remote apps looks like **** on my otherwise beautiful KDE desktop :-).
Is there a setting somewhere that does not get exported over the network that I can set manually?
Regards, Micke.
I found out why this happens; logging in remotely to the server using ssh (ssh -Y user@remote-machine) does not set some environment variables that GTK uses, specifically GTK2_RC_FILES and GTK_RC_FILES. These variables seem to point out where GTK can find config settings. If I use NX, VNC or any other mechanism of bringing up a remote desktop, these variables get proper values when I log in. Why do I get proper values for my environment using a remote desktop client and not when I login using SSH? Not supplying a remote command to the ssh client is supposed to give me a login shell and as such it should have the environment I get when running a remote desktop. An SSH session does get an environment but it does not seem to be complete. Does anybody know why?
Regards, Micke.
On 2010-10-18 15:06, thermopyle wrote:
>
> I found out why this happens; logging in remotely to the server using
> ssh (ssh -Y user@remote-machine) does not set some environment variables
> that GTK uses, specifically GTK2_RC_FILES and GTK_RC_FILES. These
> variables seem to point out where GTK can find config settings. If I use
> NX, VNC or any other mechanism of bringing up a remote desktop, these
> variables get proper values when I log in. Why do I get proper values
> for my environment using a remote desktop client and not when I login
> using SSH? Not supplying a remote command to the ssh client is supposed
> to give me a login shell and as such it should have the environment I
> get when running a remote desktop. An SSH session does get an
> environment but it does not seem to be complete. Does anybody know why?
Because the the remote login process sets them?
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)