language setting

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #525
    caronja
    Participant

    Hi.
    I use as a server with Ubuntu 12.04 installed NoMachine workstation.
    The server is installed in Italian and if I access the keyboard is in Italian.

    As a client use a notebook ubuntu 12.04 in Italian, with Italian keyboard, everything works fine.
    On the notebook I have installed NoMachine client enterprise.

    When I connect using NoMachine and I create a virtual desktop, the system asks me to rename the folders with names in English and all the menus are in English.

    I uninstalled NoMachine 4, reinstalled nomachine version 3, after connect all works correctly in Italian. Now I reinstalled version 4 and the problem remain.

    The keyboard is Italian and works properly.
    When the notebook is connected with NoMachine to the virtual desktop, the keyboard works correctly in Italian, but the whole system is in English, and the system asks me to rename the folders with names in English.

    What can i try ?
    Thx

    #544
    fra81
    Moderator

    Hi.
    It could be some environment variable that is missing in the start command of your desktop manager.

    Please copy&paste the output of the “env” command, as run in the physical desktop and on the virtual desktop session.

    That is:

    Open a terminal on the physical display and run:
    # env

    Start the new remote desktop session on the NoMachine server.
    Open a terminal and run:
    # env

    Please provide the complete output.

    #557
    caronja
    Participant

    Thx for help.

    Client env output:

    SSH_AGENT_PID=1414
    GPG_AGENT_INFO=/tmp/keyring-lN9Jby/gpg:0:1
    TERM=xterm
    SHELL=/bin/bash
    XDG_SESSION_COOKIE=9abf458404fd9d6cc3928cf60000000a-1383809013.530388-1401026895
    WINDOWID=54525958
    GNOME_KEYRING_CONTROL=/tmp/keyring-lN9Jby
    USER=user
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
    XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
    XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
    SSH_AUTH_SOCK=/tmp/keyring-lN9Jby/ssh
    SESSION_MANAGER=local/lisphera-laptop:@/tmp/.ICE-unix/1378,unix/lisphera-laptop:/tmp/.ICE-unix/1378
    DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
    XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
    PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    DESKTOP_SESSION=ubuntu
    PWD=/home/user
    LANG=it_IT.UTF-8
    MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
    UBUNTU_MENUPROXY=libappmenu.so
    COMPIZ_CONFIG_PROFILE=ubuntu
    GDMSESSION=ubuntu
    SHLVL=1
    HOME=/home/user
    GNOME_DESKTOP_SESSION_ID=this-is-deprecated
    LOGNAME=user
    XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Jqr6WBoHeq,guid=1a416d3e45f1b865b6f30cd30000001b
    LESSOPEN=| /usr/bin/lesspipe %s
    DISPLAY=:0
    XDG_CURRENT_DESKTOP=Unity
    LESSCLOSE=/usr/bin/lesspipe %s %s
    COLORTERM=gnome-terminal
    XAUTHORITY=/home/user/.Xauthority
    _=/usr/bin/env

    Remote desktop output

    NX_CLIENT=/opt/NX/bin/nxclient
    GPG_AGENT_INFO=/tmp/keyring-aj3KcR/gpg:0:1
    TERM=xterm
    WINDOWID=56623108
    PULSE_CONFIG=/home/lisphera/.nx/C-lisphera-server-1006-BB9A67D9018E4019B6F3E99087B7C7E1/audio/daemon.conf
    GNOME_KEYRING_CONTROL=/tmp/keyring-aj3KcR
    PULSE_SERVER=/home/lisphera/.nx/C-lisphera-server-1006-BB9A67D9018E4019B6F3E99087B7C7E1/audio/native.socket
    NX_SESSION_ID=BB9A67D9018E4019B6F3E99087B7C7E1
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
    SSH_AUTH_SOCK=/tmp/keyring-aj3KcR/ssh
    SESSION_MANAGER=local/lisphera-server:@/tmp/.ICE-unix/3540,unix/lisphera-server:/tmp/.ICE-unix/3540
    PULSE_CLIENTCONFIG=/home/lisphera/.nx/C-lisphera-server-1006-BB9A67D9018E4019B6F3E99087B7C7E1/audio/client.conf
    PULSE_SCRIPT=/home/lisphera/.nx/C-lisphera-server-1006-BB9A67D9018E4019B6F3E99087B7C7E1/audio/default.pa
    ESPEAKER=127.0.0.1:8006
    NXDIR=/opt/NX
    PWD=/home/lisphera
    NX_SYSTEM=/opt/NX
    NX_CUPS_BIN=/usr/bin
    SHLVL=2
    HOME=/home/lisphera
    GNOME_DESKTOP_SESSION_ID=this-is-deprecated
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-aaKrfvZsp4,guid=b61e4b62780bfaf44bc8e2fd00004854
    LESSOPEN=| /usr/bin/lesspipe %s
    DISPLAY=:1006
    XDG_CURRENT_DESKTOP=Unity
    LESSCLOSE=/usr/bin/lesspipe %s %s
    NX_ROOT=/home/lisphera/.nx
    XAUTHORITY=/home/lisphera/.nx/C-lisphera-server-1006-BB9A67D9018E4019B6F3E99087B7C7E1/authority
    NX_TEMP=/tmp
    COLORTERM=gnome-terminal
    _=/usr/bin/env

    In the virtual desktop output cant find LANG=it_IT.UTF-8

    What can i do ?
    thx

    #576
    Britgirl
    Keymaster

    Set LANG=”it_IT.UTF-8″ in the .profile in the user’s home.

    #590
    caronja
    Participant

    If I add the .profile file, the problem is not solved.

    Client locale output:

    LANG=it_IT.UTF-8
    LANGUAGE=
    LC_CTYPE=”it_IT.UTF-8″
    LC_NUMERIC=”it_IT.UTF-8″
    LC_TIME=”it_IT.UTF-8″
    LC_COLLATE=”it_IT.UTF-8″
    LC_MONETARY=”it_IT.UTF-8″
    LC_MESSAGES=”it_IT.UTF-8″
    LC_PAPER=”it_IT.UTF-8″
    LC_NAME=”it_IT.UTF-8″
    LC_ADDRESS=”it_IT.UTF-8″
    LC_TELEPHONE=”it_IT.UTF-8″
    LC_MEASUREMENT=”it_IT.UTF-8″
    LC_IDENTIFICATION=”it_IT.UTF-8″
    LC_ALL=it_IT.UTF-8

    Remote desktop output

    LANG=
    LANGUAGE=
    LC_CTYPE=”POSIX”
    LC_NUMERIC=”POSIX”
    LC_TIME=”POSIX”
    LC_COLLATE=”POSIX”
    LC_MONETARY=”POSIX”
    LC_MESSAGES=”POSIX”
    LC_PAPER=”POSIX”
    LC_NAME=”POSIX”
    LC_ADDRESS=”POSIX”
    LC_TELEPHONE=”POSIX”
    LC_MEASUREMENT=”POSIX”
    LC_IDENTIFICATION=”POSIX”
    LC_ALL=

    Help pls…

    #592
    fra81
    Moderator

    Where did you set that? You must set it on the server, in the target user’s home, not on the client.

    Don’t forget also to export the variable:

    export LANG=”it_IT.UTF-8″

    #593
    titan
    Participant

    I really hope this problem can be resolved. Anyway I suggest that all of you read and understand this:

    https://www.nomachine.com/AR11K00740

    #607
    caronja
    Participant

    To Titan:
    I agree with what is written in the document you reported. But I remind you that on the same server with version 3.5 everything works fine. With version 4, the language does not work. with the protocol nx when I have time I try with ssh.

    ——–
    I created the file .profile on the server /home/$USER/.profile
    If I export the LANG variable, in the VirtualDeskto the variable LANG is set correctly. But if I restart the VirtualDesktop LANG variable is unset.
    It’s possible to set the variable lang with the NoMachine client?

    I want to try ssh instead of nx I think maybe using ssh works.

    #632
    caronja
    Participant

    Resolved thx to all.

    I reboot the server, then all works fine.

Viewing 9 posts - 1 through 9 (of 9 total)

This topic was marked as solved, you can't post.