[SOLVED] X over SSH

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] X over SSH

Postby mackowiakp » Jun 26th, '13, 13:42

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?
Last edited by mackowiakp on Jun 26th, '13, 17:27, edited 1 time in total.
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: X over SSH

Postby djennings » Jun 26th, '13, 16:58

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
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: X over SSH

Postby mackowiakp » Jun 26th, '13, 17:26

THX! Works!
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest