Re: [Dorset] Remote Desktop to a Raspberry Pi
So whats wrong with ssh on its own, or if need a gui x11 tunnelled over ssh to an x-server on the remote? On Sat, 18 Apr 2015 at 16:59, Terry Coles d-...@hadrian-way.co.uk wrote: Hi, I retired on Friday :-) To give myself something to do, I decided to get one of the new Raspberry Pis (the Pi 2), with the intention of picking up on learning Python where I left off some time ago. (The intention being that I would have something to use that would be a bit more 'physical' than the last time I did it.) However, before I could start anything serious, I wanted to sort out remote access, so that I could program on the Pi while still having full access to my normal machine - without resorting to a KVM Switch. I thought about using VNC, but my experience on Windows lead me towards Remote Desktop because it is more responsive. I installed it, it worked, I shut down the Pi, it no longer works. Here is what I did: On the Pi which is running Raspbian: sudo apt-get update sudo apt-get install xrdp After processing, I got a message to say that xrdp had been successfully installed and started. On this box, which is running Kubuntu: I Opened KRDC ( a VNC/RDP client) and typed in the IP address of the Pi. After a brief login dialog, including a request for the password, I was in. On the Pi: Reconfigured Raspbian to boot straight into the desktop instead of the shell. Restarted. Waited until the Pi was booted again. On this box: Tried to login to the Pi again using KRDC see http://www.hadrian-way.co.uk/Misc/My_Control_Panel1.png.[1] I then got _http://www.hadrian-way.co.uk/Misc/My_Control_Panel1.png_ (no request for a password). I then got _http://www.hadrian-way.co.uk/Misc/My_Control_Panel2.png_ and _ http://www.hadrian-way.co.uk/Misc/My_Control_Panel3.png._ The last screenshot shows the error. I then logged into the Pi with SSH, and proved that xrdp is running see _http://www.hadrian-way.co.uk/Misc/My_Control_Panel4.png_ I get the same result from a Windows box and this time I did have to type the password. If I reconnect the mouse, keyboard and monitor to the Pi, the desktop is still running, so what gives? -- Terry Coles [1] http://www.hadrian-way.co.uk/Misc/My_Control_Panel1.png -- Next meeting: Bournemouth, Tuesday, 2015-05-05 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR -- Next meeting: Bournemouth, Tuesday, 2015-05-05 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR
Re: [Dorset] Social Networking in a Corporate Environment
Hi We've used Socialcast and Salesforce's Chatter, both are externally hosts (ie cloud) but both work quite well. Depends on how deep your pockets are and if you're already using Salesforce or not. -- Martin Hepworth, CISSP Oxford, UK On 30 September 2014 15:50, d-...@hadrian-way.co.uk d-...@hadrian-way.co.uk wrote: On 30 September 2014 at 15:30 Andrew Montgomery-Hurrell darkliq...@darkliquid.co.uk wrote: If they already use Microsoft Office (and especially if they already subscribe to Office 365) then Yammer is a service that is specifically designed to be a corporate social network at the Office 365 Mid-Size Business tier. I've never used it though and naturally it's a service, not something you can run yourself on your own hardware. We are looking for a solution that can be hosted within our Corporate network, preferably on Linux servers. I've had some brief exposure to Atlassians Confluence software, which you can buy to self-host or pay for monthly per user as a service and it seems pretty good, though like all things it has a bit of a learning curve. I've only barely used it though, so can't say much about it other than people I work with have given it very high praise. It's probably better if you buy into the rest of Atlassian's suite of tools like Jira and Hipchat, etc but by itself I don't imagine it's too bad. I don't think having to pay is the issue; it's about having it hosted on our network. Speaking of Hipchat, that might actually fit the bill. It's basically an IRC style private chatroom client, but depending on the plans you get (and you can even use it for free with unlimited users if I recall) when you attach images or files to messages, they stay in the system so they can be referred back to, at least for a time. If what they need is something more real-time rather than a long-term document storage/sharing system, then that might work out well for them. I use hipchat extensively at work for communicating with my team, sharing files, talking to clients, holding meetings, etc and find I rarely use anything else for sharing things, getting feedback or collaborating on projects. I can highly recommend it, and since you can trial it for free, if it sounds like it might fit the bill, I'd encourage you to investigate it. We also use their dev API to feed in info from our various monitoring tools for servers, software builds, support tickets, etc so it acts a company-wide notification system as well as shared communications platform. Thanks for the ideas. We will be investigating all of them. Anyone come across Zimbra (http://www.zimbra.com/)? Terry Coles -- Next meeting: Bournemouth, Tuesday, 2014-10-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue -- Next meeting: Bournemouth, Tuesday, 2014-10-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] BASH security vulnerability
Centos/RH fix not 100% complete and you'll have to do this again. also check if your web servers are running cgi scripts as bash scripts this is a bigger problem in general as it's prone to alsorts of abuse -- Martin Hepworth, CISSP Oxford, UK On 25 September 2014 13:30, Paul Stenning p...@sp-tech.co.uk wrote: Hi all, Please be aware of a serious security vulnerability that has been discovered in BASH. I received notification of this from a web hosting company I use regarding CentOS but it applies to all Linux distros. Please update ASAP, especially web servers etc. Below is the message they sent to all customers which contains more info. Paul Hello, This message is being sent in order to make you aware of a recently discovered serious security vulnerability within the BASH shell environment which exists on almost every Linux-based server. The severity of this vulnerability is high, with multiple exploit vectors which may not require any level of privileged access to the system. We are taking this unusual step of emailing all customers directly, because of the wide reaching impact. Vendor updates have been released for all Redhat Enterprise Linux, CentOS and CloudLinux distributions. ** All UKDedicated managed servers will be automatically updated ** If your servers are unmanaged, then is absolutely essential that you ensure your servers are fully updated. Use the yum package manager to update and protect against exploitation of this vulnerability. To ensure all packages on your systems are fully updated, run the following command from a root SSH session: yum -y update This will update all packages on your system without further prompts. You must maintain your SSH session for the duration of the update. If you only wish to update the bash packages: yum -y update bash Again, this will update without further prompts. You must maintain your SSH session for the duration of the update. If you run cPanel, and are not familiar with the command line process, you can use the ‘Update System Software’ function in WHM to update all packages. Updating packages is all that is required, you do not need to reboot your server. Please note that in all of the above examples, if your server has already updated itself automatically then you will be told that no updates are available - this is an indication that you are already updated. If you wish to ensure you have the updated package then please check the package version from a root SSH session using: rpm -q bash The updated version depends on the operating system you’re running, details of the updated packages for CentOS versions are below: CentOS-5: bash-3.2-33.el5.1 CentOS-6: bash-4.1.2-15.el6_5.1 CentOS-7: bash-4.2.45-5.el7_0.2 For further reading, please see: https://securityblog.redhat.com/2014/09/24/bash-specially- crafted-environment-variables-code-injection-attack/ At the time of writing this website was intermittently offline, you can see a cached version via Google cache: http://webcache.googleusercontent.com/search?q=cache:https://securityblog. redhat.com/2014/09/24/bash-specially-crafted-environment- variables-code-injection-attack/ If you have any questions regarding this notification, please emailhelpd...@support.ukdedicated.com Regards, UKDedicated Support -- *Paul Stenning* SP Technology Box 170, 89 Commercial Road, Bournemouth, BH2 5RR p...@sp-tech.co.uk mailto:p...@sp-tech.co.uk www.sp-tech.co.uk http://www.sp-tech.co.uk /Before printing, please consider the environment./ *Confidentiality* This email and its attachments (if any) are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error, then delete them from your computer immediately. *Security Warning* Please note that this email has been created in the knowledge that email is not a 100% secure communications medium. We advise that you understand and observe this lack of security when emailing us. *Viruses* Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are virus free. -- Next meeting: Bournemouth, Tuesday, 2014-10-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue -- Next meeting: Bournemouth, Tuesday, 2014-10-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Using the host file
Also make sure 'file' is mentioned before dns in the hosts line within /etc/resolv.conf Martin On Thursday, 23 May 2013, Keith Edmunds wrote: First: ping thesite.co.uk ...and see what address it pings. Next, run tcpdump while you access the site and see what address is accessed: tcpdump -i any -n port 80 -- You can't live a perfect day without doing something for someone who will never be able to repay you. -- Next meeting: Bournemouth, Tuesday, 2013-06-04 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.ukjavascript:; How to Report Bugs Effectively: http://goo.gl/4Xue -- -- Martin Hepworth, CISSP Oxford, UK -- Next meeting: Bournemouth, Tuesday, 2013-06-04 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Nexus 7 virus software, any problems?
Personally i never buy anything from pcworld and always recommend others not to either. Its all sell sell sell just like from dixons - heck dixons are now currys cos they have just horrible service Yes the apps for android arent as tighly scanned as for apple and a few malware baring apps grt through. Do the av scanners spot them.. Not seen any independant tests either way Have a look at the Galaxy tab 2 7.0 8gb mid with a 32gb sdcard extra in it. The display is better imho and adding in the sd card still works out cheaper than the nexus. Martin On Tuesday, 1 January 2013, Terry Coles wrote: On Tuesday 01 Jan 2013 13:38:43 Andrew R Paterson wrote: I strongly believe (feel free to correct me please!) that most (if not all) the AV software you get for Linux (and android?) is just using the same signature databases as the main windows versions and thus all you are doing is ensuring you don't download any windows viruses. Certainly, on desktop Linux, there are far more virus signatures in the virus database than there are known viruses that attack Linux. I would agree that the main reason for running a virus scanner on a 'pure' Linux machine is to avoid inadvertently passing on Windows viruses to Windows users that I communicate with. As I say, please prove me wrong :) AFAIK, there are viruses that attack Android (ref Natalie's earlier post). It may be that the virus databases also include Windows viruses for the same reason as above, but I'm not aware of this. You must acknowledge that even a pure Linux machine is not invulnerable, although social engineering seems to be the only successful attack vector. Android is slightly more vulnerable than a pure Linux machine since the users generally have full root privileges, plus it is a more attractive target, so I would be very surprised to hear that there are no Android viruses. I also use Avast (on my windows boxes) and am indeed happy with it - but AV s/w for Linux and android - show me some proof that they actually do something (and don't tell me they are root-checkers please!). I can't show proof, so until someone does, I'll continue to use the tools available. -- Terry Coles 64 bit computing with Kubuntu Linux -- Next meeting: Bournemouth, Tuesday, 2013-01-08 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.ukjavascript:; How to Report Bugs Effectively: http://goo.gl/4Xue -- -- Martin Hepworth, CISSP Oxford, UK -- Next meeting: Bournemouth, Tuesday, 2013-01-08 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Apache gone awol
Phpmyadmin could have changed the config sp it doesnt listen on localhost anymore just rheexternal address Martin On Sunday, 14 October 2012, Ralph Corderoy wrote: Hi Tim, Just as an update, I just tried accessing my web server from another pc on my network (don't know why I never tried it before) and I got the standard test page (I used the url http://192.168.0.55/index.html). So the problem seems to be local to my PC What if you try http://192.168.0.55/index.html from your local PC? Cheers, Ralph. -- Next meeting: ???, ???day, 2012-11-?? 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.ukjavascript:; How to Report Bugs Effectively: http://goo.gl/4Xue -- -- Martin Hepworth, CISSP Oxford, UK -- Next meeting: ???, ???day, 2012-11-?? 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] OT: Backup Software for Windows
I use an online service called backblaZe $50 a year . Works well just sits in the background .. Free email restore for a smaller restotes and then its a USB or hd delivery if u need more Others are uk based and I'd suggest this over a local drive which can also die on u On Monday, 5 March 2012, Andrew Morgan zil...@ziltro.com wrote: On 05/03/12 21:40, Terry Coles wrote: So I'm looking for a good Windows Backup program than does incremental backups (not sync) to external drives. My niece is quite switched on, so I'm sure she'll get the hang of it without too much difficulty, but (like anything) if using it is too clunky she'll stop. It needs therefore to be reasonably easy to get working for a lay person and also to get data back when needed. Any ideas? Cygwin + rdiff-backup? Can be run on demand from a shortcut or on a schedule. IIRC, the syntax to create a backup is pretty much 'rdiff-backup $source $destination'. In case you haven't used rdiff-backup before, you'll end up with a copy of the files which can be recovered easily using regular file-system tools (the sync method you said you didn't want ;) ) but as well as that you can recover to any point at which you created a backup, as it stores diffs or similar. Of course as it never deletes anything automatically the disk might run out of space if there are lots of changes, but it is possible to remove older backups somehow. I don't know how as I haven't run out of space on my rdiff-backup target yet so I haven't needed to look up how to do it. :) -- Andrew. -- Next meeting: Bournemouth, Tuesday 2012-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue -- -- Martin Hepworth Oxford, UK -- Next meeting: Bournemouth, Tuesday 2012-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Backing up Disc Images
Or just use clonezilla to create the image Martin On Saturday, 11 February 2012, Terry Coles d-...@hadrian-way.co.uk wrote: Hi, The intro to this is off-topic, but the question isn't. It's a bit long winded, but it does illustrate why we prefer Linux. Feel free to jump down to the problem below if you don't want to read about the saga :-) My wife's MSI Laptop popped its clogs a week or two back and after a bit of investigative work, I realised that the hard disc had failed. In fact this diagnosis was much harder than it needed to be because I couldn't find a hardisk diagnosis tool that would run properly on Win7 and the disc manufacturer's test disc claimed that it couldn't find a compatible disc. In the end I booted the machine from the PartedMagic disc and used their disc testing tool and Bob's your Uncle. Novatech were their usual helpful selves and told us to return it to them for repair because it was inside the MSI 2 year warranty (not theirs) and a few days alter we had a nice new disc with Win7 SP2 installed. So far so good. Now for the problem. That miserable company, Microsoft, no longer allow OEMs to include a Windows Installation disc with their computers and they don't allow them to create one either (they are currently suing Comet over this). What they do allow is that the OEMs can put a recovery partition on the disc and provide a program for the user to create a recovery DVD from it. When the laptop was new, we used this program to create a Win 7 Recovery DVD, (which we still have). Win7 is now at SP2 of course and Novatech re-imaged the machine with their SP2 image. Being a conscientious type, I thought I would redo the recovery DVD, but Windows burner exited with a Windows system error (0x80004005), which basically translates to 'I haven't got a clue'). After wasting lots of dual- layer DVDs, I came to the conclusion that there is nothing wrong with the DVD writer, the problem is somewhere in Windows. Being an obstinate type, I wasn't going to be defeated by crappy Windows software, so I looked around for another way. I thought I had the answer! Using PartedMagic, I would create an image of the recovery partition, burn that to a dual-layer DVD from within PartedMagic and then, if the hardisk failed again, we could restore it. Only one problem; the partition is 12.5 Gigs (and is nearly full) and the DVD can only take 8.5 GB. Even that seemed surmountable; both Clonezilla and PartImage can do compressed images, so I gave them a try. I started with PartImage, but it warned me that NTFS support is experimental, so I went over to Clonezilla. Neither tool can burn to the DVD directly, so I created a 15 GB partition at the end of the hardisk and formatted it to ext2. Clonezilla went all the way through and then exited with a bunch of error messages I couldn't make head or tail of. There was nothing usable in the target partition. I then tried PartImage again and ignored the Warning about NTFS support. This went almost all the way through, but stopped with the message that the disc was full and where should it put the second volume. So (at long last) here is the question. Why does PartImage need a bigger partition to store its image into than the one it came from, even though I am using compression? Secondary question; is it creating temporary files in the target directory? If so, how much bigger does the target partition need to be? I've Read The Fine Manual. It doesn't say much. -- Terry Coles 64 bit computing with Kubuntu Linux -- Next meeting: Bournemouth, Tuesday 2012-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue -- -- Martin Hepworth Oxford, UK -- Next meeting: Bournemouth, Tuesday 2012-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Backing up Disc Images
Ah sorry Yes you'll need a reasonably large target for the save Partition, large portable hard drives are cheap, just get one of those ?? Martin On Saturday, 11 February 2012, Terry Coles d-...@hadrian-way.co.uk wrote: On Saturday 11 Feb 2012 14:44:17 Peter Washington wrote: The biggest problem with using 2 DVD's is that the Recovery Partition almost certainly includes a programme to perform the recovery and that may well try and access the recovery data from internally defined locations within the partition, so if this data is spread across 2 disks, it may fail to locate the data it's trying to recover :-( I think I can overcome that, because the plan is to restore the image to a 12 GB partition on the replaced disk, to recreate the original recovery partition. -- Terry Coles 64 bit computing with Kubuntu Linux -- Next meeting: Bournemouth, Tuesday 2012-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue -- -- Martin Hepworth Oxford, UK -- Next meeting: Bournemouth, Tuesday 2012-03-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread on mailing list: mailto:dorset@mailman.lug.org.uk How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] Fault with JPEG files
Duff DVDs? Are these branded or just cheap n cheerful? Martin On Saturday, 23 April 2011, C A Wills infocawi...@talktalk.net wrote: Hi all Can anyone shed some light on the following fault when copying JPEG/JPG files to a DVD and/or a USB stick? Copied several files and folders (all jpg) on unbuntu 10:10 to a DVD, a few files were readable but most reported :- Could not load image xxx.JPG. Error interpreting JPEG image file (not a JPEG: starts with 0x00 0x00). Tried reading files on an XP - same report. Also tried copying on the XP to DVD but got same result BUT not all with same files! Tried on another Ubuntu desktop, same results. When looking at DVD files show as JPG with correct size (Mb), preview can not show files either. Now have several DVD's with files but not able to see them. What went wrong with the copying? -- Clive Wills -- Next meeting: Blandford Forum, Wednesday 2011-05-04 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue -- -- Martin Hepworth Oxford, UK -- Next meeting: Blandford Forum, Wednesday 2011-05-04 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue