Scribus doesn't start: cannot connect to X server
Hi. I've installed scribus yesterday: sudo port install scribus but when I start it trough the terminal: $ scribus It doesn't start and it returns the message: scribus: cannot connect to X server I've tried to run it with x11 server on and off (I launch it trough Gimpshop) But it doesn't work either way. I'm using an Intel Mac with OS 10.4.7. Please send me an e-mail if you need any more information or if the problem is solved. Thank you for your concern. With my best regards, Osvaldo --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
On May 27, 2007, at 04:20, Osvaldo Gago wrote:
I've installed scribus yesterday:
sudo port install scribus
but when I start it trough the terminal:
$ scribus
It doesn't start and it returns the message:
scribus: cannot connect to X server
I've tried to run it with x11 server on and off (I launch it trough Gimpshop) But it doesn't work either way.
I'm using an Intel Mac with OS 10.4.7.
Try first opening X11.app (in Applications > Utilities) and then type "scribus" into *that* xterm window, not in a regular Mac OS X Terminal window.
Ryan Schmidt <ryandesign@macports.org> wrote: On May 27, 2007, at 04:20, Osvaldo Gago wrote:
I've installed scribus yesterday:
sudo port install scribus
but when I start it trough the terminal:
$ scribus
It doesn't start and it returns the message:
scribus: cannot connect to X server
I've tried to run it with x11 server on and off (I launch it trough Gimpshop) But it doesn't work either way.
I'm using an Intel Mac with OS 10.4.7.
Try first opening X11.app (in Applications > Utilities) and then type "scribus" into *that* xterm window, not in a regular Mac OS X Terminal window. Hi. I've tryed with this result: bash: scribus: command not found Didn't work. Then tried: /opt/local/bin/scribus And it works, with this error: "The following programs are missing: Ghostscript You can not use EPS images or Print preview" I've made then: sudo port install ghostscript and confirmed that it was installed. So 1 problem solved, another program to solve. Thank you very much. After this is solved is there any place (a wiki?) where I can drop this information ? Osvaldo --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel.
Hi, Please try export PATH=/opt/local/bin:$PATH scribus If scribus is not in your path, neither is ghostscript. Kind regards, Elias Pipping On May 27, 2007, at 1:58 PM, Osvaldo Gago wrote:
Ryan Schmidt <ryandesign@macports.org> wrote: On May 27, 2007, at 04:20, Osvaldo Gago wrote:
I've installed scribus yesterday:
sudo port install scribus
but when I start it trough the terminal:
$ scribus
It doesn't start and it returns the message:
scribus: cannot connect to X server
I've tried to run it with x11 server on and off (I launch it trough Gimpshop) But it doesn't work either way.
I'm using an Intel Mac with OS 10.4.7.
Try first opening X11.app (in Applications > Utilities) and then type "scribus" into *that* xterm window, not in a regular Mac OS X Terminal window.
Hi.
I've tryed with this result:
bash: scribus: command not found
Didn't work.
Then tried:
/opt/local/bin/scribus
And it works, with this error:
"The following programs are missing: Ghostscript You can not use EPS images or Print preview"
I've made then:
sudo port install ghostscript
and confirmed that it was installed.
So 1 problem solved, another program to solve.
Thank you very much. After this is solved is there any place (a wiki?) where I can drop this information ?
Osvaldo
Need a vacation? Get great deals to amazing places on Yahoo! Travel. _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On May 27, 2007, at 06:58, Osvaldo Gago wrote:
Ryan Schmidt wrote:
On May 27, 2007, at 04:20, Osvaldo Gago wrote:
I've installed scribus yesterday:
sudo port install scribus
but when I start it trough the terminal:
$ scribus
It doesn't start and it returns the message:
scribus: cannot connect to X server
I've tried to run it with x11 server on and off (I launch it trough Gimpshop) But it doesn't work either way.
I'm using an Intel Mac with OS 10.4.7.
Try first opening X11.app (in Applications > Utilities) and then type "scribus" into *that* xterm window, not in a regular Mac OS X Terminal window.
I've tryed with this result:
bash: scribus: command not found
Didn't work.
Sounds like your xterm is not properly set up. There are already instructions in the wiki for how to do so: http://trac.macosforge.org/projects/macports/wiki/ InstallingMacPorts#OptionsfortheMacPortsshellandX11environment I had some problems with these instructions before, which are described here: http://lists.macosforge.org/pipermail/macports-users/2007-May/ 003536.html The instructions have been updated since then and I haven't checked to see if that now solves my problem. Please let us know if you have further problems after following the instructions in the wiki.
Then tried:
/opt/local/bin/scribus
And it works, with this error:
"The following programs are missing: Ghostscript You can not use EPS images or Print preview"
I've made then:
sudo port install ghostscript
and confirmed that it was installed.
So 1 problem solved, another program to solve.
Thank you very much. After this is solved is there any place (a wiki?) where I can drop this information ?
scribus already depends on ghostscript: depends_lib bin:gs:ghostscript But if "sudo port install ghostscript" solved the problem, that means you must have another version of ghostscript installed but not as part of MacPorts? If that's the case, then your above problem is again caused by the first problem above, that your xterm is not set up properly and therefore doesn't know where your other ghostscript is. Follow the instructions above to set it up properly and let us know if that doesn't work.
Ryan Schmidt <ryandesign@macports.org> wrote: On May 27, 2007, at 06:58, Osvaldo Gago wrote:
Ryan Schmidt wrote:
On May 27, 2007, at 04:20, Osvaldo Gago wrote:
I've installed scribus yesterday:
sudo port install scribus
but when I start it trough the terminal:
$ scribus
It doesn't start and it returns the message:
scribus: cannot connect to X server
I've tried to run it with x11 server on and off (I launch it trough Gimpshop) But it doesn't work either way.
I'm using an Intel Mac with OS 10.4.7.
Try first opening X11.app (in Applications > Utilities) and then type "scribus" into *that* xterm window, not in a regular Mac OS X Terminal window.
I've tryed with this result:
bash: scribus: command not found
Didn't work.
Sounds like your xterm is not properly set up. There are already instructions in the wiki for how to do so: http://trac.macosforge.org/projects/macports/wiki/ InstallingMacPorts#OptionsfortheMacPortsshellandX11environment I had some problems with these instructions before, which are described here: http://lists.macosforge.org/pipermail/macports-users/2007-May/ 003536.html The instructions have been updated since then and I haven't checked to see if that now solves my problem. Please let us know if you have further problems after following the instructions in the wiki.
Then tried:
/opt/local/bin/scribus
And it works, with this error:
"The following programs are missing: Ghostscript You can not use EPS images or Print preview"
I've made then:
sudo port install ghostscript
and confirmed that it was installed.
So 1 problem solved, another program to solve.
Thank you very much. After this is solved is there any place (a wiki?) where I can drop this information ?
scribus already depends on ghostscript: depends_lib bin:gs:ghostscript But if "sudo port install ghostscript" solved the problem, that means you must have another version of ghostscript installed but not as part of MacPorts? If that's the case, then your above problem is again caused by the first problem above, that your xterm is not set up properly and therefore doesn't know where your other ghostscript is. Follow the instructions above to set it up properly and let us know if that doesn't work. Hi. Opening scribus in the terminal with the command $ open-x11 scribus solves the problem, thank you very much for your concern. I have created a Wiki page about installing Scribus with MacPorts: http://wiki.scribus.net/index.php/Installing_Scribus_on_Mac_with_MacPorts With my best regards, Osvaldo --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
All, I installed a number of items with MacPorts after doing a clean install on my workstation, and everything has gone very well so far. After installing all the ports listed below, I have run into an error every time I use the Terminal (bash). The error message is : "trouble reading termcap" which I have googled, without much solid luck. Any ideas how I can fix this error message ? Best Regards, Bill Hernandez Plano, Texas I will post some info in reference to how well the install went, and some minor points I ran into. Hopefully I will get my website up and going again, but I am still fiddling with my network and my new firewall and trying to re-configure apache to work correctly with ip based virtual hosting and ssl, pgsql and mysql, and trying to get vpn working on my new SonicWall TZ 180 Wireless. My SonicWall experience has been quite a trip. When I was trying to get pre-sales info from a number of sources I was substantially misled ( I don't think it was intentional, I just think there are so many options available that it's hard to figure out exactly what options are really included with each variation of packages vs what options you need, or want), in terms of the hardware requirements, what software/capability, what licensing options, etc. I thought I might document all this in case it might help someone else... Anyway, back to MacPorts, the primary ports I wanted were : apache2 @2.2.4_0+openldap (active) php5 @5.2.2_0+apache2+darwin_8+fastcgi+macosx+mysql5+pear +postgresql+sqlite (active) postgresql82 @8.2.4_0+darwin_8 (active) mysql5 @5.0.41_0+darwin_8+server (active) [2007.29.05](02:59PM) -> [username] ~ $ port installed The following ports are currently installed: apache2 @2.2.4_0+openldap (active) apr @1.2.8_0 (active) apr-util @1.2.8_2+openldap (active) bison @2.3_0 (active) curl @7.16.2_0+darwin_8 (active) cyrus-sasl2 @2.1.21_0 (active) db4 @4.3.29_1+darwin_8 (active) db44 @4.4.20_1+darwin_8 (active) expat @2.0.0_1 (active) fontconfig @2.4.2_0+macosx (active) freetype @2.3.4_0 (active) gd2 @2.0.34_0 (active) gettext @0.16.1_0 (active) jpeg @6b_1 (active) libiconv @1.11_4+darwin_8 (active) libmcrypt @2.5.8_0+darwin_8 (active) libpng @1.2.18_0+darwin_8 (active) libxml2 @2.6.28_0 (active) libxslt @1.1.20_0 (active) m4 @1.4.9_0 (active) mhash @0.9.9_0+darwin_8 (active) mysql5 @5.0.41_0+darwin_8+server (active) ncurses @5.6_0+darwin_8 (active) ncursesw @5.6_0+darwin_8 (active) openldap @2.3.35_0 (active) openssl @0.9.8e_0+darwin_8 (active) pcre @7.1_0 (active) perl5.8 @5.8.8_0+darwin_8 (active) php5 @5.2.2_0+apache2+darwin_8+fastcgi+macosx+mysql5+pear +postgresql+sqlite (active) pkgconfig @0.21_0 (active) postgresql82 @8.2.4_0+darwin_8 (active) readline @5.2.001_0 (active) rpl @1.4.0_0 (active) sqlite3 @3.3.17_0+darwin_8 (active) tiff @3.8.2_0+darwin_8 (active) zlib @1.2.3_1 (active) [2007.29.05](02:59PM) -> [username] ~ $
On May 29, 2007, at 15:22, Bill Hernandez wrote:
I installed a number of items with MacPorts after doing a clean install on my workstation, and everything has gone very well so far.
After installing all the ports listed below, I have run into an error every time I use the Terminal (bash).
The error message is : "trouble reading termcap" which I have googled, without much solid luck.
Any ideas how I can fix this error message ?
I Googled a little bit... I think this may have to do with the TERM environment variable. On my Mac, I get this: $ echo $TERM xterm I didn't change it; xterm was the default. What is TERM set to on your system?
You could try "sudo touch /etc/termcap" and see what happens (assuming you don't actually have one). Greg Shenaut On May 29, 2007, at 1:22 PM, Bill Hernandez wrote:
All,
I installed a number of items with MacPorts after doing a clean install on my workstation, and everything has gone very well so far.
After installing all the ports listed below, I have run into an error every time I use the Terminal (bash).
The error message is : "trouble reading termcap" which I have googled, without much solid luck.
Any ideas how I can fix this error message ?
Best Regards,
Bill Hernandez Plano, Texas
I will post some info in reference to how well the install went, and some minor points I ran into. Hopefully I will get my website up and going again, but I am still fiddling with my network and my new firewall and trying to re-configure apache to work correctly with ip based virtual hosting and ssl, pgsql and mysql, and trying to get vpn working on my new SonicWall TZ 180 Wireless. My SonicWall experience has been quite a trip. When I was trying to get pre-sales info from a number of sources I was substantially misled ( I don't think it was intentional, I just think there are so many options available that it's hard to figure out exactly what options are really included with each variation of packages vs what options you need, or want), in terms of the hardware requirements, what software/capability, what licensing options, etc. I thought I might document all this in case it might help someone else...
Anyway, back to MacPorts, the primary ports I wanted were :
apache2 @2.2.4_0+openldap (active) php5 @5.2.2_0+apache2+darwin_8+fastcgi+macosx+mysql5+pear +postgresql+sqlite (active) postgresql82 @8.2.4_0+darwin_8 (active) mysql5 @5.0.41_0+darwin_8+server (active)
[2007.29.05](02:59PM) -> [username] ~ $ port installed The following ports are currently installed: apache2 @2.2.4_0+openldap (active) apr @1.2.8_0 (active) apr-util @1.2.8_2+openldap (active) bison @2.3_0 (active) curl @7.16.2_0+darwin_8 (active) cyrus-sasl2 @2.1.21_0 (active) db4 @4.3.29_1+darwin_8 (active) db44 @4.4.20_1+darwin_8 (active) expat @2.0.0_1 (active) fontconfig @2.4.2_0+macosx (active) freetype @2.3.4_0 (active) gd2 @2.0.34_0 (active) gettext @0.16.1_0 (active) jpeg @6b_1 (active) libiconv @1.11_4+darwin_8 (active) libmcrypt @2.5.8_0+darwin_8 (active) libpng @1.2.18_0+darwin_8 (active) libxml2 @2.6.28_0 (active) libxslt @1.1.20_0 (active) m4 @1.4.9_0 (active) mhash @0.9.9_0+darwin_8 (active) mysql5 @5.0.41_0+darwin_8+server (active) ncurses @5.6_0+darwin_8 (active) ncursesw @5.6_0+darwin_8 (active) openldap @2.3.35_0 (active) openssl @0.9.8e_0+darwin_8 (active) pcre @7.1_0 (active) perl5.8 @5.8.8_0+darwin_8 (active) php5 @5.2.2_0+apache2+darwin_8+fastcgi+macosx+mysql5+pear +postgresql+sqlite (active) pkgconfig @0.21_0 (active) postgresql82 @8.2.4_0+darwin_8 (active) readline @5.2.001_0 (active) rpl @1.4.0_0 (active) sqlite3 @3.3.17_0+darwin_8 (active) tiff @3.8.2_0+darwin_8 (active) zlib @1.2.3_1 (active) [2007.29.05](02:59PM) -> [username] ~ $
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
On May 29, 2007, at 3:00 PM, Ryan Schmidt wrote:
I didn't change it; xterm was the default. What is TERM set to on your system?
Interesting: I have xterm-color for mine. I must have changed it (it's in Preferences) though I don't recall when or why. -- Paul Beard words: http://paulbeard.org/wordpress pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
participants (7)
-
Bill Hernandez
-
Elias Pipping
-
Greg Shenaut
-
Osvaldo Gago
-
paul beard
-
Rainer Müller
-
Ryan Schmidt