In the context of this quote, how many 'chips/sockets' do personal computers contain? Thanks for your advice. –X Tian Feb 1 '14 at 2:04 add a comment| up vote 0 down vote XAUTHORITY for me was set as a file that no longer existed: Check the value of XAUTHORITY in your session and under su. Adv Reply October 18th, 2012 #4 steeldriver View Profile View Forum Posts Private Message Staff Emeritus Join Date Apr 2012 Beans 6,849 Re: cannot connect to x server ubuntu 12.04 his comment is here
Offline #8 2010-08-28 11:24:16 PirateJonno Forum Fellow From: New Zealand Registered: 2009-04-13 Posts: 372 Re: [SOLVED] sudo gui apps cannot connect to xserver from terminal app daedalusman wrote:I have never done Can you dispel a magic effect you can't perceive? I would put the executable file in a folder, and run: ./wkhtmltopdf file1.html file2.pdf However I would like to install this program system-wide. If you get the error "Cannot connect to X server" then continue to number 7.
Michael Adv Reply October 18th, 2012 #6 AndyCole View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Oct 2012 Beans 8 Re: cannot connect to x By default the owner of the xserver (the user who started that session) will be able to modify it. How to reply? Since it is a GUI application, I tried to use gksudo then it opens a window asking about the password, but after entering the password the application returns and GUI does
I made no configuration changes but I have updated my system in that time period. Reload to refresh your session. How do you enchant items with Lapis Luzuli? Ubuntu Cannot Connect To X Server How do I go about fixing this?
Why does top 50% need a -50% translate offset? Cannot Connect To X Server Ssh Move the shell script to /usr/bin, and set permissions: sudo chmod a+x /usr/bin/wkhtmltopdf.sh Optionally, you can add a symbolic link in your project directory: ln -s /usr/bin/wkhtmltopdf.sh wkhtmltopdf See this and I used the apt-get install wkhtmltopdf (just installed yesterday) and since I am running on a 64 bit system, I also needed apt-get install ia32-libs. http://stackoverflow.com/questions/9604625/wkhtmltopdf-cannot-connect-to-x-server The address of the display is normally indicated in the DISPLAY environment variable.
Last edited by daedalusman (2010-08-29 20:04:45) Offline #2 2010-08-28 01:04:52 keripix Member From: Indonesia Registered: 2009-12-13 Posts: 22 Website Re: [SOLVED] sudo gui apps cannot connect to xserver from terminal app Qt Warning: Virtualbox: Cannot Connect To X Server What episode of Star Trek is this creature on? Straight line equation How to prove that authentication system works, and that the customer is using the wrong password? Let me experiment with that later.
Post your question in this forum. It does not need an X Server to run. There should be a line at the end saying Compiled against wkhtmltopdf patched qt. weblink It needs the password for the display.
run xhost as the normal user xhost + , then become root then try again. Cannot Connect To X Server Python Do this: wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 tar xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2 sudo mv wkhtmltopdf-amd64 /usr/local/bin/wkhtmltopdf sudo chmod +x /usr/local/bin/wkhtmltopdf now try it: /usr/bin/wkhtmltopdf --page-size A4 --quiet http://google.com google.pdf if that works, put this to /config/initializers/pdfkit.rb However, there are certain parts of this application which still need admin privileges.
So why would I have to do this now? Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. You signed in with another tab or window. P4v.bin Cannot Connect To X Server Not the answer you're looking for?
Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest You should download a precompiled version. Symfony2 with KNP Snappy Bundle & WKHTML2PDF 0 PDF export from Java web application, with client-side visualizations 0 Generate PDF with wkhtmltopdf 1 wkhtmltopdf and Meteor returning a blank pdf 1 check over here Someone peeled an American flag sticker off of my truck.
Basic Geometric intuition, context is undergraduate mathematics Find a mistake in the following bogus proof How do unlimited vacation days work? jlinkels jlinkels View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by jlinkels 03-26-2012, 04:10 PM #7 eantoranz Senior Member Registered: Apr However, I followed up audiomick's suggestion and found my way around the folders, when I click on the gns3 file I can get it to run. Also [[email protected] lin64]# xhost [+] No protocol specified xhost: unable to open display ":0.0" x11 su xauth share|improve this question edited Jan 31 '14 at 22:48 Gilles 377k726901135 asked Jan 31
But if you want to test if it works you can give it a try. I know that because of this post. It is showing same error –Apurba Aug 15 '12 at 5:44 add a comment| up vote 5 down vote Finally the problem is solved. This is important because the same reason that causes it to throw the infamous cannot connect to X server error is also causing it to run with sever limitations even if
Ive installed via the steps above and have installed via sudo yum, both success. Reason: mistyped 1 members found this post helpful. The package that generates it is xbase-clients. What is the significance of the robot in the sand?
This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the