Software :: Start A Program From Tty1 Console To Be Executed In Tty2 Console?
Sep 8, 2010
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 tried most methods suggested on many sites to install drivers ## through the additional driver panel only ## through the Nvidia.run file I downloaded ## through the terminal using apt-get
All failed to start ubuntu gui it takes me to the console login and I noticed it says "saned disabled" edit /etc/..something. This problem made me install ubuntu again three times and every time I activate the driver then install the driver Nvidia.run or through apt-get and both leads to a black screen tty1 login. So what to do now I installed and removed many things and I won't reinstall ubuntu again. Also I typed compiz and this came on:
root@ubuntu:/home/sherbieny# compiz Xlib: extension "GLX" missing on display ":1.0". compiz (core) - Fatal: Root visual is not a GL visual compiz (core) - Error: Failed to manage screen: 0 compiz (core) - Fatal: No manageable screens found on display :1.0 Launching fallback window manager. I want to install properly so that I can start normally and enable the extra visual effects and the custom effects. Please elaborate the steps clearly
New Info: When I enter nvidia-settings : server X opens and says You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run 'nvidia-xconfig' as root), and restart the X server. When I enter nvidia-xconfig as root and restart nothing happens and when I enter: nvidia-detector it says none and when I enter: nvidia-smi
Error: API mismatch: the NVIDIA kernel module has version 260.19.21, but this NVIDIA driver component has version 260.19.29. Please make sure that the kernel module and all NVIDIA driver components have the same version. Failed to allocate an RM client Could not allocate resources! root@ubuntu:/home/sherbieny# apt-get update kernel E: The update command takes no arguments
A new and very exciting error everyone now also the windows 7 that I have besides linux has also crashed and cannot open the login window. I don't know whats happening all I know is that few hours ago I logged in to windows normally now I cannot login to either one of them and the funny part is: I'm working on my thesis on this computer and I cannot work anymore and I'm supposed to meet with the professor on monday.
I can login as root in to Gnome and ssh but not in the console In fact I can login with anyuser in to Gnome and ssh but not in the console. By the console I'm referring to tty1-tty6. When the login screen is showed I write the user and password but then a message is quickly(I can�t see it) showed and erased and the login screen is showed again I looked the file /etc/security/access.conf but all the entries are marked as comments. I also looked the file /etc/securetty and this is the content:
console vc/1 vc/2 vc/3
[code]....
I even can use "su" with root with no problem. The next entries are written in the /var/log/audit/audit.log file everytime I has this error:
I want to use Ubuntu to build an information terminal. This will basically be an X application that displays interesting information. I has to be lightweight seeing that it is installed on compact flash memory.I started with a 10.04 command line install and added xserver-xorg. Please note I am not using a window manager or desktop environment; bare bones X only. I have created a /etc/init.d/myapp file which can start my application by calling "/usr/bin/xinit ${MYAPP}". I used update-rc.d to create a symlink in rc2.d that points to /etc/init.d/myapp. Here is my problem:
On startup the application runs but the system sometimes switches to tty1 (virtual console 1) instead of displaying the X console. I then have to manually switch to it by pressing Ctrl-Alt-F7. How can I make it *always* display the X console with my application? Another thing I noticed is sometimes the X server runs on virtual console 7 and other times on 8. I though that X starts on the first available console and Ubuntu has 6 ttys configured by default. So I would expect it to always run on 7, like and ordinary Ubuntu desktop.
After install of FC13, my command prompt console and tty virtual consoles are a small box in the upper left corner of the screen. It contains tiny 80 characters by 25 rows. I want to fill the screen the old way. I assume the problem is high value screen resolution set automatically to match my display; with fonts based on the smaller pixels. This is NOT X-Windows. I can set that resolution but it has no effect on tty consoles.
It is NOT grub, which I can set with kernel parameter vga=0 to do exactly what I want. Messages from grub are big letters but change to tiny ones at init ("press 'I' for interactive startup" and the beginning of the boot log). This is not an issue with the same display using FC10 and no vga= parameter. Is there a reason that the kernel parameter failed after grub? Can I specify console resolution?
I installed Ubuntu 10.10 on my 32gb flash drive. Just one large partition for the OS and about a gig for swap. Worked fine. Booted to USB on two computers and a laptop at home. Fine. Figured I'd try it on a work pc for the sake of testing a random computer. Well I stick the drive in, boot up, select usb from the boot menu and bam Ubuntu starts loading. I look away, it's cool ubuntu's loading. Well I turn back and it's a black screen. It's "<username>@whatever login:" or something close.
I use the username and password I created during installation and what I used to login to the computer like fifty million times while booted into Ubuntu. Well, invalid login. The first time I installed this OS on this drive I updated it through the update manager and rebooted. Next thing I know I type in my username and password, hit enter, and bam black screen, some stuff, then im asked to login again. Now after this next iteration I am faced with yet another faulty login screen. What is up with this OS?
I would like to know whether there is a way of running a console program at startup. That means even before user login. My guess was that it would have to be run like a service but this idea comes from my ... windows" experience.
i was using a serial console program (not minicom) two weeks back but took a break and have no idea what it is! man, it was awesome, too. it had a nice gui, similar to hyperterminal...and from what i think i remember it came packaged with f14.
i create a file with .py extension and run it then on windows it opens up directly in command prompt, but wat to do if i wish to do the same in ubuntu, i.e. i want the .py file to run in terminal as a console program, which does not happen as such.
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?
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)
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.
I like the convenience of having a music player that manages the placement of my music files based on the tags of the files, sorting into a root music folder with Artist/Album/01 - Track Title.mp3 sort of hierarchy. Previously, I was using Banshee for this feature, as even most of the other gui music players don't have this library management feature. Now, I've been trying to use console-based applications, and I have been using mpd + ncmpcpp fairly successfully. When I download new music, it is downloaded to a specific folder, and that's not part of my music collection. My previous workflow would be to open a gui filemanager at the downloaded folder, and drag and drop those songs onto banshee, which would then make a copy of those files in my library hierarchy. Currently, I'm doing the same thing, using Banshee only as a sort of import program, then closing it and updating my mpd database, and there we go.
If at all possible, I'd like to automate this to something where I can define a watch folder, and when some magical program sees new music in said watch folder, it identifies the correct place for the files to be copied into my heirarchy, renaming folders and files to the correct format. I know I've written a lot describing, but I don't actually think this too uncommon a task, and I'm wondering if anyone has a solution for my problem.
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]....