Slackware :: Prompt Does Not Return / Solve It?

Jan 16, 2010

When I run startx from a console in Slackware 13.0 the prompt does not return and the console becomes useless. The console does not respond to any keys except to print control characters on the screen. Shouldn't the prompt return in the console after x is running? I have to login on a different console if I want to use a console.

View 4 Replies


ADVERTISEMENT

Programming :: Init.d Script Does Not Return Prompt?

Jul 9, 2010

I have an a script in /etc/rc.d/init.d script that I would like to start and stop my sample application. I have named my script "foo", then I can start running my application my typing $ foo start but this does not return [OK] like other scripts do and does not return to shell prompt. My application is basically like this

int main()
{
do {
printf("Hi
");
sleep(1);
} while (1);
}

What is missing from my application that prevents from returning the shell prompt?

View 3 Replies View Related

General :: Init.d Process Does Not Return To Prompt?

Jul 9, 2010

I have a script in /etc/rc.d/init.d named foo. I want to start/stop/restart my process as follows:$ foo start But I do not see the [OK] message once it starts. There is no shell prompt returned either. It seems that my own process is the problem. The executable that foo calls is built from this sample code:

int main()
{
do {
printf("Hello world
");
sleep(1);
} while (1);
}

Do I have to return some kind of signal handle for this to work?

View 6 Replies View Related

Debian Multimedia :: Eterm Does Not Return A Prompt On Jessie

Oct 4, 2015

This issue is similar to thread [URL] .... and it goes like this:

Eterm can be started either from the menu or from the command line, but it returns no prompt. It just hangs there, displaying a backdrop within the terminal, pressing <Enter> just moves the block cursor down and other input keys appear normally in the terminal, there is just no response or interpretation from the shell.

It seems that for some reason the shell (bash in my case) just does not interact with Eterm application.

One more point is that if the Eterm is terminated by the Close (X) Button, it seems to go in some kind of loop and needs to be killed from the command line (killall Eterm), whereas SIGINT (<Ctrl>+<C> inside the Eterm window) exits properly with no leftover zombies.

View 5 Replies View Related

General :: Unix - Making Shell Prompt Show Last Return Value

May 30, 2011

I'm currently on a Linux machine and the shell prompt is showing me the last return value and number of executed commands (picture included, with these numbers shown in purple).

My own computer doesn't have this, how can I configure it? I'm using Xubunto, if more details are needed let me know -- I'm not much of a Linux user (I don't know what's relevant here).

View 3 Replies View Related

Slackware :: KDE 4.4.3 Does Not Return From Suspend

May 6, 2010

I upgraded to 4.4.3 from 4.4.2 this morning from AlienBob's packages (although I see they are now part of -current, but the mirrors are still behind) and I can no longer return from suspend on my laptop. I get a black screen with a mouse pointer that moves freely but it does not bring up my desktop. Ctrl-Alt-Backspace will bring me back to the console as it should, but this is a huge step backward. A few times I got a message about a new screen being detected after resuming but now it's just blank. I am running an intel onboard graphics card on an Asus laptop.

View 1 Replies View Related

Slackware :: Bttv & Radeon Return From Suspend

Jun 5, 2011

In 2.6.37rc and later, there began an issue with regard to resuming my bttv card after suspend. The problem is that the tuner device is no longer seen upon resume after suspend. Luckily, I have found that the issue appears only when both bttv & radeon are loaded prior to suspend. So I am able to resolve/avoid the issue if

1) bttv loaded & radeon unloaded
2) bttv unloaded & radeon loaded

While I may revisit bisecting, I would like to have a pretty good idea on what to focus on. I have already tried to slim down the kernel to the key drivers during bisect, but I want to look more how the interaction of the two drivers plays into it. What I need is some background on suspend, some hardware specs, or some type of suspend debugger/hints where to look. Since the tuner is a dead simple device, it is hard to see where it could go wrong. So perhaps it is the PCI bus. The radeon card is PCI-X, and the tuner card is PCI. But it could also be I2C or SMBUS? Also note that in the prior kernel, 2.6.36, it is perfectly fine.

