Firefox Error display=Display
Help I cant start firefox from #
It says Error: no display specified when i type #firefox -display=Display |
The '#' in the Bash shell means that you are logged in as root. You never start Firefox as root, unless you like to have a compromised system.
To your command, you have to give a real display to the option, not just the word Display. If your Xserver is running on display :0 then you have to give that to the command, like Code:
firefox -display=:0 |
@hitmen: Why do you have to run it as root? Anyway you could also do that if you ran X by startx as root instead of using a login manager (xdm, kdm, gdm, etc.).
e.g. Code:
echo 'exec startkde' > ~/.xinitrc |
hi,
can you explain what this command do echo 'exec startkde' > ~/.xinitrc ? |
It echoes the text "exec startkde" and redirects the output to the file "~/.xinitrc". So effectively it's editing the file .xinitrc and creating / replacing its contents with "exec startkde".
|
Well actually how do you know that you have to do this?
What linux certification you have to learn all this? I have never dared to touch sys files in windows. |
These are not system files more user config files they are in user home but they are hidden if you use gui to view files then control+h will show them or in terminal ls -a will show them.
Here is a good start to learn http://www.ee.surrey.ac.uk/Teaching/Unix/ chapter 3 looks at redirect to a file |
well i know mkdir and so on but i dunno what each specific file sys does?
|
If you google the file name it will discribe the file
https://wiki.archlinux.org/index.php/Xinitrc As you asked how did you learn all this google helps alot, it is not learn't overnight. |
All times are GMT -5. The time now is 04:00 PM. |