On Sunday 06 November 2016 11:51:02 Mark wrote:

> On 11/06/2016 11:03 AM, Gene Heskett wrote:
> > On Sunday 06 November 2016 06:43:21 W. Martinjak wrote:
> >> sudo dpkg-reconfigure locales
> >
> > This I have tried, at least 3 times. It goes thru the motions and
> > hand waving to set $LC to en_US.UTF-8, but:
> >
> > gene@raspberrypi:/etc/pam.d $ sudo dpkg-reconfigure locales
> > Generating locales (this might take a while)...
> >    en_US.UTF-8... done
> > Generation complete.
> > gene@raspberrypi:/etc/pam.d $ env
> > XDG_SESSION_ID=c5
> > TERM=xterm
> > SHELL=/bin/bash
> > SSH_CLIENT=192.168.71.3 51556 22
> > SSH_TTY=/dev/pts/1
> > USER=gene
> > 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:*.arc=01;31:*.arj
> >=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*
> >.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:
> >*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=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;3
> >1:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=0
> >1;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bm
> >p=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:*.m2
> >v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:
> >*.mp4v=01;35:*.vob=01;3
>
>  
5:*.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:*.m4a=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:
> > MAIL=/var/mail/gene
> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/u
> >sr/local/games:/usr/games PWD=/etc/pam.d
> > LANG=en_US.UTF-8
> > SHLVL=1
> > HOME=/home/gene
> > LOGNAME=gene
> > SSH_CONNECTION=192.168.71.3 51556 192.168.71.100 22
> > XDG_RUNTIME_DIR=/run/user/1001
> > DISPLAY=localhost:11.0
> > _=/usr/bin/env
> > OLDPWD=/home/gene
> > gene@raspberrypi:/etc/pam.d $ echo $LC
> >
> > gene@raspberrypi:/etc/pam.d $
> >
> > It is not set.  So:
> > gene@raspberrypi:/etc/pam.d $ sudo  export LC=en_US.UTF-8
> > sudo: export: command not found
> > Which would seem to explain that, but where the heck did export get
> > off to?
> >
> > raspian gets stranger and stranger.  It will not let me run
> > synaptic-pkexec either, returning this for anything I put in for my
> > sudo passwd:
> > gene@raspberrypi:/etc/pam.d $ synaptic-pkexec
> > ==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
> > Authentication is required to run the Synaptic Package Manager
> > Authenticating as: root
> > Password:
> > polkit-agent-helper-1: pam_authenticate failed: Authentication
> > failure ==== AUTHENTICATION FAILED ===
> > Error executing command as another user: Not authorized
> >
> > This incident has been reported.
> >
> > That works perfectly on the other 5 x86 boxes here. So no gui
> > package manager is available on the pi so far.
> >
> > Yeah, I think aptitude may be installed, but I won't touch that with
> > a 20 foot fiberglass pole, its cost me too damned many reinstalls to
> > recover from its wanton scribbling over good stuff.  Last time I ran
> > it, to remove network-mangler, it did not warn me that it was going
> > to remove 388 other packages as dependencies. But I sure realized
> > that was a mistake as I watched it rip the heart out of my system. 
> > So that POS is not going to get a chance to burn me again, ever.
> >
> > Sorry Matsche, but even spelling that command on a keyboard makes me
> > overheat.
> >
> > So lets see if we can find out where export got lost?
> >
> > One last silly Q, if this hasn't the iron to run x and lcnc, I still
> > have an orange-pi-3 on a junk someplace in the big pond.  Would it
> > be possible to export the x stuff to it as a display device for
> > running LCNC? I still have room for it on the lid of this box.  Sort
> > of a miniature cloud?  Or is this dirt no one was walked on yet?
> >
> > Cheers Matsche, Gene Heskett
>
> You want the "export" to work under *your* shell.  Try the line
> without the "sudo."  What shell are you running under?  #echo $shell? 
/bin/bash
> Export is part of the bash/sh.  It'snot a standalone command.

My bad, I had forgotten that.  Can I blame oldtimers?
>
> The "synaptic-pkexec" is looking for the root password, not your sudo
> passwordwhen you run it that way.  Have you tried sudo
> synaptic-pkexec? You may have to edit /etc/sudoers to give your
> account the privs to be able to run those commands.

Thats all been done Mark, and I have, as user 1001, zero problems running 
anything else that needs root privs. I've even ran shadowconfig on after 
each addition while looking for a solution. Attr's are all 0755, it 
ought to Just Run.  But pam-authentification thinks otherwise.

Thinking out loud, maybe I need to sudo bash, then su pi -c "yadda 
yadda".  Worth a try. Nope, pi can't open a display. Sigh.

Thanks Mark

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to