View 1 Replies View Related

Slackware :: Slackware64 Won't Boot / Solve This?

Feb 20, 2011

I've tried reinstalling Slackware64 13.1 to my PC a number of times over the past couple of days and I still have not been able to get it to boot.

Once it's installed I reboot and it tells me it can't find the operating system.

I've tried fdisk, cfdisk and GParted to set up the disk by deleting partitions and recreating them.

When I install and get to the section about installing LILO it says I have an OS/2 or Partition Magic boot manager on the drive, but there isn't. It asks if I want to install LILO in a compatible way with the boot manager and I say no, and install to the MBR. When I reboot it says it can't find the OS.

When I try to boot from the install DVD and get to the boot: prompt, I'll enter /dev/sda1 and it says there is no kernel.

Is there something else I'm missing?

View 1 Replies View Related

Slackware :: Bash 4.1$ Prompt - How To Change It

May 29, 2011

I'm trying to change the Xfce Terminal Emulator prompt from bash-4.1$ to something like what kconsole has. If i issue a /bin/bash -l in the terminal, then I get the prompt and the colors that I want, but I'd like this to automagically happen when I click the Terminal icon in the Xfce panel.This is for Slackware 13.37 (32bit) and Terminal 0.4.6

View 2 Replies View Related

Slackware :: The Bash Prompt Displays Twice?

Feb 19, 2010

I'm playing around with my prompt, and for some reason under certain conditions part of the prompt is output twice.

- When my terminal window isn't maximized it always outputs the prompt correctly.

- When the window is maximized it outputs the prompt correctly when I enter an empty command (ie, when I just hit enter).

- When it is maximized and I enter any command, it outputs the second line of my prompt twice.

I'm using urxvt.. I tested in xterm and it seems to work correctly, so I guess it's an issue with urxvt. My prompt code:

Code:

