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@lists.fedoraproject.org
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

Reply via email to