General :: How To Start And Stop XWindows Without Rebooting
Feb 10, 2011
Sometimes I use vnc server and start desktop. The memory use rises about 2gb during this. I need to be able to turn off the xwindows after I shutdown vnc without rebooting. Is there a way to do this?. And I don't need to know how to disable at boot thats not what I need to do.
There is something wrong with the Xwindows start of my centos5.4 ( 2.6.18-164.el5 X86_64). After several times to try to start the Xwindows, there is a warning message as following:
gdm[5917]: The display server has been shut down about 6 times in the last 90 seconds. It is likely that something bad is going on. Waiting for 2 minutes before trying again on display :0.
I have system problem about my Ubuntu 10.04 system. after I boot my Ubuntu, The login box is missing from gnome screen. I could not login my graphic system. I can use the command line by ctrl+alt+f1. I used sudo /etc/init.d/gdm start try to restart the xwindows the output isgdm already started I try to
stop gdm start gdm
then the xwindows restarted, but still missing the login box I also try to use
dpkg-reconfigure xserver-xorg
reconfigure the server, but unfortunately there is no change after I restart the genome, I could still not see the login box I am confirm that there are additional spaces on my laptop. I can also enter the graphic system on safe mode by startx command.
It is my first time to install fedora 13 and touch linux system.
I burn the DVD edition to install offline. The installation completed and rebooted the system. However, the process stop at the startup screen. And I press escape and find that the process stops at following line: Starting Avahi daemon ...
I don't konw what this line means and how I can deal with.
My computer specification: CPU P4 2.66GHz RAM 512M DDR400 Motherboard GA-8IPE775-G Display Geforce 6200
I have recently installed Centos 5.4 on a server with 3 network cards. I am trying to enable IP forwarding which has been successful by executing the following command:
echo 1 > /proc/sys/net/ipv4/ip_forward
I tried to make this permanent by adding net.ipv4.conf.default.forwarding=1 to the /etc/sysctl.conf file.
When I restart the network service I get the following code...
I just installed a CentOS 5.4 x 64 on a customer's server last Saturday. I use lpr/lpd to print through this server to our network printers.
yum install cups-lpd Edit /etc/xinetd.d/cups-lpd: disable = no
I did several restarts on /etc/rc.d/init.d/cups. I even did a "kill -SIGHUP 0" and a "kill -SIGHUP pid_xinetd". No joy. I finally gave up and rebooted: joy. Shades of Windows.
What did I miss? How do I start cup-lpd after yum without rebooting.
I have recently done clean installs of 11.4 on two computers and then done clean re-installs but still have the same problem. Each time, the install was without flaw and I could download the updates, when offered, in the install process. At the end of the install I can log into KDE and everything works. However, after shutting down, on reboot, I only get a command line login. I can either login and run startx or use su and do init 3 followed by init 5. This tells me I am getting to runlevel 5 but X isn't starting. Either of those approaches gives me the KDE login. However, after that I have to manually start the network in YAST. I also think I had had to restart CUPS but I have only got as far as installing a printer once so I can't be absolutely sure that happened. As I indicate, this is fully reproducible. Anyone give me a clue as to what is going on?
I use a centos VPS with 1gb memory and enough space and brandwidth (if this info is off any use). What I want to achieve is that I can start and quit a process that is running in a screen, with using a script.
Like start.sh that does "screen serverapp1" and stop.sh that does "kill serverapp1"
I already tried something like that, but it didn't work. The kill command only works with process ID's and that one is variable.
I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....
I want to start recording when someone starts talking, and stop recording when it becomes silent. I guess if there is stream audio processing tool like ImageMagick, so I can strip away blank sections like this:
I am accessing the SUN server from my linux box through the command ssh -X username@computer_id through i could run the programs I am enable to get xwindow applications.
Sorry about the newbie question(I haven't used UNIX since college) I've just been given control of a new CentOS server which is running in another country. I can connect via Putty from my windows desktop but how do I connect to it via a GUI (X, gnome, KDE???). what do I need to setup on the server and 2. what (pref. free) software do I need on my windows PC? (I take it putty won't support a GUI)
I'm looking for some pointers on a method to "transfer" the song-playing from my laptop to my PC, both running ubuntu. The use case is: I'm home listening to some song on the laptop. Then I realize how crappy the speakers are. Here's what I do *now*:
1. Stop playback on the laptop 2. Get up, go to the PC, open the music player 3. Find the same song 4. Try to find the same point in the song 5. Stop playback on the laptop 6. Start playback on the PC (the PC has good speakers)
Of course now I'm dreaming of having a "button" I push that does all this all by itself. Can anyone give me some pointers?
I'm trying to start/stop Informix along with my linux os start/stop. For this I've made a test script in order to test this but I'm facing a problem. The service is starting along with the system but when I'm stopping (rebooting) the system it doesn't run the "K10test" script.
After sistem reboot you can see that the /etc/init.d/test stop is not executed.
i'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?
When copying files to USB drives, the file progress bar moves it 'bursts', sometimes doing nothing for long periods, then moving forward quickly and stopping again.It's almost like it is showing the transfer to the cache, not the transfer to the actual drive.
I need to stop KVM starting at boot. I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf Code: blacklist kvm blacklist kvm-amd Reboot PC It doesn't work.
$ lsmod | grep kvm Code: kvm_amd 41556 0 kvm 190648 1 kvm_amd What further command I have to run in order to activate the new blacklist.conf ?
I'm running Debian 8.4 on a Lenovo W500 laptop and I recently upgraded from kernel version 3.2.0-4 to 3.16.0-4. Since then I encounter issues with lightdm (I suppose) which manifest themselves in two different scenarios:
1) scenario 1: lightdm fails to start.Instead of showing the graphical login screen, the system boots into terminal. Lightdm seems to be running, but I can't enter the X-Session (Alt+Ctrl+F7 doesn't work), nor can I restart the lightdm via
Code: Select all# service lightdm stop # service lightdm start
dmesg shows the following (I've only pasted the end of dmesg): Code: Select all[ 240.100071] INFO: task kworker/0:2:39 blocked for more than 120 seconds. [ 240.106512] Not tainted 3.16.0-4-amd64 #1 [ 240.112956] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 240.119494] kworker/0:2 D ffff880155155a48 0 39 2 0x00000000
[code].....
and /var/log/lightdm/lightdm.log shows errors of type Code: Select allGtk-CRITICAL: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
when I then try to shutdown via Code: Select all# shutdown -h now
the OS gets stuck on a message of the form Code: Select allirq 17: nobody cared
and eventually I have to force a shutdown by holding the poweroff button.scenario 2: lightdm starts, but can't be stopped/In this case I can login and use the system as usual, but when I try to shutdown either via # shutdown -h now, or via the GUI or the power button, the system gets stuck and I have to force a shutdown by holding the poweroff button.It seems that people had similar issues on other distros (see e.g.: URL... but there doesn't seem to be a good fix so far. I can for now solve the issue by downgrading the kernel to 3.2.0-4, but I was wondering if there is a permanent fix.
I am trying to make a web server with debian 6 and i want a xfce dsektop when i need to open files,extract,navigate but to be able to turn it off when i dont need it (to save ressources).I already installed it with aptitude install xorg and aptitude install xfce.
i am using putty to connect to my server and wanted to restart mysql server. searched the internet and found thatcommand is /etc/init.d/mysqld start or stopbut it did not worked.then tried /etc/init.d/mysql stop or startthis also did not worked.