#!/bin/bash
function redblue {
local BLUE="[33[0;34m]"
local RED="[33[0;31m]"
local LIGHT_RED="[33[1;31m]"

[code]....

View 3 Replies View Related

Slackware :: Delay SSH Prompt After Bad Password?

May 14, 2010

delay the retry response from SSH (for, say, 10, 20 or 30 seconds) when a bad password is tried by a whacker? I mean, when I'm getting hit by 10 or more break-in attempts, is there some way to make SSH delay the next try from the site that's trying?I seem to remember something about this but haven't been able to find it and, so far, reading the SSH documentation hasn't been

I have DenyHosts running (that puts entries in /etc/hosts.deny after a few tries to break in) and I completely block China, Korea and a few others that are a constant annoyance with IPTABLES but I do get hit pretty much every day and would like to discourage the bastards as much as possible (the hits are a second or so apart which tells me they're automated and I figure delaying the response will discourage 'em).For example, here's the overnight entries from /var/log/messages (the "refused connect" are from /etc/hosts.deny entries generated by DenyHosts):

Code:
May 13 03:49:50 fubar sshd[30255]: refused connect from 200.49.226.12 (200.49.226.12)
May 13 03:51:27 fubar sshd[30256]: refused connect from 200.49.226.12 (200.49.226.12)

[code]....

View 12 Replies View Related

Slackware :: Significance Of Message At Logon Prompt?

Mar 31, 2011

At the logon prompt, after logging on, Slackware always gives me some sort of little humorous saying, of no particular consequence and is of no value except some entertainment. Today, upon logging on I got this message upon logging on:
Dsk crisis, please clean up
What is the significance of this? If a fun thing, then explain the joke, or if a real system type of message, what is it talking about? I presume if it is a real system type message, and I do nothing, then I will get it the next time I log on also, but you never know. I am inclined to think it is just a joke I don't understand.

View 9 Replies View Related

Slackware :: Getty/virtual Console Prompt Setting?

Jul 12, 2010

How to change the console login prompt settings in slackware 13.1 x64? I tried googling but couldnt find anything, maybe I dont know what it's called.. I mean when the system boot and boots into console asking login info, how to reset the console to new page/clear screen(clearing all the boot up info lines) before it prompts to login. Like for example if after logged into a tty I type exit, I want the screen to refresh(reset?) such that all screen info is cleared and only login prompt is shown on the top left of the screen, like in fedora shell prompt.

View 2 Replies View Related

Slackware :: Use Alternate Kernel From USB Stick Boot Prompt?

May 14, 2010

After using slackpkg to update to -current on a new slack(32) install I was greeted with kernel panic "can't mount root fs" on reboot.

It was looking in the wrong place. I thought I answered yes and slackpkg would run lilo for me when it was done with the upgrade but perhaps I misunderstood.

I had my handy dandy USB boot stick so I set the bios and booted from USB. OK fine, I pointed to the correct location (hda1) and voila.

a 64bit kernel... The machine in question is a 2004 vintage celeron notebook

To my question: Is there a way I can point the loader to another kernel?

One last piece of the puzzle, the dvd drive is bad and I don't (yet) have a PXE server or even another linux box.

View 2 Replies View Related

Slackware :: New 13.1 Install The System Boot To A Command Prompt And Then Run /etc/rc.d/rc.4 To Start X?

Jul 9, 2010

2nd and 3rd might be linux kernel problems but may help someone else so I included here.1st -- run level 4, /etc/rc.d/rc.4 and xdm -nodaemonJust installed 13.1 on an odd system, including building a new kernel.One thing I do is have the system boot to a command prompt and then run /etc/rc.d/rc.4 to start XBut I found that the rc.4 uses xdm -nodaemon flag and it was causing problems so I removed and all is pretty good. I still see some odd behavior with the virtual ttys sometimes.2nd -- when building a new kernel, I found I need the device-mapper butcouldn't tell if that was a linux kernel issue or something to do with lilo, I didn't want and don't need multiple disk devices like for LVM or MD so I didn't plan to have this enabled.3rd -- CONFIG_EXT4_USE_FOR_EXT23 When that kernel config option was selected and I have only an EXT4 filesystem, the filesystem was mounted as an EXT2, even though the kernel had no EXT2 feature. /etc/fstab specified EXT4 but the mount command showed EXT2. A silent problem that could leave an unpleasant surprise since EXT2 hos no journaling.4th -- I had to run lilo -C by hand in a virtual tty before finishing the install. This was what I had to do when installing 13.0 on different hardware. It seems that the lilo part of the install needs some sorting out.

View 9 Replies View Related

Red Hat :: Command Line Prompt But Not The Correct Bash Prompt?

Feb 2, 2011

I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.

View 6 Replies View Related

Hardware :: HP W1907 19" Flat Screen Slackware 12.1 Black Screen After Lilo Prompt?

Feb 27, 2010

I just went out and bought a 19" flat screen LCD monitor. Plugged it in and it is not working correctly. When I start the computer the bios info will show up on the screen, then it goes to the screen that let's you choose an O/S if you were to dual boot. After clicking "enter" it will show the first line of the boot then it goes off into horizontal colors then goes black. I have search many different posts and googled but nothing is giving me a hint at this.I changed the xorg.conf to match the refresh rates to match the monitor but that did not work, and did not really think it would considering the point this monitor goes out on me. running: 2.6.27.7-smp 01:00.0 VGA compatible controller:

Silicon Integrated Systems [SiS] 315PRO PCI/AGP VGA Display Adapter

View 2 Replies View Related

General :: Get Away From The # Prompt And To The $ Prompt?

Mar 19, 2010

I'm logging on my server via PuTTY but I'm getting the bash # prompt and I can't call the few commands I know i.e.: lynx

How do I get the more familiar $ prompt?

View 4 Replies View Related

Ubuntu :: How To Return To 9.10 From 10.04

Aug 4, 2010

how can i return to 9.10 from 10.04?

View 8 Replies View Related

Ubuntu :: Can't Return To Windows 7

Mar 22, 2010

i tried to install brug theme so i cant return to windows 7 which files should i paste here.

when i click to windows 7 option in grub boot menu it just returns me "GRUB"

View 9 Replies View Related

Ubuntu :: Return To # In Terminal?

May 19, 2010

after i start a process in terminal and you lose the # how do i get it back without quiting the process?

View 4 Replies View Related

Ubuntu :: Run Program From CLI Then Return?

Jan 9, 2011

I'm trying to figure out the syntax needed to run a command that will spew out output (which I don't need) but go back to allowing me to run other commands without closing that program.Basically I run:

