pulseaudi and pavucontrol - was - Re: Anyone got Dragon Naturally Speaking working under Debian Wheezy?

2014-08-22 Thread Bret Busby
On 22/08/2014, Ric Moore  wrote:
> On 08/21/2014 09:34 PM, Martin Read wrote:
>> On 22/08/14 00:49, Ric Moore wrote:
>>
>>> That's why I go off on a rant once in awhile, that pavucontrol needs to
>>> be a pulse depend, or users won't have the tool to setup and adjust
>>> pulse with.
>>
>> It's currently a Suggests; I suggest you file a bug report suggesting
>> that this should be bumped to Recommends. (I wouldn't go as far as
>> Depends, because IMO pulseaudio should not require X11.)
>
> You're right ...that IS a conundrum! Huh. Funny though, on my
> text-mode-only Proxmox Debian based server I don't use sound either.
>
> -OR- declare alsa or Jack for servers and pulse for Desktops? I hope to
> see some debate resolve the case.
>
> But, as it stands, the lack of pre-installed pavucontrol, on the
> desktop, grieves many users who don't know to use it until they've
> beaten their brains out ...and this has been the case for years. We
> could spare a lot of newer people the grief. :) Ric
>
>

As a befuddled user, who benefitted from the particular advice on
list, to install pavucontrol with pulseaudio, in order to get sound
working on a computer, I think, in the context of the above, that
having pavucontrol as a "Recommended" package to install with
pulseaudio, with some explanation like "GUI configuration tool for
pulseaudio", would probably be quite good.


-- 
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACX6j8PNhicwW4+n9hXp6FfoeuWoznZuqc7JXkNoDF=cblo...@mail.gmail.com



Surprisingly cheap HP 255 G2 laptop; Wheezy possible?

2014-08-22 Thread Ron Leach

List, good morning,

There's an attractive offer in UK for an HP 255 G2 laptop, from Misco:

http://www.misco.co.uk/product/Q730917/

and I wondered whether anybody had had good experience running Wheezy 
on it?  I had two queries, touchpad, and UEFI,


Searching revealed that its Synaptics touchpad is causing problems in 
Ubuntu 14.04 LTS


https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1325992

but I've no idea whether this meant problems were with the Synaptics 
driver and might occur with Wheezy.  A sort-of assessment for Linux on 
it is here:


http://www.linux-hardware-guide.com/uk/2014-07-12-hp-255-g2-notebook-15-6-zoll-1-gh

I've two applications for this machine, one would be text based so the 
touchpad wouldn't be an issue, but the other would employ a graphical 
desktop, and be mounted on the top shelf of a cabinet, so an external 
mouse wouldn't be an option.  So I wondered in particular whether 
anybody had Wheezy on this, and managed to use the touchpad?


Could I ask about UEFI?  It would, presumably, have a UEFI bios, as 
well and, while I've seen lots of postings about UEFI on the list, I 
have never used a UEFI system and didn't really understand what was 
being said.  Are there still problems with UEFI, or will Wheezy 
install quite happily on UEFI these days?


[HP 255 G2 seems to come in at least two AMD CPU flavours.  The 
subject model uses AMD A4-5000M, while another 255 G2 (similar price 
but requiring time-windowed cashback)

http://www.misco.co.uk/product/223145/
uses AMD E1-2100 .]

Grateful for any thoughts.

regards, Ron


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53f6f90b.4080...@tesco.net



writing to /dev/stdout fails in cron script

2014-08-22 Thread Tony van der Hoff
Hi,

Running up-to-date Wheezy.

I have a script, simplified like this:

-
#!/bin/bash
DEBUG=1

OUT=/dev/null

if [ $DEBUG -ne 0 ]; then
OUT=/dev/stdout
fi

echo hello > $OUT
-

This works fine when invoked from the command line, but when called as a
cron task, same user, it fails with
/home/tony/scripts/test: line 10: /dev/stdout: Permission denied

Any suggestions on how to fix this, please?
-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53f70c19.2020...@vanderhoff.org



Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread emmanuel segura
Maybe, because crond is running as root, try put this lines in your script


ls -l /proc/self/fd/1
ls -l /dev/stdout

please, you can tell us, how you scheduled the script in crond?

Thanks

2014-08-22 11:23 GMT+02:00 Tony van der Hoff :
> Hi,
>
> Running up-to-date Wheezy.
>
> I have a script, simplified like this:
>
> -
> #!/bin/bash
> DEBUG=1
>
> OUT=/dev/null
>
> if [ $DEBUG -ne 0 ]; then
> OUT=/dev/stdout
> fi
>
> echo hello > $OUT
> -
>
> This works fine when invoked from the command line, but when called as a
> cron task, same user, it fails with
> /home/tony/scripts/test: line 10: /dev/stdout: Permission denied
>
> Any suggestions on how to fix this, please?
> --
> Tony van der Hoff  | mailto:t...@vanderhoff.org
> Ariège, France |
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/53f70c19.2020...@vanderhoff.org
>



-- 
esta es mi vida e me la vivo hasta que dios quiera


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cae7pj3dthdgurdqweye_x+z+8lwfkvjrk_yytxkwznsebgp...@mail.gmail.com



Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread Sven Hartge
Tony van der Hoff  wrote:

> Running up-to-date Wheezy.

> I have a script, simplified like this:

> -
> #!/bin/bash
> DEBUG=1

> OUT=/dev/null

> if [ $DEBUG -ne 0 ]; then
>OUT=/dev/stdout
> fi

> echo hello > $OUT
> -

> This works fine when invoked from the command line, but when called as a
> cron task, same user, it fails with
> /home/tony/scripts/test: line 10: /dev/stdout: Permission denied

What is /dev/stdout on your system? It should look like this:

~$ ls -al /dev/stdout
lrwxrwxrwx 1 root root 15 Aug  6 23:06 /dev/stdout -> /proc/self/fd/1

Maybe the symlink was replaced by a file with insufficient permissions,
thus the error.

If that is the case, please remove the file and recreate the symlink.
(Or reboot, since /dev should be on a tmpfs the symlink will be created
at boot time.)

_If_ the symlink is correctly in place as show above, please provide the
output of "ls -ald /dev", maybe the permissions to /dev are wrong.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/4au9nk7lg...@mids.svenhartge.de



Re: Busybox: compile statically?

2014-08-22 Thread antispammbox-debian


- Original Message - 
From: "antispammbox-debian" 
To: "debian-italian" ; "Darac Marjal" 


Sent: Monday, August 18, 2014 5:38 PM
Subject: Re: Busybox: compile statically?




- Original Message - 
From: "Darac Marjal" 

Newsgroups: linux.debian.user
Sent: Monday, August 18, 2014 10:50 AM
Subject: Re: Busybox: compile statically?



I did not understand, sorry, applet, adding library static?

I did not understand, I thought that taking the original source or Debian,
compile, add utility, create mknode?, console, tty, other, but instead is
always a confusing thing! :)

No one explains things clearly, for program of 650Kb? :)
Gets the same, sorry

Thank you Darac.for reply.


Regards :)



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/A52BD3F924CA4ED887AE2EA8C0C86310@rx



Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread Tony van der Hoff
On 22/08/14 11:35, Sven Hartge wrote:
> Tony van der Hoff  wrote:
> 
>> Running up-to-date Wheezy.
> 
>> I have a script, simplified like this:
> 
>> -
>> #!/bin/bash
>> DEBUG=1
> 
>> OUT=/dev/null
> 
>> if [ $DEBUG -ne 0 ]; then
>>OUT=/dev/stdout
>> fi
> 
>> echo hello > $OUT
>> -
> 
>> This works fine when invoked from the command line, but when called as a
>> cron task, same user, it fails with
>> /home/tony/scripts/test: line 10: /dev/stdout: Permission denied
> 
> What is /dev/stdout on your system? It should look like this:
> 
> ~$ ls -al /dev/stdout
> lrwxrwxrwx 1 root root 15 Aug  6 23:06 /dev/stdout -> /proc/self/fd/1
> 
> Maybe the symlink was replaced by a file with insufficient permissions,
> thus the error.
> 
> If that is the case, please remove the file and recreate the symlink.
> (Or reboot, since /dev should be on a tmpfs the symlink will be created
> at boot time.)
> 
> _If_ the symlink is correctly in place as show above, please provide the
> output of "ls -ald /dev", maybe the permissions to /dev are wrong.

Cron task is invoked from a simple crontab entry:
# /home/tony/crontab -- crontab for user tony
MAILTO=t...@vanderhoff.org
SHELL=/bin/sh

* * * * *   /home/tony/scripts/test


tony@tony-fr:~$ ls -al /dev/stdout
lrwxrwxrwx 1 root root 15 Aug 21 17:30 /dev/stdout -> /proc/self/fd/1

tony@tony-fr:~$ ls -ald /dev
drwxr-xr-x 15 root root 3340 Aug 21 17:30 /dev


Thanks for your help

-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53f710fb.7010...@vanderhoff.org



apt-get update not downloading Packages.gz|bz2 - trying to load Packages which is not on server

2014-08-22 Thread Zenaan Harkness
On a wheezy install (basically default from what I can tell), why
would apt-get update try to load Packages file from server when the
server serves Packages.gz and Packages.bz2?

The repo is a http served mirror created with debmirror.

I think I came across this once a few years ago, but for the life of
me I can't google an answer - been trying stackexchange, serverfault,
the debian admin manual, my gmail history and plenty other google
links. My searches (such as the subject line of this email, amongst
many others) are not yet yielding success for me.

TIA
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOsGNSSa6aJOe77gHwiiG4yDf6JJMWRoTfv2WKTC+Zv=cs6...@mail.gmail.com



Re: Got skype 4.2 to connect again

2014-08-22 Thread ds

So I found a simple solution:

...

No pulseaudio needed any more! Yeah!

Have fun!



Great job Hans! Made a python script to automate this - hope might help 
:-)


Here:
http://pastebin.com/0pQhmuh4


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/e5ced10ba917ede8960a303a9f5b4...@autistici.org



Re: enabling remote X Window sessions

2014-08-22 Thread Buchs, Kevin J.
Thanks for the comment, Nuno. I only want to run a single X client, so 
XDMCP is not the way to go. My problem is solely getting Xorg to start 
on Debian without the -nolisten tcp argument. On CentOS, this is the 
default and I can run remote X clients without any issues. Since 
switching to Debian, I have been thwarted.


Kevin Buchs   Research Computer Services   Phone: 507-538-5459
Mayo Clinic   200 1st. St SW   Rochester, MN 55905
http://mayoclinic.org  http://facebook.com/MayoClinic  
http://youtube.com/MayoClinic  http://twitter.com/MayoClinic

On 08/21/2014 05:23 PM, Nuno Magalhães wrote:

Search around for XDMCP tutorials.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/27747b$93o...@ironport10.mayo.edu



Re: enabling remote X Window sessions

2014-08-22 Thread John Hasler
Kevin writes:
> Thanks for the comment, Nuno. I only want to run a single X client, so
> XDMCP is not the way to go. My problem is solely getting Xorg to start
> on Debian without the -nolisten tcp argument.

Then why not just use ssh?
https://www.debian.org/doc/manuals/debian-reference/ch07.en.html#_connecting_a_remote_x_client_via_ssh
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/8761hkwt5j@thumper.dhh.gt.org



Re: enabling remote X Window sessions

2014-08-22 Thread Marc SCHAEFER
On Fri, Aug 22, 2014 at 08:10:45AM -0500, Buchs, Kevin J. wrote:
> Thanks for the comment, Nuno. I only want to run a single X client,
> so XDMCP is not the way to go. My problem is solely getting Xorg to
> start on Debian without the -nolisten tcp argument. On CentOS, this
> is the default and I can run remote X clients without any issues.
> Since switching to Debian, I have been thwarted.

A secure way would be to SSH from the X11 server to the client, example:

   x11-server-this-is-the-screen% ssh -X client-where-app-is-started xclock

then xclock displays on the screen, completely safely and security through
SSH.

However, if you really want to open the TCP port 6000 so as to make your
X11 setup insecure, you simply need to modify

   /etc/X11/xinit/xserverrc

