But in this way the command console will keep hang. Now I want to write a script which calls u this command and return back to the command console. Here is what I wrote but it doesn't return back to the command console:
Code:
#!/bin/sh MSGBP_HOME="/opt/jboss/MSGBP" case "$1" in start)
How can I start a program from tty1 console text mode to be executed in tty2 console text mode? Actualy I would like to start a program (chat client cli program) in tty8 automaticaly when linux PC boots.
I am trying to attach my server to 2 diferent networks, with fixed ip addresses, eth0 = 192.168.0.2 255.255.255.0 with gateway 192.168.0.1. This is currently working, and I can ssh o the machine on this address
eth1 = 192.168.150.5 255.255.255.0 with gateway 192.168.150.1
When I try and start eth1 with ifconfig eth1 up, I get the error message "eth1: unknown interface: no such device"
I have configured eth1 using system-config-network-tui and /etc/sysconfig/networking/devices/ifcfg-eth1 looks correct
I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13
I've got an install of CentOS 5.3 in a VM which was installed without X or Gnome.I've added X (yum groupinstall 'X Window System') and Gnome (yum groupinstall 'GNOME Desktop Environment) and can now run startx no problem.However on boot I get a command line login rather than the graphical login screen one normally gets if Gnome is included at install time.What do I need to do to get the graphical login after boot?
I have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied
The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?
Yesterday i fell asleep while my laptop was still on. when i woke up this morning i stared at a black screen. I tried to wake it up but nothing happened so i just turned it off.
But when i turn it on again i get this after the login screen: Xsession: Warning" Unable to write to /tmp; X session may exist with an error
After a few minutes i get the message, that my temp directory id full.
Now the problem is, that i cannot even login in console mode! i tried the "console login" mode from the login window, i tried switching the console with ctrl+Alt+F1, i even tried to start in recovery mode. But all i get is a blank screen with a blinking cursor in the middle, but i can't write anything!
fedora logo animation splashscreen that appeared when the Live CD was booting? Now when I boot into my Fedora 15 I get an ugly verbose console-like output and am not interested in seeing what's happening behind the scenes!
I removed gdm and kdm and my laptop started in console mode.Now I would like to get same thing - I made upgrade to ubuntu 10.4 and it starts again in graphics mode. I removed from grub menu.lst splash and quit, removed gdm and kdm - and again I receive graphics prompt.PS I removed also failsafe-x.
I have a very strange trouble with gnome/X11/Adapter/memory, I really don't know! When I upgrade my memory to 2Gb (1Gb+1Gb), graphic mode not starting! Load only console, but gnome not load. And besides error message not showing. 'starx' command leads to black screen and nothing happends, keyboard doesn't work too. if I leave 1Gb memory, all working perfectly! tell me where I can find log-message or how I can solve that problem. In /var/log I can't found anything interesting.
for my small home server i want the machine to NOT start x11 automatically but to enable remote logins via xdmcp.The problem: xdmcp is controlled by gdm. If i disable gdm to have no x11-login-screen xdmcp does not run...Is there any way to start gdm without starting x11 on the console?
I have a headless server, and I want to prevent GDM 2.30 from starting the graphical login on the console screen. As I use XDMCP, I still need GDM running on the server... With previous versions of GDM, I was doing that through gdmsetup, which ended with these lines in /etc/custom.conf :
Code:
[servers] 0=inactive
but it seems that it's not working anymore with 2.30...
I could not solve examining the start and stop scripts. When I boot (default runlevel 5) my system all log messages are displayed on /dev/tty1. After the boot process has finished and kdm is started no more console messages are displayed on /dev/tty1. Instead all console output is redirected to /dev/tty7. When I change the runlevel from 5 to 3 boot.msg shows
Code:
Changing back to runlevel 5 gives
Code:
Why kdm redirects console output to /dev/tty7 instead of /dev/tty1?
I finally got my system to boot to a console prompt. This is a fresh installation of fc10 that I have struggled to get working with my old Adaptec 2940 scsi hardware. I am a little fuzzy on the whole gtk, gdm, gnome thing. So how do I go from this console prompt to configuring the new installation with desktop?So let's say I am logged on as root on the console.
Suse 11.3 KDE 32bit Following instructions in software.opensuse.org: Search Results I installed LibreOffice using the 1-click Install method. It will not start and produces no error when invoked from the console. Now here's the strangest part. If I left click on an .ods file produced by LibreOffice on another computer (on which it worked) KDE tries to extract it using ark even though file properties identifies it as an "ODS spreadsheet".
i configured the build-essential(for c compilation). and I am unable to get the output.This is what i do.(check the image) Since i wanted to copy the output from one of the tty's I tried GPM service. But i dont know how to copy it. Some says click the middle mouse button and it will copy but when i do some code start running on the console. no copy paste. How can i run JAVA programs.
After install debian 8, I can't see system start and stop message from console ... How can I enable system message from console in debain 8?
debian 7 output ---------------------------------------------- root@demo:~# service apache2 restart [ ok ] Restarting web server: apache2 ... waiting . root@demo:~#
debian 8 output ----------------------------------------------- root@demo:~# service apache2 restart root@demo:~# <=============================== No message (start or stop)
I have installed fvwm-crystal successfully but when I try to start it by just adding the codes below to .xinitrc
Code: exec fvwm-crystal only a black background with a console window show up.
I also put the .xsession-error here,
Code: 1 /etc/gdm/PreSession/Default: Registering your session with utmp 2 /etc/gdm/PreSession/Default: running: /usr/bin/sessreg -a -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "xxx" 3 localuser:xxx being added to access control list 4 Launching a SCIM daemon with Socket FrontEnd... 5 Loading simple Config module ... [Code]....
I'm in normal mode then I press "ayiw to yank a word into register a, gvim shows the "ayi as I type it near the bottom right corner. Is it possible to get this real-time display in console vim, if so how?
I'm aware I can do !commands but I'd like to somehow integrate a shell in vim. Or could I use screen and split the screen so that vim takes up say, half of the screen?
I want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ?
MY WORK TILL NOW: I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.