I am using a 64-bit Slackware 13.1 distro (I chose 64 by mistake, to be honest, as I know there's less trouble with a 32-bit distro) and I have some problems with my consoles (in text mode). After changing the runlevel in ininittab to graphic mode (4), I can't enter any of my consoles. Actually, only ctrl+alt F1 shows some output, regarding the graphic mode (I'm currently using KDE4, the default for slackware 13.1) and F6 is the only normal consoles I have access to. However, if I log out and log in (with another user, maybe) there's no output anywhere (not on F1, neither on F6).
I have a big issue that i can understand (and i didn't find any answers) When i boot, i only have the fullscreen console (tty1 to tty6), which ask me to login.If a try a gedit it says that there is no display. Startx doesn't work neither.
Before this, i tried to update from 10.04 to 10.10, but I had some issues with the update manager. On looked on google for solutions and I tried a couple of those: I updated my source list with maverick ppa, I removed the nvida driver
i am having problem with displaying my text. my text file is displayed in such a way and is called test.......
Code:
Sam Worthington ... Jake SullyasZoe Saldana ... NeytiriasSigourney Weaver ... Dr. Grace AugustineasStephen Lang ... Colonel Miles QuaritchasJoel Moore ... Norm Spellman (as Joel David Moore)asGiovanni Ribisi ... Parker SelfridgeasMichelle Rodriguez ... Trudy ChaconasLaz Alonso ... Tsu'teyasWes Studi ... EytukanasCCH Pounder ... MoatasDileep Rao ... Dr. Max PatelasMatt Gerald ... Corporal Lyle WainfleetasSean Anthony Moran ... Private FikeasJason Whyte ... Cryo Vault Med TechasScott Lawrence ... Venture Star Crew Chiefmore
What i am trying to do is for the program to read "as" and then from there start a new line... thus the expected output is...
Code:
Sam Worthington ... Jake Sully Zoe Saldana ... Neytiri Sigourney Weaver ... Dr. Grace Augustine
[code]....
I keep getting the error saying ...
Code:
editmain.cpp.98:error: initializer fails to determine size of 'str'
what does this mean, and how can i be able to format my file in the way i want?
I am trying to run a java .class file by double-clicking it. So far my attempts at running it have been successful, but I don't' know how to keep the display open to see what the output is.
I have two computers both running Ubuntu 10.04. I use my laptop to ssh to the other computer. If I start for instance firefox via ssh from my laptop to have the browser showing up on the screen attached to the computer I ssh to? The computer i ssh to is better in handling graphics so I want to connect it to the TV and use my laptop as remote-control.
I am trying to use awk command in perl. Below is my awk comamnd which works alone. awk '{Easttot=Easttot+$1} END {print Easttot}' MessagesProcessedEAST2Cnts.dat I would like to use this awk's output in shell script. I am using system command like below to get the out put. But it is not working. $Output = system("awk '{Easttot=Easttot+$1} END {print Easttot}' MessagesProcessedEAST2Cnts.dat'");
I have an sony vaio laptop and the screen is pretty small so i have connect to tv with a HDMI cable but opensuse doesnt show on the tv. How do i output either the same screen or an extended desktop ?
I use 'grep -Ri "mypattern" .' to search for all files in the current directory recursively that contain "mypattern". But this command returns every single occurence, so that if a given file has several occurences of the pattern, the screen fills up pretty quick. More than likely, there's a way to restrict the output so that it only displays each file once, no matter how many occurences it contains, but I couldn't find how to do it.
I have a Dell Latitude D610, and am running a 2.6.21.7 kernel. If I close the screen on the laptop, the display output switches to the external VGA output. When I open the screen, the display output does NOT switch back. This occurs when running X and when in command line mode. Is there any way to get the output to automatically switch back when I open the screen?
Is it possible to get WGET to only show download progress e.g. download bar, opposed to all of the connection info, as it does look a little ugly on the client side, is this possible to do?
I am beginner in ubuntu. I wish to run the programs that will display a picture which use the ffmpeg, sdl and lame. When I type gcc -o exercise exercise1.c 'sdl-config --cflags --libs' to compile the program it give this such of error :gcc: sdl-config --cflags --libs: No such file or directory. I have installed the gcc packages, SDL, FFMPEG, LAME but still cannot display the output. What should I do with the gcc packages?
I have a file that contains "ls -la" output. I would like to display only the filenames, none of the other information before it such as permissions, ownership, size, and date.Would the cut command be the best way to hit this, or should I use Vim or sed?
My script is not diaplying output as it contains awk while iterating over the array. My script is as follows:
shortcodes=( "56882" "58585" "58888" "57575" "57677" ); for shortcode in ${shortcodes[@]} do echo "`awk -F"|" '/ShortCode=tel:$shortcode/ { arr[substr($2,1,4)]++ } END { for( no in arr) { print no , arr[no] } }'
I am running a scan via nmap (nmap -sP) and the out put looks similar to this:
Nmap scan report for x.y.z.com (10.x.x.x) Nmap scan report for 10.x.x.x
If it can resolve the hostname it does, if not it just spits out the IP. I would like to know the best syntax to use with cut, or awk, so that the only output is either the IP or IP - HOSTNAME.
The display under vlc is strangely colored in blue, or red missing. Anyway the balance isn't correct. I tried every output module but no one is correct. I am running 11.2/kde.
Consider a situation in which you want to display only specific lines of contents from a file or of a command's output. Yes, we have head and tail commands. But, how to view all the lines of a file except the last one or vise versa when we don't know the count of lines in advance?
Here, I don't want the last line (in italic) to be included in the result since the last line is due to "grep bash" in the devised command "ps au | grep bash". Well, we can rewrite the devised command:
Quote:
"ps au | grep bash | head -n 2"
But, again, here we are specifying the count of lines to be included. But, in the presented problem we don't know any count in advance!
The video projector I have to use this week projects an image too large for its screen and spills over on every side.
Fixing the physical setup is not possible or at least unlikely for the moment: the only solution is to carefully resize and position windows so that they display in the visible part of the screen - using full-screen mode is out.
Is there a way around this via software, using xrandr for example?
# xrandr doesn't have a padding option...xrandr --output VGA1 --mode 1360x768 --left-of LVDS1 --padding 200
After running startx using a dvi cable, my monitor goes blank. It works fine in command line, and while using windows. I originally used a vga cable and a dvi-vga adapter, connected to my graphics cards dvi, and it worked fine. My monitor is an LG flatron w2352vp and my graphics card is a Radeon HD 5570. Using slackware 13.1 64 bit.
Running ls with --color option gives me color output. As I can see /etc/profile.d/coreutils-dircolors.sh should set up aliases for ls, dir and vdir commands but why this aliases don't work under user?
I want to make the audio available only on my headset and to turn the laptop speakers off. In windows, when i plug in the headphones, the speakers automatically turn off and audio is output only on the heads but that's not the case with slackware. I was looking in alsamixer and the audio and video configuration, but no success.
running current with 2.6.33.1-smp kernel i cant seem to get the slib slackbuild to run. it just quits without ever building the tgz. i hope i can attach the terminal output of the compile.
I'm building a web kiosk and I'm trying to figure out how to disable the ability to switch to tty2-6. All the references I've found refer to a process on older versions of Fedora.
I am gradually getting used to the CLI for Ubuntu. I am used to switching between windows when editing a file, going to the command line to run a cmd, and then back again etc.
I feel severly restricted by the CLI, as it seems I can only do one thing at a time. Surely, there must be a way where I can 'switch between' several command line consoles?
Also, I am using vim, and I sometimes need access the command line. At the moment, I have to quit vim to get to the CLI, and then start vim again. This is not very productive.
How to switch between CLI screens/consoles and also how to switch to the CLI from withinin vim and then back to vim again without having to close vim?
The problem is: CTRL-ALT-F1 etc does not give me the login consoles and i strongly suspect it has something to do with the notebook display adapter (a problem on its own, but in this case it seems to be the INTEL GMA).After pressing the key combo, the HD is working on something, but all I get is a frozen picture of my current (tty7) Desktop. After hitting CTRL+ALT-F7 it blacks out for a moment, comes back to normal gnome Desktop as if nothing happened.I tried setting different vga modes in grub (according to my research, this also sets tty consoles modes ?) with no luck.The output of 'hwinfo --framebuffer' is as follows (if it's of any help):
Code:
02: None 00.0: 11001 VESA Framebuffer [Created at bios.464] Unique ID: rdCR.7IS+B23HFDE Hardware Class: framebuffer
I've just upgraded to a new monitor, that has a default resolution of 1920x1024. How do I set Grub2 and consoles to use 1920x1024? Right now I can't use any console (Ctrl-Alt-F2). I'm using Ubuntu 10:04 x86_64.
I am attempting to setup linux in my embedded environment. I wanted to output the console display though the tty serial port and the vt. Since I don't have a frambuffer hw driver yet, I just wanted to use the vfb as a temp.
So, this is what I did in my configuration file: CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty0 mem=126M video=vfb:" CONFIG_VT=y CONFIG_FB=y CONFIG_FB_VIRTUAL=y CONFIG_DUMMY_CONSOLE=n CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_VGA_CONSOLE=n
I would expect the tty output to go to the uart as well as the virtual-console; this does not seem to be the case, as no vt functions are called when I execute prompt commads - I can see the console in my serial terminal, and this all works fine.
Here are extracts from my boot: Kernel command line: console=ttyS0,115200n8 console=tty0 mem=126M video=vfb: ... Console: colour dummy device 80x30 console [tty0] enabled ... Console: switching to colour frame buffer device 80x25 fb0: Virtual frame buffer device, using 1024K of video memory Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x3e000000 (irq = 99) is a 16550A console [ttyS0] enabled serial8250.0: ttyS1 at MMIO 0x3e001000 (irq = 9 is a 16550A serial8250.0: ttyS2 at MMIO 0x3e002000 (irq = 97) is a 16550A ...
Here are my console binding results: / # cat /sys/class/vtconsole/vtcon0/bind 0 / # cat /sys/class/vtconsole/vtcon0/name (S) dummy device / # cat /sys/class/vtconsole/vtcon1/bind 1 / # cat /sys/class/vtconsole/vtcon1/name (M) frame buffer device / #
I recently installed RHEL 5.2 on my system. I found that I was not able to show up virtual consoles that we generally do by hitting Ctrl + Alt + F1 through F6.
I installed Red Hat again but the same problem is there. However, I can go into Run Level 3 by
Code: init 3
but it takes too long to display the prompt. Besides, hitting Ctrl key generates error "unrecognized key" something like that.
Today I installed Virutal Box on Windows XP Host. Then I installed RHEL 5.2. There also I faced the same problem.
However, Virtual Box works fine and I am glad that I can now have only one Host OS on my system and then install as many Guest OSes as I want. Dual Boot System was giving me a heacdache.
On the weekend I installed and played Crayon Physics Deluxe, and when I closed it it caused some graphics problems. I thought nothing of it and shut down the system. When I next booted the computer it gave a warning about hard disk erros at first, then rebooted, and then just gave me an out of frequency error right after the BIOS splash screen.
As I did not know what to do and where to look for the root of the problem I eventually set up the system (Ubuntu 11.04) anew, and even completely formatted the partitions for / and /home, so that absolutely everything should have been as it was on day one. But since then, even though the partition for / had actually been deleted and then created anew, instead of the Ubuntu splash screen I continue to get this out of frequency error until the login manager appears. And what's much worse, I get it immediately as soon as I switch to any console with Ctrl + Alt + F2 or any other, so I cannot use any console.
Then yesterday Skype had a crash, and again the whole thing started, after rebooting I only got the out of frequency error, nothing else. So I set the system up again, but the situation is still the same, the out of frequency error up to the login screen remains, and it also remains on the consoles.
There is no problem whatsoever with any system booted from CD. As all actual data had been wiped during the reinstall, I suppose that the problem must be connected with grub 2, some misconfiguration in the boot loader - but I have no idea how to check or change what's there.
The graphics adapter is a GeForce 7025 with nvidia driver 270.41.06. The Ubuntu setup offers two drivers, this is the older one apparently, but it's the same thing with the newer one. The monitor is a PKB Viseo 230Ws at 1920x1080 pixels, H 67 kHz and V 60 Hz.