Click to See Complete Forum and Search --> : Getting Netscape to work in Debian


Shag
02-28-2001, 05:28 PM
I'm running Debian 2.2 with a custom 2.4.2 kernel. I ran apt-get to install netscape, but can't seem to get it to run. When I try and run 'netscape' from an xterm, it says I can't run it as root. When I try as a normal user, it says it can't open the display. I tried exporting the DISPLAY variable (to xx.xx.xx.xx:0.0 - how I do it on HPUX), but got the same error. How do I get this to work?

bdl
02-28-2001, 09:05 PM
Are you running X as root?

Shag
03-01-2001, 12:35 AM
yep, sure am...

Bradmont
03-01-2001, 02:08 AM
Now for the important advice: DON'T RUN X AS ROOT! It's a bad idea!

To fix your problem: leave X. Login as a regular user. Startx from that user. now type 'netscape' in an xterm.

Strike
03-01-2001, 03:43 AM
Netscape won't run as root, it's as simple as that. Check out what it says:

half-life:/home/ddipaolo# netscape
/usr/bin/X11/netscape: Cannot be run as root (for security reasons)

Go Netscape!