Results 1 to 6 of 6
i am running centOS 5.7 i think it is my server that i connect to via ssh it is a very far distance away. Anyways i installed apache and set ...
- 10-24-2011 #1
checking apache
i am running centOS 5.7 i think it is my server that i connect to via ssh it is a very far distance away. Anyways i installed apache and set it up to start on boot well. i want to run firefox so i can check if Open Source and Linux Forums is working but i cant forward x using
because when i run firefox it says error no display specified. Anywho how can i check if Open Source and Linux Forums works any suggestionsCode:ssh -X root@serverip
btw the local machine is running ubuntu 11.04
- 10-25-2011 #2Just Joined!
- Join Date
- Oct 2011
- Posts
- 22
Check the config of ssh in server.
X11Forwarding yes
- 10-26-2011 #3
where do i find the config file i did
on both machines remote and local and all i can find is known_hostsCode:ls .ssh
oh btw my first post should say http:// localhost
not the open source and linux forums
- 10-27-2011 #4Just Joined!
- Join Date
- Oct 2011
- Posts
- 50
it is in /etc/ssh/sshd_config
- 10-27-2011 #5Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
If you can't get X redirection working, you can always use a text-based browser, e.g.:
EDIT: oh yeah, make sure apache is running on remote CentOS box, too:Code:lynx -dump http://localhost
and btw, can't you just connect to the ip address in firefox, instead of connecting locally and exporting your display?, e.g.:Code:service httpd status
Code:firefox http://$serverip
Last edited by atreyu; 10-27-2011 at 12:02 PM. Reason: apache running?
- 10-27-2011 #6
alright ill try the lynx command do i am guessing i need to install it unless it is on installed by default.
and to i dont quite understand your last command am i running it on the local machine or the remote machine? what exactly does that do.
I would appreciate it if you elaborated on the last command


Reply With Quote