Page 1 of 1

[SOLVED] X over SSH

PostPosted: Jun 26th, '13, 13:42
by mackowiakp
I want to run remotely X based apps from second. M3 based both. My sshd runs on port 666. So I use such syntax for example:

ssh -p 666 -i /home/maciek/.ssh/id_rsa root@media /bin/drakconf

And it display control panel on second computer screen. But the problem is that all menus are in English, not in language of interface running on both computers. What to do to have all menus in my country language?

Re: X over SSH

PostPosted: Jun 26th, '13, 16:58
by djennings
So you need to start drakconf with the LANG environment variable set.
How about
Code: Select all
ssh -p 666 -i /home/maciek/.ssh/id_rsa root@media env LANG=XXXXXX /bin/drakconf


where XXXXXX is the result of
Code: Select all
echo $LANG

Re: X over SSH

PostPosted: Jun 26th, '13, 17:26
by mackowiakp
THX! Works!