Headless Google Cloud Print only works when started from ssh -Y
by Gary Stainburn
I've followed the instructions on
https://support.google.com/a/answer/2906017?hl=en
to set up a Google Cloud printer using a headless F19 server.
I used ssh -Y -C <servername> to log into the service, install Chrome and set
up the printer.
I then ran
nohup /usr/bin/google-chrome \
--type=service \
--enable-cloud-print-proxy \
--no-service-autorun \
--noerrdialogs \
--user-data-dir=/home/gary/.GoogleCloudPrint &
NOTE: different path to google-chrome used as the one specified on the web
page just generated library errors.
Which started Chrome in the background. However, when I logged out Chrome
died. To get it working quickly (it was home time after all) I logged in text
mode on the console and ran the same command. However that just core dumped
immediately.
If I log into the server using SSH but don't specify the -Y and therefore
don't have X forwarding, it does the same:
[gary@lou ~]$
nohup /usr/bin/google-chrome --type=service --enable-cloud-print-proxy --no-service-autorun --noerrdialogs --user-data-dir=/home/gary/.GoogleCloudPrint
&
[1] 6204
[gary@lou ~]$ nohup: ignoring input and appending output to ‘nohup.out’
[1]+ Aborted (core dumped)
nohup /usr/bin/google-chrome --type=service --enable-cloud-print-proxy --no-service-autorun --noerrdialogs --user-data-dir=/home/gary/.GoogleCloudPrint
[gary@lou ~]$
Does anyone know how to get round this problem?
Does anyone have a systemctl unit written so that I can do this at startup?
Cheers
Gary
--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk
9 years, 9 months
can't log on without using a mouse
by Tim
Unless I use the mouse, I can't log on to a MATE desktop. No keypresses
that I can find will get me focus onto any gadget on the logon screen,
to select which user to log on as. I have to grab the mouse and click
on something.
Is there some secret to this?
--
tim@localhost ~]$ uname -rsvp
Linux 3.14.8-200.fc20.i686 #1 SMP Mon Jun 16 22:36:56 UTC 2014 i686
All mail to my mailbox is automatically deleted, there is no point trying
to privately email me, I will only read messages posted to the public lists.
George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.
9 years, 9 months
Cannot login to KDE - solved
by Stephen Davies
I usually leave myself logged in 24/7 to my Fedora 20 system but recently, I
went on holidays in Europe leaving house-sitters so logged out.
When I returned on Monday, I found that I could login to a tty and to ssh but
not to KDE.
As soon as I entered my password, the Fedora page appeared for a second then
the screen went black then returned to the login page.
Eventually, I thought to check my .xsession-errors and that indicated that
libproj.so.0 was not found.
Installing that library fixed the problem.
(No idea why KDE would need a projections library.)
HTH,
Stephen
--
=============================================================================
Stephen Davies Consulting P/L Phone: 08-8177 1595
Adelaide, South Australia. Mobile:040 304 0583
Records & Collections Management.
9 years, 9 months
Somewhat OT, but possibly useful to all Fedorites
by JD
I have a 2.5" drive, 7200RPM and eSATA 3 (6gbps) drive.
If I put it in an enclosure that is eSATA 2 (3gbps),
how much impact does it have on the drive's performance
using the various i/o throughput benchmarking apps,
compared with if the enclosure supported 6gbps?
(assume that that controller in the computer is indeed
a 6gps esata3 controller).
9 years, 9 months
XFS error during mount
by Roman Kravets
Hello!
When I mount my disk with XFS I saw error in dmesg:
Jun 27 11:14:38 softded kernel: XFS (dm-4): xfs_buf_get_uncached: failed to map pages
Jun 27 11:14:38 softded kernel: vmap allocation for size 1048576 failed: use vmalloc=<size> to increase size.
Jun 27 11:14:38 softded kernel: vmap allocation for size 1048576 failed: use vmalloc=<size> to increase size.
Jun 27 11:14:38 softded kernel: vmap allocation for size 1048576 failed: use vmalloc=<size> to increase size.
Jun 27 11:14:38 softded kernel: XFS (dm-4): xfs_buf_get_uncached: failed to map pages
Jun 27 11:14:38 softded kernel: vmap allocation for size 4194304 failed: use vmalloc=<size> to increase size.
Jun 27 11:14:38 softded kernel: XFS (dm-4): xfs_buf_get_uncached: failed to map pages
Jun 27 11:14:38 softded kernel: XFS (dm-4): xfs_buf_get_uncached: failed to map pages
Jun 27 11:14:38 softded kernel: XFS (dm-4): xfs_buf_get_uncached: failed to map pages
Jun 27 11:14:38 softded kernel: XFS (dm-4): Ending clean mount
I have more then 10 millions inodes on partition. My computer: Pentium 4 3GHz and 2 GB memory.
I use Fedora 20 with kernel 3.14.7-200.fc20.i686+PAE
What is it meen "use vmalloc=<size> to increase size"? When can I change it parameter?
Thank you!
9 years, 9 months
Brother HL-5250DN duplex printing: loves me, loves me not, ...
by Michael Hannon
Greetings. I've got a brother HL-5250DN printer on my local network, and it
is *currently* not doing duplex printing under Fedora 20.
I've seen discussions of a similar problem in various places. The responses to
the problem seem to fall into several categories:
(1) Duplex printing must be *enabled* on the printer before it will print
duplex.
(2) Some printers are not well-supported under linux. You should check the
Open Printing database (or similar).
(3) Get the printer driver from Brother.
Regarding (1), the duplex option *is* enabled on the printer, and it *does*
print in duplex from Windows and Mac systems (and others -- see below).
Regarding (2), the printer printed in duplex just fine through various
versions of Fedora, up through Fedora 18 (the last version I had installed
prior to Fedora 20). Furthermore, it prints duplex just fine from an Ubuntu
14.04 system that I have running in VirtualBox on my Fedora machine. In all
cases the duplex printing capability happened without my having to expend any
brain power at all on the issue: it "just worked".
Regarding (3), I've tried that, but it didn't appear to help.
So far as I can tell, my problems are pretty similar to those reported by
other people. One possibly novel thing: I noticed, without paying close
attention, that some of the recent updates to Fedora 20 have been
CUPS-related. That motivated me to roll the dice and try duplex printing
again. And shazam! It worked!
If that were the end of the story, I wouldn't bother to tell it. The printer
once again does *not* print duplex. I'm assuming that the problem must have
been fixed by one CUPS-related upgrade and broken again by a later one. Here
are the candidates:
# rpm -qa --last | grep -i cups
cups-filters-1.0.53-2.fc20.x86_64 Thu 15 May 2014 11:48:18 AM PDT
cups-filters-libs-1.0.53-2.fc20.x86_64 Thu 15 May 2014 11:48:15 AM PDT
bluez-cups-5.18-1.fc20.x86_64 Fri 02 May 2014 12:18:41 PM PDT
cups-1.7.2-1.fc20.x86_64 Wed 30 Apr 2014 11:41:06 AM PDT
cups-libs-1.7.2-1.fc20.x86_64 Wed 30 Apr 2014 11:40:45 AM PDT
cups-filesystem-1.7.2-1.fc20.noarch Wed 30 Apr 2014 11:40:45 AM PDT
python-cups-1.9.65-1.fc20.x86_64 Sat 15 Mar 2014 03:09:34 PM PDT
gutenprint-cups-5.2.9-14.fc20.x86_64 Mon 23 Dec 2013 11:23:50 PM PST
cups-pk-helper-0.2.5-2.fc20.x86_64 Mon 23 Dec 2013 11:08:33 PM PST
Unfortunately, as I said, I wasn't paying close attention to the timing of the
not-work/work/not-work cycle, so I can't shed any more light on the problem.
If you can, I'd love to hear from you.
BTW, the driver I'm using is:
Brother HL-5250DN Foomatic/Postscript
and it *does* have the duplex printing option enabled:
Double-sided printing: Long Edge (standard)
Thanks.
-- Mike
9 years, 9 months
firefox defaults to offline
by Mike Wright
Hi all,
Running f20 and firefox 30.0.
Firefox now starts in "Offline" mode. This is very annoying to me.
I've never found a need to use a browser offline.
I've looked at every preference, about:config setting, and I haven't
been able to find a way to start firefox in "Online" mode.
Any helpers?
TIA,
Mike Wright
9 years, 9 months
Strange output of yum history info X
by 王超
Hi everyone,
After installing Fedora 20, I switched to tty2 and did a yum update there.
The charging splash screen took over the screen at some point and I cannot
switch to any other tty. So I waited until I believe the transcaction is
done and did a forced shutdown.
I rebooted and everything seems fine except that the output of yum history
info X (X is the update transcaction) is a bit strange:
......
Scriptlet output:
1 warning: /etc/cups/cups-browsed.conf created as
/etc/cups/cups-browsed.conf.rpmnew
2
3 1k
4 2k
5 3k
6 4k
7 5k
8 6k
......
93 91k
94 92k
95 93k
96 94k
97 95k
98 96k
history info
What does that "1k 2k ... 96k" part mean? Do I need to fix something?
Regards,
Wang Chao
9 years, 10 months
Sudden onset ftp problem - can't ftp through vpn
by William Oliver
Sigh. Another time the old "sudo yum update" breaks something...
All of a sudden, ftp does not work if I'm connected to the net using a
vpn. And it's very specific:
I can connect, log in, list a directory, etc. However, I can't "get" or
"mget" a file. Here's what happens:
[user@localhost ~]$ !f
ftp www.billoblog.com
Connected to www.billoblog.com (50.7.12.26).
220 (vsFTPd 2.2.2)
Name (www.billoblog.com:<defaultname>): <acctname>
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> get IMG_20140701_144826.jpg
local: IMG_20140701_144826.jpg remote: IMG_20140701_144826.jpg
227 Entering Passive Mode (50,7,12,26,69,220)
150 Opening BINARY mode data connection for IMG_20140701_144826.jpg
(2330742 bytes).
Hang!
For a put:
[user@localhost ~]$ !f
ftp www.billoblog.com
Connected to www.billoblog.com (50.7.12.26).
220 (vsFTPd 2.2.2)
Name (www.billoblog.com:<defaultname>): <acctname>
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put reay1.png
local: reay1.png remote: reay1.png
227 Entering Passive Mode (50,7,12,26,124,13)
150 Ok to send data.
Hang!
Here's what lsof -P -i shows:
ftp 7623 <user> 3u IPv4 175388 0t0 TCP localhost.localdomain:35272->hope.billoblog.com:21 (ESTABLISHED)
The target machine is running CentOS 6.4 with vsftpd.
I'm running Fedora 20. Here's uname -a:
Linux localhost.localdomain 3.14.9-200.fc20.x86_64 #1 SMP Thu Jun 26 21:40:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
VPN is openvpn. It worked fine until my last set of updates.
Works fine if I don't use a vpn. I run a roundcube server on the same machine, and I can download images I receive in emails using the roundcube server, even if I go to the web page through the vpn server.
A quick Google search provided some old stuff, but it wasn't very helpful.
Any pointers on how to research this?
Thanks!
billo
9 years, 10 months
Fedora 19 - filesystems slow
by George R Goffe
Hi,
I have a Fedora 19 system with several large 2-4TB drives attached via USB-SATA docking stations.
I'm seeing a problem whereby a specific filesystem that hasn't been accessed for some time and is REALLY slow to respond to initial requests. ls -alt for example takes a substantial bit of time to respond at first but then response is acceptable after that.
I'm trying to figure out what's happening and why and what I can do about it. It's like the buffers are empty and they need to be filled. Are there kernel tunable parameters that can be changed to avoid this problem?
Thanks,
George...
9 years, 10 months