[GLLUG] Terminal funkiness
Matt Graham
danceswithcrows@usa.net
Thu, 9 Jan 2003 18:04:30 -0500
On Wednesday 08 January 2003 20:22, after a long battle with technology,
Mike Szumlinski wrote:
> [szumlins@Dual-Gig:~]: xmms
> bash: xmms: command not found
> [szumlins@Dual-Gig:~]: tcsh
> [Dual-Gig:~] szumlins% xmms
> (app starts)
> [Dual-Gig:~] szumlins% bash
> bash-2.05a$ xmms
> (app starts)
>
> I believe this has something to do with my .cshrc file and the
> DISPLAY variable, but I don't know how to change that stuff if bash.
> In my .cshrc file, i have this:
>
> setenv DISPLAY localhost:0.0
>
> I thought it had something to do with 'export' in bash, but I don't
> remember and couldn't find it with a quick google. Anyone know how
> to do this in bash?
export DISPLAY=localhost:0
However, if your $DISPLAY is not set up right, you'll get a different
error message, something like Xlib: "connection to ":0.0" refused by
server", not "command not found". Try this: in bash, do "echo $PATH",
then do the same from thing from tcsh. They should be identical. If
they aren't, find where your PATH is being set in ~/.cshrc , then copy
that line over to .bashrc , changing the "setenv PATH" to "export
PATH=". That might ehlp.
--
Ah yes, I bet Skud wasn't cunning enough to look for the day, make
some strong coffee, and abandon all thoughts of any fun for that
evening. Then follow these steps... --MegaHAL on Netizen
There is no Darkness in Eternity/But only Light too dim for us to see