and remove the `-nolisten tcp'


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822131901.ga26...@alphanet.ch



Re: enabling remote X Window sessions

2014-08-22 Thread Gian Uberto Lauri
John Hasler writes:
 > Kevin writes:
 > > Thanks for the comment, Nuno. I only want to run a single X client, so
 > > XDMCP is not the way to go. My problem is solely getting Xorg to start
 > > on Debian without the -nolisten tcp argument.
 > 
 > Then why not just use ssh?
 > https://www.debian.org/doc/manuals/debian-reference/ch07.en.html#_connecting_a_remote_x_client_via_ssh

If I got right the problem, Kevin has some VM in a grid that need to
send some graphic output to an X Server, and since they are in a grid
I think he has many of them (this is a problem the shell could fix)
they may change (changing IP and such) and maybe he can't even log on
them (hard to fix with a shell script). Sadly an SSH tunnel is not
the answer. He really need the dear old X11 network transparency.

BTW, Kevin. If I remember well, there should be a file in /etc/X11
where X is started with the -nolisten parameter. Did you check this
and did you remove the option?

-- 
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 già sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87wqa0ljka@mail.eng.it



Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread Sven Hartge
Tony van der Hoff  wrote:
 
> Cron task is invoked from a simple crontab entry:
> # /home/tony/crontab -- crontab for user tony
> MAILTO=t...@vanderhoff.org
> SHELL=/bin/sh
> 
> * * * * *   /home/tony/scripts/test

> tony@tony-fr:~$ ls -al /dev/stdout
> lrwxrwxrwx 1 root root 15 Aug 21 17:30 /dev/stdout -> /proc/self/fd/1

> tony@tony-fr:~$ ls -ald /dev
> drwxr-xr-x 15 root root 3340 Aug 21 17:30 /dev

At least you don't have a multi-gigabyte /dev/stdout-file on your system
filled with the output of numerous scripts from years ago :)

I'd guess /proc/self/fd/1 is different for programs invoked from cron,
because cron redirects stdout to catch any output from programs.

Please add something like this:

  ls -al /proc/self/fd/1 /dev/stdout 2>&1 > /tmp/testoutput

to your script and provide the output. Maybe this will be helpful.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5aua6vrlg...@mids.svenhartge.de



Re: enabling remote X Window sessions

2014-08-22 Thread Reco
 Hi.

On Fri, 22 Aug 2014 08:10:45 -0500
"Buchs, Kevin J."  wrote:

> Thanks for the comment, Nuno. I only want to run a single X client, so 
> XDMCP is not the way to go. My problem is solely getting Xorg to start 
> on Debian without the -nolisten tcp argument. On CentOS, this is the 
> default and I can run remote X clients without any issues. Since 
> switching to Debian, I have been thwarted.

Running a single application remotely is hardly a justification to
running main Xorg in insecure mode.

Have you tried Xephyr (nested X server)?
What about Xtightvnc?

Both of those listen X protocol on tcp by default, and allowing remote
X clients to run is a simple matter of xhost on their DISPLAY.

BTW, which version of CentOS has such horrible defaults? I'd like to
know so to avoid it in the future.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140822180909.4c2733b3971526755c4ac...@gmail.com



Re: enabling remote X Window sessions

2014-08-22 Thread Gian Uberto Lauri
Reco writes:
 >  Hi.
 > 
 > On Fri, 22 Aug 2014 08:10:45 -0500
 > "Buchs, Kevin J."  wrote:
 > 
 > > Thanks for the comment, Nuno. I only want to run a single X client, so 
 > > XDMCP is not the way to go. My problem is solely getting Xorg to start 
 > > on Debian without the -nolisten tcp argument. On CentOS, this is the 
 > > default and I can run remote X clients without any issues. Since 
 > > switching to Debian, I have been thwarted.
 > 
 > Running a single application remotely is hardly a justification to
 > running main Xorg in insecure mode.

If you know what you do you can set up things whith an appropriate level
of security.

Even for a single application if that is what you like.

-- 
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 già sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87vbpklhk3@mail.eng.it



Re: enabling remote X Window sessions

2014-08-22 Thread Buchs, Kevin J.
Thanks for all the replies and suggestions. Though ssh, vnc, remote 
XDMCP, Xephr are all fine for running X clients when there is 
interactive execution of the client by the user, it does not work in my 
case where there is Open Grid Scheduler batch execution. In my case, the 
X client of interest is SAS, but it could be as simple as running 
xclock. SAS needs to run on a remote server, but display locally. I 
can't start it interactively. I'm sorry that many of you don't like the 
constraints and risks under which I need to work, but that doesn't 
remove those constraints.


Previously, I identified the gdm3 configuration file that one can change 
to (supposedly) tell gdm not to run XOrg with -nolisten tcp, though the 
behavior didn't change after I edited the file.


Marc (and Gian hinted at) mentioned that /etc/X11/xinit/xserverrc has 
the "-nolisten tcp" in it. This was as he said. However, editing the 
file did not stop Xorg from getting started with the very same 
parameter. It must be buried in another place, I fear, hardcoded into gdm3.


Brian suggested stopping gdm3 and starting X manually just to see if 
that worked. I did this experiment, logging in from a console (C-A-F1) 
and killing the gdm process. I did this and X was started without the 
-nolisten tcp. It was a partial success. I could run xclock -display 
myhost:0.0, where "myhost" is my local host name. However, from a remote 
server, I could not get it to work. Yes, I know about xhost and had used 
that appropriately.


Kevin Buchs   Research Computer Services   Phone: 507-538-5459
Mayo Clinic   200 1st. St SW   Rochester, MN 55905
http://mayoclinic.org  http://facebook.com/MayoClinic  
http://youtube.com/MayoClinic  http://twitter.com/MayoClinic


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/27747b$93p...@ironport10.mayo.edu



Re: enabling remote X Window sessions

2014-08-22 Thread Erwan David
On Fri, Aug 22, 2014 at 04:09:09PM CEST, Reco  said:
>  Hi.
> 
> On Fri, 22 Aug 2014 08:10:45 -0500
> "Buchs, Kevin J."  wrote:
> 
> > Thanks for the comment, Nuno. I only want to run a single X client, so 
> > XDMCP is not the way to go. My problem is solely getting Xorg to start 
> > on Debian without the -nolisten tcp argument. On CentOS, this is the 
> > default and I can run remote X clients without any issues. Since 
> > switching to Debian, I have been thwarted.
> 
> Running a single application remotely is hardly a justification to
> running main Xorg in insecure mode.

Listeniçng on tcp does NOT mean insecure mode.
see Xsecurity(7)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822144819.gi24...@rail.eu.org



anyone knows this errors ?

2014-08-22 Thread laurent debian

I have this in my syslog and I am wondering what it is
pool[1655]: segfault at 72200 ip 7fa419598200 sp 7fa4149d30c0 
error 4 in libc-2.19.so[7fa41955+19f000]


and
kernel: [  507.759144] perf samples too long (2509 > 2500), lowering 
kernel.perf_event_max_sample_rate to 5
kernel:[ 3696.866261] perf samples too long (5006 > 5000), lowering 
kernel.perf_event_max_sample_rate to 25000



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53f75c8e.3030...@gmail.com



Re: enabling remote X Window sessions

2014-08-22 Thread Gian Uberto Lauri
Buchs, Kevin J. writes:

 > Marc (and Gian hinted at) mentioned that /etc/X11/xinit/xserverrc has 
 > the "-nolisten tcp" in it. This was as he said. However, editing the 
 > file did not stop Xorg from getting started with the very same 
 > parameter. It must be buried in another place, I fear, hardcoded into gdm3.

And like a zombie emerges from its grave to haunt the poor user :)

 > myhost:0.0, where "myhost" is my local host name. However, from a remote 
 > server, I could not get it to work. Yes, I know about xhost and had used 
> that appropriately.
 
SAS = Software As a Service (aka SaaS)?

Is there something  that blocks port 6000 in the  path from the remote
VM  and you?

Could you pass to the remote VM the mit magic cookie to the environment hosting

Did you told the remote programs to use your machine name or your IP?

-- 
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 già sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87tx54lfxj@mail.eng.it



Re: Surprisingly cheap HP 255 G2 laptop; Wheezy possible?

2014-08-22 Thread Steve Litt
On Fri, 22 Aug 2014 09:02:19 +0100
Ron Leach  wrote:

> List, good morning,
> 
> There's an attractive offer in UK for an HP 255 G2 laptop, from Misco:
> 
> http://www.misco.co.uk/product/Q730917/
> 
> and I wondered whether anybody had had good experience running Wheezy 
> on it?  

I haven't had *any* experience running this notebook, but I have a
comment about the price...

It makes me sad that, since my kids went away to college in 2011, the
price of 4GB RAM laptops have remained stagnant. This laptop translates
into $361.32 USD, a price you could get in 2011 if you aggressively
shopped back to school sales, but a price that's gotten harder and
harder to find in the ensuing several years. Today, this is quite a
good price.

This laptop has an adequate 4GB RAM. The 1.5Ghz, four core is obviously
going to be slow on challenging apps, but if you're running lots of not
too CPU-challenging programs, it should be adequate. And adequate is a
great deal for $361, always assuming it will run Linux.

This laptop's A4-5000 processor uses 15 watts. Nice!

Here's some info on the processor:

http://www.notebookcheck.net/AMD-A-Series-A4-5000-Notebook-Processor.92867.0.html

> I had two queries, touchpad, and UEFI,
> 
> Searching revealed that its Synaptics touchpad is causing problems in 
> Ubuntu 14.04 LTS
> 
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1325992
> 
> but I've no idea whether this meant problems were with the Synaptics 
> driver and might occur with Wheezy.  

I'm not good at looking at long listings, and the bug report doesn't
say *why* he suspects this involves the touchpad or what diagnostic
tests he's already performed, but I saw nothing that told me this had
anything to do with the touchpad. If I owned that computer, based on
that printout, my first move would be to de-install compiz, install
LXDE or Xfce, reboot, and log into a LXDE or Xfce, and see whether the
symptom changed. 

> A sort-of assessment for Linux
> on it is here:
> 
> http://www.linux-hardware-guide.com/uk/2014-07-12-hp-255-g2-notebook-15-6-zoll-1-gh
> 
> I've two applications for this machine, one would be text based so
> the touchpad wouldn't be an issue, but the other would employ a
> graphical desktop, and be mounted on the top shelf of a cabinet, so
> an external mouse wouldn't be an option.  So I wondered in particular
> whether anybody had Wheezy on this, and managed to use the touchpad?

I guess you could buy it for the text application, and while you're
setting that up, see whether the touchpad works. I'm betting that if
you don't have compiz and all that junk, you won't have a problem, but
that's pure guess.

> 
> Could I ask about UEFI?  It would, presumably, have a UEFI bios, as 
> well and, while I've seen lots of postings about UEFI on the list, I 
> have never used a UEFI system and didn't really understand what was 
> being said.  Are there still problems with UEFI, or will Wheezy 
> install quite happily on UEFI these days?

No. Getting a Windows/Wheezy dual boot is neither intuitive nor
obvious. And given that your access to warranty depends on your having
a running Windows on the machine, that's a problem during the warranty
period. I see three ways around this:

1) Get *very* good with grub and UEFI and booting and all that stuff,
   so you can Windows/Wheezy dual boot right. I got it wrong, but not
   so wrong that I bricked Windows, and had to install Ubuntu.

2) Install Ubuntu. It detects Windows, detects that Windows is UEFI,
   and just does the right thing (tm). I install Ubuntu on all my
   laptops til they go out of warranty and I don't need their Windows
   anymore.

3) Remove the Windows hard disk, substitute a different hard disk, and
   install Wheezy on *that* hard disk. By the way, unless the new
   hard disk is bigger than 2TB, you can MBR install it if you
   want. Or, you can GUID install with confidence that there's no
   other OS you risk wiping out. Then, if you ever need Windows for
   warranty purposes, you can simply swap back the original hard disk.


SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822110922.4697a...@mydesq2.domain.cxm



Fwd: Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread Tony van der Hoff
sorry - wrong button :(


 Original Message 
Subject: Re: writing to /dev/stdout fails in cron script
Date: Fri, 22 Aug 2014 16:58:20 +0200
From: Tony van der Hoff 
To: Sven Hartge 

On 22/08/14 15:57, Sven Hartge wrote:
> Tony van der Hoff  wrote:
>  
>> Cron task is invoked from a simple crontab entry:
>> # /home/tony/crontab -- crontab for user tony
>> MAILTO=t...@vanderhoff.org
>> SHELL=/bin/sh
>> 
>> * * * * *   /home/tony/scripts/test
> 
>> tony@tony-fr:~$ ls -al /dev/stdout
>> lrwxrwxrwx 1 root root 15 Aug 21 17:30 /dev/stdout -> /proc/self/fd/1
> 
>> tony@tony-fr:~$ ls -ald /dev
>> drwxr-xr-x 15 root root 3340 Aug 21 17:30 /dev
> 
> At least you don't have a multi-gigabyte /dev/stdout-file on your system
> filled with the output of numerous scripts from years ago :)
> 
> I'd guess /proc/self/fd/1 is different for programs invoked from cron,
> because cron redirects stdout to catch any output from programs.
> 
Well, indeed. The output from cron scripts normally goes to mail in this
case. I'm rather hoping that is where the output from stdout would go.

> Please add something like this:
> 
>   ls -al /proc/self/fd/1 /dev/stdout 2>&1 > /tmp/testoutput
> 
> to your script and provide the output. Maybe this will be helpful.
> 
lrwxrwxrwx 1 root root 15 Aug 21 17:30 /dev/stdout -> /proc/self/fd/1
l-wx-- 1 tony tony 64 Aug 22 16:39 /proc/self/fd/1 -> /tmp/testoutput

Not sure how that helps :(

Thanks, Sven.
-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53f75cd3.6060...@vanderhoff.org



Re: anyone knows this errors ?

2014-08-22 Thread Florent Peterschmitt
Hi,

I had almost the same problem of segfault with my machine, after I
changed the RAM.

You should run a memtest, then try to cleanup your RAM and slots, the
re-run the memtest.

You can also connect one memory module and run memtest on each one.

For me, I think I had some dust of bad contacts in slots. (it's a quite
old hardware so…)

Le 22/08/2014 17:06, laurent debian a écrit :
> I have this in my syslog and I am wondering what it is
> pool[1655]: segfault at 72200 ip 7fa419598200 sp 7fa4149d30c0
> error 4 in libc-2.19.so[7fa41955+19f000]
> 
> and
> kernel: [  507.759144] perf samples too long (2509 > 2500), lowering
> kernel.perf_event_max_sample_rate to 5
> kernel:[ 3696.866261] perf samples too long (5006 > 5000), lowering
> kernel.perf_event_max_sample_rate to 25000
> 
> 

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
http://florent.peterschmitt.fr |  * Send PDF for documents.
Proudly powered by FLOSS   |  * Trim your quotations. Really.
   | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: Surprisingly cheap HP 255 G2 laptop; Wheezy possible?

2014-08-22 Thread Lisi Reisz
On Friday 22 August 2014 16:09:22 Steve Litt wrote:
> It makes me sad that, since my kids went away to college in 2011, the
> price of 4GB RAM laptops have remained stagnant. This laptop translates
> into $361.32 USD, a price you could get in 2011 if you aggressively
> shopped back to school sales

Not in the UK you couldn't.  You have to believe Ron - I'll back him up - this 
laptop is surprisingly cheap in this country.

Many things have their prices bumped up here.  For years it was far cheaper to 
travel to buy a car in mainland Europe as a special order and ship it over 
here than buy one here.  And as for software (you look at download prices for 
the UK as opposed to the USA) and IT, there is a huge extra premium for 
living here.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/201408221626.41504.lisi.re...@gmail.com



Re: enabling remote X Window sessions

2014-08-22 Thread Buchs, Kevin J.

SAS as in http://www.sas.com - confusing.

When I do a nmap scan of port 6000 on my machine from the remote one it 
reports the Host is up, so I don't think it is blocked. I've used host 
name and IP address to the same effect when trying to run the X clients 
on the remote host.


I might be able to use some other authentication mechanism, like magic 
cookie, but I would prefer to use the traditional X network connection. 
See, I'm a sysadmin working on developing the code for other users to do 
the same thing, though they may not be using Debian, but more likely 
using X-Win32 from Microsoft Windows. It has to just work for them, so I 
would like to develop/test the same configuration on my desktop. There 
are other times where I need to do similar display of remote X clients 
for other purposes. All I want back is my old insecure way of doing 
things, when I knowingly authorize it, like I had under CentOS. But, I'm 
not going back to CentOS.


I did find several of the executables in /usr/lib/gdm3/ have strings of 
"-nolisten" and "tcp" as well as other tell-tale evidence that suggest 
the parameter may be hard-coded. I might have to dig into the source next.


Kevin Buchs   Research Computer Services   Phone: 507-538-5459
Mayo Clinic   200 1st. St SW   Rochester, MN 55905
http://mayoclinic.org  http://facebook.com/MayoClinic  
http://youtube.com/MayoClinic  http://twitter.com/MayoClinic

On 08/22/2014 10:09 AM, Gian Uberto Lauri wrote:

Buchs, Kevin J. writes:

  > Marc (and Gian hinted at) mentioned that /etc/X11/xinit/xserverrc has
  > the "-nolisten tcp" in it. This was as he said. However, editing the
  > file did not stop Xorg from getting started with the very same
  > parameter. It must be buried in another place, I fear, hardcoded into gdm3.

And like a zombie emerges from its grave to haunt the poor user :)

  > myhost:0.0, where "myhost" is my local host name. However, from a remote
  > server, I could not get it to work. Yes, I know about xhost and had used

that appropriately.
  
SAS = Software As a Service (aka SaaS)?


Is there something  that blocks port 6000 in the  path from the remote
VM  and you?

Could you pass to the remote VM the mit magic cookie to the environment hosting

Did you told the remote programs to use your machine name or your IP?




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/27747b$93p...@ironport10.mayo.edu



Re: upgrade stuck (and machine too)

2014-08-22 Thread niff
On Fri, 22 Aug 2014 07:47:43 +0200
Jochen Spieker  wrote:

> To me it looks like systemd is unable to start any service, maybe
> because of the missing/unconfigured libpam-systemd. I would probably
> try to dpgk --force-depends libpam-systemd or something like that. But
> I am just guessing.

Well, wrong guess for 2 reasons: 'dpgk' is not a known program ;) and
more seriously, forcing even all in dpkg didn't work.

I downgraded dpkg to the -1 version (bugreport say there's problem
with symlink path), then tried to force dbus install (-1 version)
without success:

# dpkg --force-all -i dbus_1.8.6-1_i386.deb 
(Reading database ... 446321 files and directories currently installed.)
Preparing to unpack dbus_1.8.6-1_i386.deb ...
Unpacking dbus (1.8.6-1) over (1.8.6-1) ...
Setting up dbus (1.8.6-1) ...
Job for dbus.service canceled.
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing package dbus (--install):
 subprocess installed post-installation script returned error exit
status 1 Errors were encountered while processing:
 dbus


Now I really see why many people are ranting against systemd; I had
several pkg problems in the past, but I never was completely stucked.

From the point I see it, this shit is gonna push me to reinstall!
Gd work systemd, you're drawing Linux down almost to the windows
level:(((


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822173439.6af52b52@msi.defcon1



Re: Surprisingly cheap HP 255 G2 laptop; Wheezy possible?

2014-08-22 Thread niff
On Fri, 22 Aug 2014 09:02:19 +0100
Ron Leach  wrote:

good morevening,
 
> There's an attractive offer in UK for an HP 255 G2 laptop, from Misco:
> 
> http://www.misco.co.uk/product/Q730917/

As the others, I'd say "there's a wolf" (fr expression to show that
something's very wrong), look at the price at amazon UK:
http://www.amazon.co.uk/gp/product/B00IG51JA6?*Version*=1&*entries*=0

misco:  261.60 inc VAT
amazon: 403.17 inc VAT

that's an almost… 65% difference! In IT world, this doesn't exist, except
if the computer has been reconditioned 2-3 times and is shipped without
warranty - but it is not mentioned (in fr, it is strictly forbidden to
hide such information; in UK, I don't know).

That also may be a typo; here, laws would force the saler to honor the
publicized price, in UK, once again I don't know.

Take your chances (or risks:)


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822174835.0c9f4245@msi.defcon1



Re: enabling remote X Window sessions

2014-08-22 Thread Reco
On Fri, 22 Aug 2014 16:48:19 +0200
Erwan David  wrote:

> > Running a single application remotely is hardly a justification to
> > running main Xorg in insecure mode.
> 
> Listeniçng on tcp does NOT mean insecure mode.
> see Xsecurity(7)

First,

$ man 7 Xsecurity
No manual entry for Xsecurity in section 7

Second, can you please evaluate how exactly XSECURITY extension
prevents a rogue X client from intercepting all keyboard and mouse input
that comes to the X server?

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140822195819.8e35a6a21f6aedb22c9d6...@gmail.com



Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread Sven Hartge
Tony van der Hoff  wrote:
> On 22/08/14 15:57, Sven Hartge wrote:
>> Tony van der Hoff  wrote:
>>  
>>> Cron task is invoked from a simple crontab entry:
>>> # /home/tony/crontab -- crontab for user tony
>>> MAILTO=t...@vanderhoff.org
>>> SHELL=/bin/sh
>>> 
>>> * * * * *   /home/tony/scripts/test
>> 
>>> tony@tony-fr:~$ ls -al /dev/stdout
>>> lrwxrwxrwx 1 root root 15 Aug 21 17:30 /dev/stdout -> /proc/self/fd/1
>> 
>>> tony@tony-fr:~$ ls -ald /dev
>>> drwxr-xr-x 15 root root 3340 Aug 21 17:30 /dev
>> 
>> At least you don't have a multi-gigabyte /dev/stdout-file on your system
>> filled with the output of numerous scripts from years ago :)
>> 
>> I'd guess /proc/self/fd/1 is different for programs invoked from cron,
>> because cron redirects stdout to catch any output from programs.
>> 
> Well, indeed. The output from cron scripts normally goes to mail in this
> case. I'm rather hoping that is where the output from stdout would go.

If you want to have an output which is selectable between debug and
no-debug output it would be better to write a small shell function and
use that instead of "echo" to print things. Much more flexible, you can
even easily add a timestamp on front of every messagen etc.

>> Please add something like this:
>> 
>>   ls -al /proc/self/fd/1 /dev/stdout 2>&1 > /tmp/testoutput
>> 
>> to your script and provide the output. Maybe this will be helpful.
>> 
> lrwxrwxrwx 1 root root 15 Aug 21 17:30 /dev/stdout -> /proc/self/fd/1
> l-wx-- 1 tony tony 64 Aug 22 16:39 /proc/self/fd/1 -> /tmp/testoutput

> Not sure how that helps :(

No, but this was my fault. "/proc/self/fd/1" is magic, it always points
to the stdout of current program. If you redirect it, like I asked you
to do, then of course /proc/self/fd/1 points to the new target.

So please only use "ls -al /proc/self/fd/1 /dev/stdout" and paste the
output from the mail you get.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/7auae9alg...@mids.svenhartge.de



Re: enabling remote X Window sessions

2014-08-22 Thread Reco
On Fri, 22 Aug 2014 10:28:07 -0500
"Buchs, Kevin J."  wrote:

> SAS as in http://www.sas.com - confusing.
> 
> When I do a nmap scan of port 6000 on my machine from the remote one it 
> reports the Host is up, so I don't think it is blocked. I've used host 
> name and IP address to the same effect when trying to run the X clients 
> on the remote host.

Try it this way:

1) Run (should listen tcp:6001)

Xephyr :1

2) Set up port redirection:

iptables -t nat -A PREROUTING -p tcp --dport 6001 \
-j REDIRECT --to-ports 6000


> I did find several of the executables in /usr/lib/gdm3/ have strings of 
> "-nolisten" and "tcp" as well as other tell-tale evidence that suggest 
> the parameter may be hard-coded. I might have to dig into the source next.

Have you considered replacing gdm3 with something with more
configuration options? Like lightdm, for example.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140822201428.840b9c5a1d3d7ec4a7954...@gmail.com



Re: enabling remote X Window sessions

2014-08-22 Thread Reco
On Fri, 22 Aug 2014 16:34:04 +0200
"Gian Uberto Lauri"   wrote:

> Reco writes:
>  > Running a single application remotely is hardly a justification to
>  > running main Xorg in insecure mode.
> 
> If you know what you do you can set up things whith an appropriate level
> of security.
> 
> Even for a single application if that is what you like.

Unsure whenever I catch the meaning of your sentence.
If you meant 'one needs to run a remote application via X protocol, so
one should prepare own X accordingly' - one can authorize X client in
his X server, but that's it. After authentication X client can do
anything with any other X client on the same display.
If you meant 'what'd you do in this situation' - I'd run dedicated X
server just for this task and just for this application.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140822200830.a64b547b98845d7dd7ef0...@gmail.com



Re: anyone knows this errors ?

2014-08-22 Thread Reco
 Hi.

On Fri, 22 Aug 2014 11:06:54 -0400
laurent debian  wrote:

> I have this in my syslog and I am wondering what it is
> pool[1655]: segfault at 72200 ip 7fa419598200 sp 7fa4149d30c0 
> error 4 in libc-2.19.so[7fa41955+19f000]

Some binary received SIGSEGV signal. There're many reasons behind this,
most of them usually boil down to the quality of source code and
correctness of it.
Usual way of dealing with these is to install debug symbols for the
appropriate package and gdb, produce a core dump from the crash, use
gdb to make a backtrace from the package and fill a bug report against
a package.


> and
> kernel: [  507.759144] perf samples too long (2509 > 2500), lowering 
> kernel.perf_event_max_sample_rate to 5
> kernel:[ 3696.866261] perf samples too long (5006 > 5000), lowering 
> kernel.perf_event_max_sample_rate to 25000

It's harmless - see [1] comment 7.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1013708

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140822202015.aa0b6fb654e3ffb43e61f...@gmail.com



Re: upgrade stuck (and machine too)

2014-08-22 Thread Jochen Spieker
niff:
> On Fri, 22 Aug 2014 07:47:43 +0200
> Jochen Spieker  wrote:
> 
>> To me it looks like systemd is unable to start any service, maybe
>> because of the missing/unconfigured libpam-systemd. I would probably
>> try to dpgk --force-depends libpam-systemd or something like that. But
>> I am just guessing.
> 
> Well, wrong guess for 2 reasons: 'dpgk' is not a known program ;) and
> more seriously, forcing even all in dpkg didn't work.

Did you only try to force dbus or libpam-systemd as well? I still think
the fact that you cannot start any services is related to systemd. I
just looked up whether you can start a service verbosely with systemctl
but that doesn't appear to be the case.

I don't know much about systemd either. It happened to work mostly fine
on my system. If I were you I would consider opening a bug report
against one of the packages that are involved. Don't worry about picking
the wrong package. The maintainers will reassign how they see fit.

J.
-- 
I have never been happier than I am now; a fact which depresses me
immensely.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Surprisingly cheap HP 255 G2 laptop; Wheezy possible?

2014-08-22 Thread Andrew M.A. Cater
On Fri, Aug 22, 2014 at 11:09:22AM -0400, Steve Litt wrote:
> On Fri, 22 Aug 2014 09:02:19 +0100
> Ron Leach  wrote:
> 
> > List, good morning,
> > 
> > There's an attractive offer in UK for an HP 255 G2 laptop, from Misco:
> > 
> > http://www.misco.co.uk/product/Q730917/
> > 
> > and I wondered whether anybody had had good experience running Wheezy 
> > on it?  
> 

At least one HP 255 G1 laptop is available from ebuyer.com already running 
Ubuntu for £199 and there's the Windows version for £237

Shouldn't be a problem,

AndyC


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822163925.ga5...@galactic.demon.co.uk



Re: Surprisingly cheap HP 255 G2 laptop; Wheezy possible?

2014-08-22 Thread Joe
On Fri, 22 Aug 2014 17:48:35 +0200
niff  wrote:

> On Fri, 22 Aug 2014 09:02:19 +0100
> Ron Leach  wrote:
> 
> good morevening,
>  
> > There's an attractive offer in UK for an HP 255 G2 laptop, from
> > Misco:
> > 
> > http://www.misco.co.uk/product/Q730917/
> 
> As the others, I'd say "there's a wolf" (fr expression to show that
> something's very wrong), look at the price at amazon UK:
> http://www.amazon.co.uk/gp/product/B00IG51JA6?*Version*=1&*entries*=0
> 
> misco:  261.60 inc VAT
> amazon: 403.17 inc VAT
> 
> that's an almost… 65% difference! In IT world, this doesn't exist,
> except if the computer has been reconditioned 2-3 times and is
> shipped without warranty - but it is not mentioned (in fr, it is
> strictly forbidden to hide such information; in UK, I don't know).
> 
> That also may be a typo; here, laws would force the saler to honor the
> publicized price, in UK, once again I don't know.
> 
> Take your chances (or risks:)
> 
> 

I bought a 255G1 about six months ago for £263.

Here's a G2 for £220 inc VAT. There are a lot of processor options, and
quite a price range for the same basic machine.

http://www.ebuyer.com/636132-hp-255-g2-laptop-f7x83ea-abu

They're not amazingly powerful and the screen resolution isn't great,
but if those are adequate then it seems to be a good buy. I needed a
cheap Windows laptop to replace an eight-year-old Acer (the cheapest
available then, and still over £400) when XP was finally put down. I
use some proprietary hardware and software which doesn't do Linux.

I couldn't be bothered messing about with dual boot, so I carry a
pocket USB hard drive containing a sid installation, and also have a
sid on a VM in Windows. I use the latter for Linux-only software, and
the former for using public wi-fi.

-- 
Joe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822180528.4ee83...@jresid.jretrading.com



Re: Surprisingly cheap HP 255 G2 laptop; Wheezy possible?

2014-08-22 Thread Steve Litt
On Fri, 22 Aug 2014 16:26:41 +0100
Lisi Reisz  wrote:

> On Friday 22 August 2014 16:09:22 Steve Litt wrote:
> > It makes me sad that, since my kids went away to college in 2011,
> > the price of 4GB RAM laptops have remained stagnant. This laptop
> > translates into $361.32 USD, a price you could get in 2011 if you
> > aggressively shopped back to school sales
> 
> Not in the UK you couldn't.  You have to believe Ron - I'll back him
> up - this laptop is surprisingly cheap in this country.
> 
> Many things have their prices bumped up here.  For years it was far
> cheaper to travel to buy a car in mainland Europe as a special order
> and ship it over here than buy one here.  And as for software (you
> look at download prices for the UK as opposed to the USA) and IT,
> there is a huge extra premium for living here.
> 
> Lisi

That's a shame, I didn't know that, and am sorry to hear that. All the
more reason for the OP to buy this computer: It would have been a good
deal in the US (or at least in Orlando, FL, USA).

http://www.misco.co.uk/product/Q730917/

I'm copying my buddy Joseph, who lives in England and keeps his
computers a long, long time due to cost. Now I understand his
motivation.

Lisi, in the US they have "garage sales", where homeowners put stuff
for sale on their front lawns. I've bought desktop computers, good
enough to run Debian/LXDE, for $3.00 to $20.00 USD in these garage
sales. Can you get similar deals on private-sale used desktops in the
UK?

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822130801.51e46...@mydesq2.domain.cxm



Re: enabling remote X Window sessions

2014-08-22 Thread Gian Uberto Lauri
> "R" == Reco   writes:

R> On Fri, 22 Aug 2014 16:34:04 +0200 "Gian Uberto Lauri"
R>  wrote:

>> Reco writes: > Running a single application remotely is hardly a
>> justification to > running main Xorg in insecure mode.
>> 
>> If you know what you do you can set up things whith an appropriate
>> level of security.
>> 
>> Even for a single application if that is what you like.

My fault. "you" should have been "he/she"

--
 /\   ___Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_   African word
  //--\| | \|  |   Integralista GNUslamicomeaning "I can
\/ coltivatore diretto di software   not install
 gi? sistemista a tempo (altrui) perso...Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/21495.31571.505437.311...@cyrano.gianoziaorientale.it



system-config-printer

2014-08-22 Thread Ric Moore
... is filling up my system log with errors, a LOT of them. According to 
here:

https://bugzilla.redhat.com/show_bug.cgi?id=1090479

...so others are seeing it as well. I'm running Jessie, and the version 
of system-config-printer installed is 1.4.3-4


Is it something I need when I use the cups web frontend?
Ric


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53f79615.7030...@gmail.com



Re: upgrade stuck (and machine too)

2014-08-22 Thread Ric Moore

On 08/22/2014 11:34 AM, niff wrote:


 From the point I see it, this shit is gonna push me to reinstall!
Gd work systemd, you're drawing Linux down almost to the windows
level:(((


Are you using Wheezy or Jessie or Sid??

Nonetheless, if Debian devels are unpaid, with no stock options, with no 
retirement plans, etc., I wouldn't take a warm whiz on their shoes and 
relate or compare their efforts to Windows, even when angry. :) Ric




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53f7966b.8080...@gmail.com



Re: upgrade stuck (and machine too)

2014-08-22 Thread Bzzzz
On Fri, 22 Aug 2014 18:26:47 +0200
Jochen Spieker  wrote:

> Did you only try to force dbus or libpam-systemd as well?

Yep, no success though.

> I still think
> the fact that you cannot start any services is related to systemd. I
> just looked up whether you can start a service verbosely with systemctl
> but that doesn't appear to be the case.

No, I just tried to: systemctl start haveged.service after a successful
stop, but it didn't work: Job for haveged.service canceled.

> I don't know much about systemd either. It happened to work mostly fine
> on my system. If I were you I would consider opening a bug report
> against one of the packages that are involved. Don't worry about
> picking the wrong package. The maintainers will reassign how they see
> fit.

The problem might be tied to my configuration (HW & SW) as I don't see
other people writing about it.

I'm gonna send a  bug report as you avise.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822211949.3e7a481f@msi.defcon1



Re: upgrade stuck (and machine too)

2014-08-22 Thread Bzzzz
On Fri, 22 Aug 2014 15:13:47 -0400
Ric Moore  wrote:

> Are you using Wheezy or Jessie or Sid??

Trudububu (kidding), I'm using sid.
 
> Nonetheless, if Debian devels are unpaid, with no stock options, with
> no retirement plans, etc., I wouldn't take a warm whiz on their shoes
> and relate or compare their efforts to Windows, even when angry. :) Ric

This wasn't that kinda rant I had; may be it's a wrong feeling, but 
I think pkgs have a tendency to drift toward alpha instead of beta
stage more than before.

But you're right, this does nothing for my problem.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822213028.74a424d3@msi.defcon1



Re: system-config-printer

2014-08-22 Thread AW
On Fri, 22 Aug 2014 15:12:21 -0400
Ric Moore  wrote:

 > Is it something I need when I use the cups web frontend?

I believe you can safely remove system-config-printer and use the cups web
interface on port 631 instead.  Although you may have issues with reverse
depends:

Reverse Depends: 
  task-xfce-desktop
  task-lxde-desktop
  task-kde-desktop
  print-manager
  hplip
  gnome-control-center
  education-desktop-xfce
  cups-pdf

--Andrew


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140822154039.02a79cd141b104af6615c...@1024bits.com



Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread Karl E. Jorgensen
Hi

On Fri, Aug 22, 2014 at 11:23:37AM +0200, Tony van der Hoff wrote:
> Hi,
> 
> Running up-to-date Wheezy.
> 
> I have a script, simplified like this:
> 
> -
> #!/bin/bash
> DEBUG=1
> 
> OUT=/dev/null
> 
> if [ $DEBUG -ne 0 ]; then
>   OUT=/dev/stdout
> fi
> 
> echo hello > $OUT
> -
> 
> This works fine when invoked from the command line, but when called as a
> cron task, same user, it fails with
> /home/tony/scripts/test: line 10: /dev/stdout: Permission denied
> 
> Any suggestions on how to fix this, please?

Short version: Don't do it. At least not this way.

I suspect that the crontab entry is your own - or alternatively an
/etc/cron.d/* file which specifies a non-root user - is that correct?

If so, the error message makes sense - you have to take into account
how cron works: cron will create an empty temporary file to capture
the stdout/stderr or whatever it runs (because it will be emailed to
you).  And stderr/stdout will be redirected to this file *before* it
drops its privileges.  So this temporary file will be owned by root.
And the permissions on the file ensure it is only writeable by root
(and probably only readable by root, as somebody might expect the
output to be private).

So when your script starts, its stdout has already been opened for
it.  Remember that file permissions are only checked at the time the
file is opened - not subsequently.

But when you come along and do a :
echo SomeDebug > /dev/stdout

that has to open the file again. Which then fails, because your script
is not root, and the file is only writeable by root.

Try this as an experiment to illustrate the point. Imagine this shell script:


#!/bin/sh
# contents of /tmp/somescript
echo normal echo
echo bad echo > /tmp/somefile
echo final echo

and then (as root! - I assume you have sudo installed):

# umask 077
# rm /tmp/somefile
# sudo -u SomeNonRootUser sh /tmp/somescript > /tmp/somefile

and you'll end up with:

/tmp/somescript: 4: /tmp/somescript: cannot create /tmp/somefile: Permission
denied

But the file will contain:
# cat /tmp/somefile
normal echo
final echo

In your case, he solution for switching debugging on/off is probably
changing the way you do things: Instead of writing to /dev/null when
debugging is off, simply do not perform debugging if it is off!
(writing to /dev/null is a waste of resources anyway)

A little shell function like this will do the trick:

debug()
{
  if [ $DEBUG -ne 0 ]; then
echo "$@"
  fi
}

so you script can use "debug" the same way it uses echo.

Hope this helps.

-- 
Karl E. Jorgensen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822205336.GA6480@hawking



Re: enabling remote X Window sessions

2014-08-22 Thread Buchs, Kevin J.

Reco,

I tried Xephr as you suggested. It seems to get around the -nolisten tcp 
choice. Since I will have to specify the display for the remote X 
client, I won't have to map the port, but can just use myhost:1.0 for 
DISPLAY. I got xclock -display myhost:1.0 working from myhost. Thanks 
for pointing out this option. I am still stuck, however, on the remote X 
traffic not getting through to my box.


I'm seeing in kern.log logging of access to port 6000, etc. as I am 
testing from a remote host. It is not rejecting it as far as I can tell. 
I used to know something about ipchains, but I will have to brush up to 
understand what I see from iptables -L to determine if traffic is being 
deflected. At first glance, it looked clean, however.


You asked to which version of CentOS I was referring: it is 6.5, the 
latest version. Honestly, having been involved in computing since the 
first days of X-Window, I can't think of another case where I observed 
the X server locked down. It was always left to the user to control with 
xhost and the default for that was closed. This behavior with Debian is 
totally new to me. Even my former use of earlier versions of Ubuntu I 
knew did not have things locked down.


I have not considered lightdm previously, so I'll have to look into it.

Kevin Buchs   Research Computer Services   Phone: 507-538-5459
Mayo Clinic   200 1st. St SW   Rochester, MN 55905
http://mayoclinic.org  http://facebook.com/MayoClinic  
http://youtube.com/MayoClinic  http://twitter.com/MayoClinic

On 08/22/2014 11:14 AM, Reco wrote:
Try it this way: 1) Run (should listen tcp:6001) Xephyr :1 2) Set up 
port redirection: iptables -t nat -A PREROUTING -p tcp --dport 6001 \ 
-j REDIRECT --to-ports 6000

I did find several of the executables in /usr/lib/gdm3/ have strings of
"-nolisten" and "tcp" as well as other tell-tale evidence that suggest
the parameter may be hard-coded. I might have to dig into the source next.

Have you considered replacing gdm3 with something with more
configuration options? Like lightdm, for example.

Reco





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/9025b1$ibj...@ironport9.mayo.edu



How to install qt5 on Wheezy, and is that even a good idea?

2014-08-22 Thread Steve Litt
Hi all,

Normally, I use the packages given me by a distro. I don't like to gum
things up. And because I use Linux for my everyday business, my
priority is stability, so of course I use Wheezy.

Unfortunately, one program that might be mission critical to my
business, Sigil, now requires qt5 to compile, and of course Wheezy
doesn't have a qt5 package.

What would be the best way I could install qt5 on my Wheezy without
borking everything else that depends on qt4? Also, if I have to use
Jessie repositories, how can I set it so the only software from Jessie
I use is qt5 and its dependencies? To the extent possible, I want my
system to be Wheezy, not Jessie.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140822194101.7109e...@mydesq2.domain.cxm



sysvinit->systemd transition details

2014-08-22 Thread Alexandre Ferrieux
Hello,

I have a Jessie-based system, which up to the last upgrade used sysvinit of 
course, and where I had added sysv-rc-conf, and was happily juggling with a few 
runlevels.

But after an upgrade (still in Jessie), systemd rules. No problem about this, 
but what degree of compatibility should I expect ? Specifically, is there some 
automated mechanism that would:

 - extract initdefault from inittab and do a "systemctl set-default 
runlevelX.target"

 - scan /etc/rcX.d and do the appropriate "systemctl enable" for all S scripts

If the answer is "no", why is sysv-rc-conf still tolerated under systemd ?

-Alex


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/70e5a101-a1cb-4a1e-95bc-aaddefa8b...@googlegroups.com



Re: How to install qt5 on Wheezy, and is that even a good idea?

2014-08-22 Thread Jimmy Johnson

Steve Litt wrote:

Hi all,

Normally, I use the packages given me by a distro. I don't like to gum
things up. And because I use Linux for my everyday business, my
priority is stability, so of course I use Wheezy.

Unfortunately, one program that might be mission critical to my
business, Sigil, now requires qt5 to compile, and of course Wheezy
doesn't have a qt5 package.

What would be the best way I could install qt5 on my Wheezy without
borking everything else that depends on qt4? Also, if I have to use
Jessie repositories, how can I set it so the only software from Jessie
I use is qt5 and its dependencies? To the extent possible, I want my
system to be Wheezy, not Jessie.



Somebody correct me if I'm wrong..For years I have been installing 
different packages, they use different names and I have seen no 
problems, I use gdebi-gtk to do the installs.  As far as I know the only 
app that is going to use the package I installed is the app that 
requires that package.  So it seems to me that installing gt5 is a safe 
move if it's needed by the app you want to use.

--
Jimmy Johnson

Debian-Live - Wheezy - KDE 4.8.4 - AMD64 - EXT4 at sda1
Registered Linux User #380263


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/53f81d09.9010...@gmail.com