(solved) perl: warning: Setting locale failed.

Discussion in 'UDOO 101' started by alexandros301, Mar 22, 2014.

Thread Status:
Not open for further replies.
  1. alexandros301

    alexandros301 Member

    Joined:
    Mar 22, 2014
    Messages:
    40
    Likes Received:
    0
    Hi all,
    New to this forum and to Udoo. Just got my Udoo quad and I'm running it with ssh. It seems to be quite ok since I did an apt-get update and I installed Pure Data also with apt-get install. Though I'm getting an error message when I type /usr/bin/pd, which is
    Code:
    Application initialization failed: no display name and no $DISPLAY environment variable
    and I'm also getting some other errors when I'm installing stuff (e.g. automake and libtool), and when I'm in the Desktop directory and I type ./chromium-browser.desktop no browser is launched and I get the following messages:

    Code:
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    	LANGUAGE = (unset),
    	LC_ALL = (unset),
    	LC_CTYPE = "UTF-8",
    	LANG = (unset)
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    	LANGUAGE = (unset),
    	LC_ALL = (unset),
    	LC_CTYPE = "UTF-8",
    	LANG = (unset)
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Warning: unknown mime-type for "./chromium-browser.desktop" -- using "application/octet-stream"
    Error: no "view" mailcap rules found for type "application/octet-stream"
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    	LANGUAGE = (unset),
    	LC_ALL = (unset),
    	LC_CTYPE = "UTF-8",
    	LANG = (unset)
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Opening "./chromium-browser.desktop" with gedit  (application/x-desktop)
    
    (process:6046): Gtk-WARNING **: Locale not supported by C library.
    	Using the fallback 'C' locale.
    Cannot open display: 
    Run 'gedit --help' to see a full list of available command line options.
    /usr/bin/xdg-open: 461: /usr/bin/xdg-open: links2: not found
    /usr/bin/xdg-open: 461: /usr/bin/xdg-open: links: not found
    /usr/bin/xdg-open: 461: /usr/bin/xdg-open: lynx: not found
    /usr/bin/xdg-open: 461: /usr/bin/xdg-open: w3m: not found
    xdg-open: no method available for opening './chromium-browser.desktop'
    Can anyone give a hint?
    Thanks,
    Alexandros
     
  2. alexandros301

    alexandros301 Member

    Joined:
    Mar 22, 2014
    Messages:
    40
    Likes Received:
    0
    Solved, I had to use the -X flag for ssh so that udoo could display the GUI. It's working now. So the command is ssh -X ubuntu@ip_address
     
  3. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    Great, i'm closing the thread then.
     
Thread Status:
Not open for further replies.

Share This Page