Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 1997 13:02:12 +0100 (BST)
From:      Darryl Bowler <>
To: (Steve Howe)
Subject:   Re: in Xterm as root.
Message-ID:  <>
In-Reply-To: <> from Steve Howe at "Jul 3, 97 02:52:16 am"

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> in an Xterm window, as "superuser" - root, 
> i get "Error: cannot open display" errors
> when i try to launch a "graphics" application
> such as XV, GV, GhostView, Netscape, etc.
> i know i shouldn't want to do this,
> but was wondering if something is wrong.
> ------------------------------------------------
> all my text based apps work ok.
> and all my graphical based apps
> work ok as a normal user.
all you need to do is to set the $DISPLAY variable to the IP address of the machine you are trying to export to. Depending on which shell
you are using 

csh: setenv DISPLAY <IP ADDRESS>:0

Regards Darryl

			Web Cache: 3128
			Tel:+44 (0)966 197371
			Free Web Space -
	Just remember...Captain Pugwash..."One eyed Jack shot seamen Stains all
				over the deck!"	

Want to link to this message? Use this URL: <>