can't connect to display after switching from bash to tcsh after login
Can't seem to use tcsh as my login shell under CentOS 5 as I used to (if I specify /bin/tcsh as my start-up shell, the windowing system doesn't come up), so am logging in under bash then switching to tcsh on top of that, but it won't allow display access from tcsh for my programs. Gives the "cannot connect to display" error that usually xhost + is the solution for, but xhost doesn't help in this case (won't even run under tcsh, says unable to open display "0.0"). $DISPLAY is set in .cshrc. Must be something simple, but can't seem to find a direction to head?
|
Yah ... run "xhost +" from bash, and export your "DISPLAY=:0.0" from
tcsh. Why one would want to use tcsh is beyond me, though ;} Cheers, Tink |
Thanks for the response. I took the `hostname` out of the DISPLAY definition in .cshrc and now it works (?)
though I don't understand why that should matter. (have always used csh so syntactically easier for me) |
All times are GMT -5. The time now is 08:01 PM. |