Code:

./utserver

and it starts and gives output but I want to run other commands without needing to open a new tab or close that program.

View 4 Replies View Related

Programming :: Else &amp; Return Values?

Oct 12, 2010

i am having two small issues with a function i have made.sorry if it is a mess, i am still learning bash.the first is calling the nonpersistssh function (second line) and assigning the return value to nonpersistdiag.the function returns 1, but nonpersistdiag seems to only contain 0. i am unsure on how to proceed.the second problem is the nested else clause on line 10. it is a syntactical error. how would i declare it correctly?

Code: function endsession(){
nonpersistdiag=$[nonpersistssh]# a function that returns an exit code
sudo /etc/init.d/ssh stop; sshdiag=$?

[code]....

View 6 Replies View Related

General :: Alt-ctrl-f1 / Would Not Return To A Gui?

Aug 12, 2009

ok, I pressed alt-ctrl-f1 and it displayed my screen with a gui. I then pressed alt-ctrl-f2 and it displayed a textual desktop. I pressed alt-ctrl-f3 and it displayed the same thing. When I pressed alt-ctrl-f1 to return to my gui, it would not let me return to a gui. I was stuck in a cmd line textual desktop.

How, without restarting, do i return to a gui once I press alt-ctrl-f2??

View 3 Replies View Related

Software :: Return KDE To Default?

Mar 21, 2010

I was playing with kde, system tray and widgets. Now all system tray is gone, even if I add it I can not change its size etc. Also my other visual features have changed accidently as well. Plus I can not retrieve workspace icon (4 small windows). I want to return kde to its default setting, like first time.Dist is Slackware 13.0 64bit and Kde 4.0

View 3 Replies View Related

Programming :: Return And Exit In C

Jun 3, 2011

What are the uses of return 0, return 1 and exit statements in C

View 4 Replies View Related

Programming :: Return Value From A Function?

Nov 15, 2010

On this link [URL]4 a return type is defined

Code:
return ((unsigned int)(unsigned long)base & TBASE_DEFERRABLE_FLAG);
What is the above function returning.I am not clear with definition of what is being returned in the above code.

View 7 Replies View Related

Programming :: What Exactly Does Echo $0 Return

Jan 18, 2010

I'm confused about what "echo $0" in a shell actually return. Consider these tests:

Code:
[root@e11apvl151 ~]# # Login shell:
[root@e11apvl151 ~]# echo $0
-bash
[root@e11apvl151 ~]# # Starting a new shell
[root@e11apvl151 ~]# bash
[root@e11apvl151 ~]# echo $0
bash
[root@e11apvl151 ~]# screen
[root@e11apvl151 ~]# echo $0
/bin/bash

Depending on wether the shell is a login shell, a regular shell, or a screen utility, I get different results.

View 8 Replies View Related

OpenSUSE :: Return KDE Desktop To Default

Sep 3, 2010

so I installed openSUSE 11.3 KDE and fooled around with it and the Plasma Netbook Workspaces and am now back with the regular KDE. Unfortunately something I have done has now caused me to not be able to do simple tings like change the wallpaper, or add Widgets to the desktop. Everything seems to "technically" work, so I suspect that it was a configuration somewhere that I messed up.

Is there a directory or directories I can delete and then log out and back in which will create the environment with default settings? I've done this with Gnome and Xfce when I've really messed it up and it has fixed things a number of times, but I am not sure where KDE stores their config files. I believe is it openSUSE 11.3 with the KDE version that came with it and it was installed from a LiveCD.

View 9 Replies View Related

General :: Rpm -qa Doesn't Return A Result

Jul 3, 2010

I have an Ubuntu Linux on a VMWare running and I've installed RPM Package Manager. However when I try to query all packages using the rpm -qa command, I don't get any results returned.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved