Server :: CentOS - How To Start GUI While SSH
Feb 5, 2011How to get GUI while ssh to a server? This is what I have so far.
Code:
yum groupinstall "X Window System" "GNOME Desktop Environment" on server
How to start the gui?
How to get GUI while ssh to a server? This is what I have so far.
Code:
yum groupinstall "X Window System" "GNOME Desktop Environment" on server
How to start the gui?
I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !
DHCPD.CONF
ddns-update-style interim;
ignore client-updates;
[code].....
when I reboot the server with centos 5.5 the SMB deamon doesn't start?
View 2 Replies View Relatedi am currently trying to install vsFTP onto my new linux server and btw i just started using linux today this is my first time using linux so i got the ftp installed good it got downloaded and everything then i went to open a port for my server for vsFTP i used this comand to open it "-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT" then i closed it by pressing ESC then :wq! and it brought me back to my comand line again so now when i try to start the ip table thing with the comand "service iptables start" then when i execute that comand putty respondes with this "Applying iptables firewall rules: iptables-restore: line 1 failed [FAILED]"
The install Guide im using: [URL]
I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?
View 1 Replies View RelatedI'm running CentOS 5.4. I rebooted the machine for the first time in at least a month or so. I reboot into runlevel 3 (no X11). Things seem fine. But when I login and try to start X with "startx", the screen goes blank. X doesn't appear to start. In fact, the only thing I can do is reboot the machine and start over. This is really annoying.
View 1 Replies View RelatedI am in the task of migrating old linux to new linux which centos 5.5. while moving out all apps ,data etc.I need to configure SSL in apache.I have installed mod_ssl with apache 2.2. i went though some docs to configure with certificate that I have . Not sure how to start the service in 2.2. The apache/SSL was configured in my old server which apachectl. SO after importing certificatr , I do ./apachectl startssl to take in effect. In my new server , the http service is /etc/init.d/httpd, not sure how to start SSL service in centos 5.5.
[Code]...
# startx
xauth: creating new authority file /root/.serverauth.18174
X Window System Version 7.1.1
Release Date: 12 May 2006
[Code]....
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. Couldnt get a file descriptor referring to the console
i have used these commands also
mknod /dev/tty0 c 4 0
chmod 660 /dev/tty0
So is there anyway to start a sh file without using shell?i need to run these 2 but I dont want to have shell open 24/7 for it to run./opt/TomcatOpenEJB-6.0.26/opencrx/data/crx_2_8/startdb.sh START/opt/TomcatOpenEJB-6.0.26/bin/tomcat.sh START
View 1 Replies View Relatedi've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?
View 6 Replies View RelatedOn a newly installed centos I updated mysql-* & php-* files using RPM repository, and I installed phpmyadmin. After that i tried restarting mysql and it just said: failed
Code:
service mysqld start
MySQL Daemon failed to start.
Starting mysqld: [FAILED]
[Code].....
I took the hard drive from my server and put it into another machine to install centos with, as the server does not have a working CD drive. So now the situation is that x refuses to start when centos boots. I get a message saying:
Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?
using centos 5.2
unbale to start ldap server.
see below info
[root@system ~]# yum install openldap
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base:
[Code]....
I performed a system update yesterday to CentOS version 5.4. Now I cannot get vmware to start. I get the error "VMware Server is installed, but it has not been (correctly) configured for the running kernel. To (re-)configure it, invoke the following command: /usr/bin/vmware-config.pl." I tried running vmware-config but that did not resolve the issue. I saw the bug related to 2.0.x (after the update), but that does not seem to apply to 1.0.9.
View 7 Replies View RelatedOk, so I have installed apache 22, mysql5.0 and proftpd1.3. When I reboot my server, the above applications do not start up automatically, and I have been trying to figure out how with out much success. know that I need to make some changes inside the init.d directory on my CentOS Server.I am running CentOS 5.4 x86_64 build.I really am not sure how to accomplish the task or where to start.
View 4 Replies View RelatedI got CentOS 5.4 with LAMP. Installed Plesk, tried to configure it, and then error - Quote:Unable to restart Named: dnsmng failed: dnsmng failed: dnsmng: Service /etc/init.d/named failed to restart
View 7 Replies View RelatedI am still pretty green when it comes to centos and linux in general. I have installed rpm and source packages before with little trouble by following the guides available on the support site and wiki for centos.I am running centos 5.4 on a virtual server.I followed the guide for installing vpopmail at URL...mailSince this is a VPS server I cannot install gnome and is why I opted for vpopmail + qmail.
The first issue I have is: I don't know how to tell qmail to start up automatically because after the install of qmail from source as the guide told me to, it did not place a startup files in the /etc/init.d, and I can't find any useful documentation on how to trouble shoot that.I try to use "chkconfig qmail on" and "chkconfig --level 345 qmail on" but both give me the error "error reading information on service qmail: No such file or directory"The version of qmail I am using is the latest 1.0.3, and the version of vpopmail is 5.5.
Vpopmail seems to be working just fine, as is the mysqlauth mod. I check the vpopmail database in mysql, and all the values I used for the domain and user show up there.The settings also show in the qmail configuration directory files for the domain.My first clue as to something being wrong was that when I send an email to the address I setup, I get nothing delivered on the server, but I also do not get any bounce backs or errors to tell me the details of what went wrong.At first I figured it was my firewall, so I disabled iptables.That did not fix it.I also tried disabling SElinux. That also made no difference.
i meet problem on named service, i want to configure my DNS with bind...after i /etc/init.d/named statusThis shows :"rndc: connect failed: 127.0.0.1#953: connection refusednamed is stopped"
View 2 Replies View RelatedHostname won't start on boot
I have had a problem where I had to edit in port 53 for the iptables which i think was strange.
Anyways.. On boot I am getting a error where my hostname won't start correctly which causes 110 and 143 to not work correctly.
After i boot I have to run
Then my mail seems to work..
GOAL - to get this to work on boot
I just upgraded to CentOS 5.6 (been on 5.2 for ages....) and am getting the following error in the apache error_log file:[Sat Jul 02 13:50:25 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)[Sat Jul 02 13:50:25 2011] [error] SSL Library Error: -8187 Security library: invalid argumentsThe notice entry, I can understand, however the SSL error is halting apache from starting. It has been suggested that this might be a package mismatch issue. I'll be more than happy sharing the package list for this box on request.
View 2 Replies View RelatedI'm trying to install ispCP and i need to start mysqld but it won't seem to start. I'm somewhat of a nooblet to linux (have a year of VPS 'experience', but nothing too fance) so bear with me.
When i run "service mysqld start" it fails with the error: "MySQL Daemon failed to start."
I ran: "tail -n 30 /var/log/mysqld.log" and this is the output;
[root@dragon575 mysql]# tail -n 30 /var/log/mysqld.log
110726 16:03:10 InnoDB: Completed initialization of buffer pool
110726 16:03:10 InnoDB: highest supported file format is Barracuda.
110726 16:03:10 InnoDB: 1.1.8 started; log sequence number 1588761
110726 16:03:10 [ERROR] Aborting
[Code].....
I had been reading about how to join a samba server to my current PDC running samba+ldap.
My PDC have a BDC and they are working, I want to add another samba server and be a domain member server and get the benefits.
The docs of samba had open my mind about the technical stuff but I still cannot make this thing works.
samba docs
Quote:
Centos 5.6 Samba Version 3.5.4-0.83.el5_7.2 PDC
Centos to 5.7 Version 3.5.4-0.83.el5_7.2 Domain Member
i installed a new centos 5.5 1 old server hp ml380 g3 series on 2gb ram, 72gb raid 1+0 scsi disk
after running 1 sucessfull day next morning i found no response of ping, telnet, putty, ssh. when i check physically machine the mouse keyboard was hang, i reboot machine, then it says kernel panic failure mounting hardware, then next time i reboot the o/s centos start book properly and running. i check the dmesg logs, can someone guide me how to check cpu,raidcontroller,memory,harddrive are getting failed or what hardware exactly choking out.
I installed Centos 5.5 on a home PC to be used remotely.
All server daemons work fine but only start if the user is logged in.
How do I set the SSH server to start whenever the PC is turned on, rather than when the user is logged in? I read the chkconfig man page online but couldn't find anything.
Plus I put a script in my startup services to be run whenever the computer boots (I'm guessing when the users logs in). How do I go about setting that to run too whenever the system boots instead?
I'm try to start certificate authentication from my web site..
vhosts.conf for httpd:
<IfModule mod_ssl.c>
<VirtualHost 127.0.0.1:443>
ServerName ca.asu
[Code].....
I just did a yum upgrade (5.3 to 5.4) on one node of my three node cluster (RHCS), which did:
Rebooted to the new kernel, but cman failed to start. Rebooted back to the previous kernel, but no change, so it doesn't appear to be the kernel.... Some errors are:
On the upgraded node, the following processes are running:
Whereas on the non-upgraded node, the following processes are running:
how to setup shoutcast to automatically start when i start my server?
i have installed it on /root/shoutcast ; configuration file /root/shoutcast/shoutcast_config
I have written simple application in cpp which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.
This port number keeps on changing if I re-run the application.Please let us know if I have to do any kind of a seeting so that application starts listening on 8080 port.I am using CentOS 5.5 (I tried same on CentOs 5.2)
Before to describe my problem I want to say that I searched a lot on the internet and I think I tried all the solutions provided by other users to similar problems.
I've got an IBM xSeries 346 server running CentOS 5.5 with all updates applied with yum.
The video card is an ATI Radeon (lspci says: 01:06.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]).
Everything worked fine until a bad day where there was an environmental power failure and the server crashed.
I turned it on, I manually check the file system, some files went lost and after the reboot the X server didn't start.
After the first boot I had problem with /etc/rc.d/rc.sysinit, sbin/multipath.static and /dev/cpu/microcode, I solved them and now the message it shows is:
"Failed to start the X server (your graphical interface) It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?"
I choose OK and it appears an empty log, if I go in /var/log/gdm and I do an ls -al:
total 0
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.4
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.3
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.2
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.1
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log
So a lot of empty log files.
I press enter on the OK that appears at the bottom of the screen and it says: Would you like to try to configure the X server?
I choose Yes, I enter the root password and appears the following messages:
Couldn't start X server on card 0
Couldn't start X server with old config, trying with a fresh configuration
Then another messages:
Trying to restart the X server, I press enter on OK and it loops the initial message ("Failed to start the X server...)
It is now almost 3 'o clock in the night here, last 5 hours trying to fix this problem. CentOS always runs perfectly here. I am not a genie with the terminal so wanted to install GNOME on my vps, than vnc but didn't work and did a restart.
Now got this:
Quote:[root@srv1 conf]# apachectl start
Syntax error on line 41 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration