I'm sure this question has been asked before, but here goes anyway...
I'm trying to install a couple of apps on my newly installed SuSE 8.2
and I cannot install them becuase they require that root nteracts with
X. One of the apps is Netscape. When I type ./netscape-installer (as
root) I get the following message
Gtk-WARNING **: cannot open display
How in heavens do I work around this? TIA!!!
--
+------------------------------------------
| José J. Cintrón -
On Mon, Jun 16, 2003 at 06:31:23PM -0400, Jose J. Cintron wrote:
I'm sure this question has been asked before, but here goes anyway...
I'm trying to install a couple of apps on my newly installed SuSE 8.2 and I cannot install them becuase they require that root nteracts with X. One of the apps is Netscape. When I type ./netscape-installer (as root) I get the following message
Gtk-WARNING **: cannot open display
How in heavens do I work around this? TIA!!!
Try sux -c ./netscape-installer -Kastus
Instead of su for root, type sux, then your root password. You will then be able to go into X. Art On Mon, 2003-06-16 at 15:31, Jose J. Cintron wrote:
I'm sure this question has been asked before, but here goes anyway...
I'm trying to install a couple of apps on my newly installed SuSE 8.2 and I cannot install them becuase they require that root nteracts with X. One of the apps is Netscape. When I type ./netscape-installer (as root) I get the following message
Gtk-WARNING **: cannot open display
How in heavens do I work around this? TIA!!! --
+------------------------------------------ | José J. Cintrón -
+------------------------------------------
Had a couple of SuSE boxes decide sux would well, sux...So if that does not work (it should work) try doing as the user: xhost +localhost Then su to root will work. Matt On Mon, 2003-06-16 at 18:23, Art Fore wrote:
Instead of su for root, type sux, then your root password. You will then be able to go into X.
Art
On Mon, 2003-06-16 at 15:31, Jose J. Cintron wrote:
I'm sure this question has been asked before, but here goes anyway...
I'm trying to install a couple of apps on my newly installed SuSE 8.2 and I cannot install them becuase they require that root nteracts with X. One of the apps is Netscape. When I type ./netscape-installer (as root) I get the following message
Gtk-WARNING **: cannot open display
How in heavens do I work around this? TIA!!! --
+------------------------------------------ | José J. Cintrón -
+------------------------------------------
* Matthew Johnson (matthew@psychohorse.com) [030616 17:25]:
xhost +localhost
That's an extremely bad practice, Jose. See http://lists.suse.com/archive/suse-linux-e/2003-May/3308.html for the last discussion of this. -- -ckm
On Mon, 2003-06-16 at 19:31, Christopher Mahmood wrote:
* Matthew Johnson (matthew@psychohorse.com) [030616 17:25]:
xhost +localhost
That's an extremely bad practice, Jose. See http://lists.suse.com/archive/suse-linux-e/2003-May/3308.html for the last discussion of this.
Yep, sux works and should always be used. Although have had to use that xhost before as had sux fail before. Thanks for the warning, will make sure I emphasise the danger beforehand :). Matt
--
-ckm
On Tuesday 17 June 2003 3:54 am, Matthew Johnson wrote:
On Mon, 2003-06-16 at 19:31, Christopher Mahmood wrote:
* Matthew Johnson (matthew@psychohorse.com) [030616 17:25]:
xhost +localhost
That's an extremely bad practice, Jose. See http://lists.suse.com/archive/suse-linux-e/2003-May/3308.html for the last discussion of this.
Yep, sux works and should always be used. Although have had to use that xhost before as had sux fail before.
Thanks for the warning, will make sure I emphasise the danger beforehand
I had sux fail on my 8,1 install (now on 8.2). I think PAM got confused. As a secure alternative that worked: ssh -X root@localhost Bit of overkill, but same result! :-) Jason
participants (6)
-
Art Fore
-
Christopher Mahmood
-
Jason
-
Jose J. Cintron
-
Kastus
-
Matthew Johnson