Headless Google Cloud Print only works when started from ssh -Y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux