Ubuntu :: TTYs Won't Work
Mar 9, 2010
I have searched the web, tried getting support on IRC, and even tried some drastic measures that I came up with on-the-fly, but could not get satisfactory results.After installing the 2.6.31-20 kernel, I have noticed, that virtual terminals ( or whatever should I call those. The ones that are accessed by ctrl+alt+[function_key]) stopped loading. When I open any of them I only see a cursor and nothing else. I can take almost no actions: the only two things that actually work are changing between terminals and ctrl+alt+delete.
Eventually, I gave figured out, that this happens because getty is not launched automatically. After running appropriate command, each terminal can be recreated for the current session. Tried fixing this by creating a script that would run that command on each startup, but could not actually make the script to be executed (I tried making rc to run it, as I need these terminals to be present when GUI is not yet activated).Right now, I see two possible solutions: either make them autoload like they are supposed to, or work out a way for that script to be ran on startup. So, any ideas?Ah, yes. Also, the GDM now loads on tty2. Will it give me problems if it continues like that?
View 9 Replies
ADVERTISEMENT
Jun 21, 2010
I can't switch from tty to tty. When I start up (I use startx for X) I can't even switch from tty1 to any other tty at all. When I'm using KDE, and I switch to a tty I have to use Ctrl-Alt-F*. When I do, it switches to the tty and after that I can't switch back to X or any other tty.
View 9 Replies
View Related
May 13, 2010
I am using 9.10 and my ability to "ctrl + alt F-dey" to a ttys shell no longer is available after running an update. 10.04 has the same bug. Getty is installed and I can not figure out what happened.
How do I get ttys back?
View 3 Replies
View Related
Apr 14, 2010
I have a laptop which has only one serial port.
I went into:
How do I know which of those "ttyS" refers to my serial port?
View 2 Replies
View Related
Jul 7, 2010
[Arch Linux] This has been mildly annoying ever since I installed Arch. From X, I can switch to any of my ttys, using Ctrl+Alt+FN. But when I'm in a console, that key combination does nothing, and I have to restart X11 to get back.
View 13 Replies
View Related
May 3, 2010
After the 10.04 upgrade all my CTRL-ALT-F1-6 terminals are squished up at the top of the screen. it's as if the vertical was pushed all the way to the top. You can't read anything. Here's a picture of it.http://imgur.com/7FKGoI'm running Nvidia binary drivers and everything seems to work great otherwise but I can't even find one person with this issue. I tried IRC already but no luck there yet. vga=795 is set in /etc/default/grub which is the correct res and depth
View 5 Replies
View Related
Jun 6, 2010
Fresh install of Ubuntu 10.04, Gnome session fails to start. Gnome-failsafe and XFCE work great. xsession-errors: [URL].... i also cannot switch between ttys, if i do video becomes blured to the point of unreadable. I think this is an issue with X. I have tried the generic kernel (non-pae) with noapic and apci=off with no results.
View 3 Replies
View Related
Apr 19, 2010
I'd like to know how to leave only tty1 and 2 and permanently disable others. (I'm running Lenny/i386).
View 4 Replies
View Related
May 21, 2010
I'm trying to complete the porting to RHEL 5 of a commercial application that we've had running on AIX and SCO for decades. It originally ran on dumb-terminals, and even now runs on dumb-terminal emulators that run on Windows. We have thousands of customers, many of whom we'd like to migrate to Linux. We're pretty much done with the port, with the exception of this little glitch we're having with pseudo-ttys...
Our app utilizes pseudo-ttys, such that sub-portions of the application run under a screen manager that provides for screen-switching of multiple instances of the sub-apps on non-GUI terminals, some of which are still running serial. In this regard, it is not unlike the GNU "screen" program. However, it also supports file transfers over serial links using zmodem, and requires the ability to switch in and out of a fully 8-bit transparent mode where the screen switching keyboard commands must be ignored.
On AIX, we're using the BSD TIOCUCNTL (UIOCCMD) capability to send commands from the sub-app to the screen manager. TIOCUCNTL provides custom user ioctls and is an ideal way to solve the problem. It is not implemented on Linux, and the "alternative" of TIOCPKT does not provide arbitrary ioctls so at best we'd have to commandeer some of the existing TIOCPKT ioctls for our own use if that's even possible. TIOCPKT seems like a hack, it apparently was implemented not as a general mechanism but to solve problems specific to rlogin/rlogind.
SCO didn't support TIOCUCNTL either, so years ago we used the SVR5 alternative of putmsg/getmsg. This is a streams-based mechanism of sending control information over streams separate from the data. While RHEL 5 seems to have man pages indicating these commands exist, and in fact you can link programs using them to libc without errors, they are apparently stubbed out and return "function not implemented." This seems to be, according to this Wiki, due to certain Linux factions deeming that streams are "technically inadequate":
Certainly, I would agree that a streams implementation that is incomplete is undoubtedly "technically inadequate."
At the same time, it would appear that the SVR5 method of pseudo-tty is now the recommended implementation, the BSD one being "deprecated" (not to mention, also incomplete on Linux, given TIOCUCNTL is missing):
So here I am trying to figure out how to solve the problem. I have found a library that apparently implements the getmsg/putmsg commands for Linux, called libLiS. However, according to IBM, it has a problem with SELinux:
We've had to disable SELinux for other reasons anyway, so this is not a show stopper for us, and I am actively exploring using it as our solution. However, I've never been exactly crazy about the idea of depending on disabling security features to make something work. But, there's something to be said for the compatibility it would offer for our apps.
However, it occured ot me that we are probably not the first to have this problem, and was wondering if perhaps there is another solution that we should consider.
It has occured to me to use named pipes, but this would be rather ugly--we'd have to maintain a directory full of hundreds of named pipes, probably named after the associated ptys that the sub-apps could use to issue control commands to their screen manager, and the manager would have to monitor these pipes for commands, etc.-- certainly possible, but it seems like it might be re-inventing the wheel a bit, or at the very least, is a somewhat kludgy work-around to the apparent lack of any user-customizable control mechanisms in the pseudo-ttys. And we'd have to support it in addition to the code for the other methods since those platforms aren't going away anytime soon (SCO death-throes notwithstanding).
View 1 Replies
View Related
Sep 26, 2010
On my terminal only system ( no Xorg or guis ) I have a font rendering issue. In place of some symbols ( eg double-lines and some other miscellaneous line-drawing shapes) are generic diamonds. Attached is a fbgrab ( png format ) of elinks showing the problem. I have now configured elinks to only use single lines drawing characters ( which work fine ) for now as a work around. Here is my /etc/default/console-setup
Code:
# Change to "yes" and setupcon will explain what is being doing
VERBOSE_OUTPUT="no"
# Setup these consoles. Most people do not need to change this.
ACTIVE_CONSOLES="/dev/tty[1-6]"
[code]....
The numbers in the FONTFACE show the size of the font matrix. For example Lat2-Terminus20x10.psf is a font for codeset Lat2 with size of the font matrix 10x20 (i.e. 10 columns and 20 rows). If the number of columns is 8 then only the number of rows is specified. For example the font matrix of Armenian-Fixed15.psf has size 8x15.
In text video mode or if you use the RadeonFB kernel module only fonts whose font matrix has 8 columns can be used (that is the size should be a simple NUMBER rather than a NUMBERxNUMBER combination). The other fonts can be used only with framebuffer video modes and with the package 'kbd'. The console package 'console-tools' can not be used
with such fonts.
THE TERMINUS FONT:
The aim of the Terminus font is to reduce the eyes-fatigue when one has to read a lot. Currently this font supports only the Latin, the Cyrillic and the Greek scripts (the Lat15, Lat2, Lat7, CyrAsia, CyrKoi, CyrSlav, Greek, Uni2 and Uni3 codesets). The fonts with font face TerminusBold and size 14 or 16 are optimized for 8 pixels width glyph matrix (in most cases this means framebuffer). The fonts with font face TerminusBoldVGA and size 14 or 16 are optimized for 9 pixels width glyph matrix and can not be used with
framebuffer video modes.
The fonts with font face Terminus and size 14 or 16 can be used both with 8 and 9 pixels width glyph matrix. In the regular text video modes the width of the glyph matrix is 9
pixels. If you use the package svgatextmode then the width is 8 or 9 pixels and you probably know it. The Terminus font in this version of console-setup is version 4.26.
View 7 Replies
View Related
Mar 9, 2011
This is a C++ program I wrote years ago that has been chugging along fine with no problems until I recently upgraded from Slackware 13.0 to 13.1. Suddenly the process dies with a segfault. I recompiled against the new libraries and still no luck. This is the offending bit of code:
Code:
int comm_handler::transmit(const byte* out, size_t len) {
size_t written = 0;
ssize_t count;
int fail = FALSE;
[code]....
When it is called with out = "ATH0 " and len = 5, I get a segfault. When I call it with out = "ATH0 " (note trailing space), it goes through. Unfortunately I need a carriage return at the end or the modem doesn't process the command.
View 14 Replies
View Related
Feb 17, 2011
how to make creative web cam working with ubuntu
View 1 Replies
View Related
Jul 7, 2010
I wanted some input on chronic problems with Ubuntu:
1. Why does wireless almost never work right on Ubuntu?
2. Why, when Ubuntu just decides to turn off my wireless card, can I not just turn it back on?
3. Why do tar balls almost never unpack right?
4. Why are printer drivers so buggy?
5. Why do my MP3 players and digital cameras not work with Ubuntu?
I spent 3 hours last night trying to unpack a tar.bz2 file so I can run my Ralink network card. It worked fine until my son unplugged my computer. Now my card is disconnected and it will not reconnect. When I check forums no one has a simple answer for something as simple as turning a network card back on. On my Apple, it's simple: click my wireless icon and hit "on." tell me an easy way to just turn my wireless card back on, it would renew my faith a little in Linux.
View 4 Replies
View Related
Sep 11, 2010
When I installed my 64 bit system of Ubuntu 10.04 the sound worked very well and I were very happy. The problem started however when I installed Skype which uses pulseaudio. As soon as I start skype (or any other application that uses pulse, HoN for example) the applications sound output or input does not work at all. If I have pulseaudio started in some way, applications that I suppose do not use it like spotify or flash player stops to produce sounds. And when I type "pulseaudio" in the terminal it gives me this:
[Code]...
View 3 Replies
View Related
Apr 8, 2011
I can't get flash controls to work. If the video auto-plays, it starts just fine, if not, I'm out of luck. I've tried reinstalling flash through the software center. Even if it autoplays, I can't control volume or pause or anything. I'm at the mercy of whatever is already there.
Ubuntu Karmic 9.10 - all updated as of 1/2/2009
Firefox 3.5.6
On a Lenovo Thinkpad R400
View 3 Replies
View Related
Feb 6, 2011
I'm not to sure this is the place I should post this, but couldn't find any place for it to fit. So here is the deal..I am running 10.10 with the standard LAMP setup. I am running a drupal 7 site no problems. What I need to do is run a multi site sub directory. (domain.com/newsite). So far the best I can do is get a directory index of the second site (domain.com/newsite), but cant run the installer. (I did the symbolic link to the doc root of the drupal install.)If I type in the url domain.com/newsite/install.php I get not found. I placed an index.html test page and it renders fine. I think I'm close but just not there yet.
Any ideas from anyone? I can get Sobdomains to work fine on a test mache, but sadly I need the domain/site to work due to lack of DNS support at the moment. I tried to get some info from the drupal forum, but everything always points to subdomin setups. I also posted over there, but it seems like the forums have very little support and are a bit on the slow side.
[Code]...
View 9 Replies
View Related
Jul 29, 2010
I'm having trouble getting compiz to work on my Laptop. It worked for a while and then I turned on Shift Switcher and a message popped up saying..."The new value for the button binding for the action Terminate in plugin Shift Switcher conflicts with the action Zoom Window of the Scale Addons plugin. Do you wish to disable Zoom Window in the Scale Addons plugin?" I was given the option of Set Terminate anyway, Don't set Terminate, and Disable Zoom Window. I clicked Don't set Terminate and ever since the only thing that works in compiz are the bindings in the general options. I've used synaptic to completely remove and then reinstall compiz but the problem persist. Something else weird, all of the changes I made are still there, even after complete removal, but they don't work?
View 2 Replies
View Related
Oct 29, 2010
When I try to hibernate, the computer just goes to a blank, black screen and doesn't turn off. I have to hold the power button to get it to shut down, and when I turn it back on none of the programs running before hibernation have been saved.
View 8 Replies
View Related
Feb 16, 2011
I just recently (about an hour ago) installed Ubuntu Netbook edition on my old laptop, and I was greeted with the message, that unity could not be run due to some sort of missing driver...fair enough, I was then greeted with the default Ubuntu desktop, I installed all my needed software (wine, google chrome) and installed the missing display drivers. I then rebooted the system, and once again I am stuck with the default desktop, and not the Unity interface. I checked the software center, and it says Unity IS in fact installed.. And yet I cannot make it appear. So now I ask you Ubuntu veterans. How do I make it work?
P.S. I wiped the system of windows, and the computer is an old HP Pavilion DV6000
View 2 Replies
View Related
Apr 20, 2011
I am trying to configure evolution to work with MS Exchange but cannot get it to work. I also have an android phone which is dead easy to configure, but I've tried so may settings but cannot get evolution to connect. Anyone also having had this problem and finally solved it? I also tried DavMail with no luck.
View 6 Replies
View Related
Feb 10, 2010
If I have SMP kernel would it work with single processor or only work with multiple processors system?
View 6 Replies
View Related
Apr 23, 2009
I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.
View 2 Replies
View Related
Feb 2, 2010
I have followed the instructions at http://www.vcn.bc.ca/~dugan/setting-up-slackware.html (under "Making Firefox Perfect"), but I still get the error message"Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program."
View 13 Replies
View Related
Jan 12, 2011
I am trying to set up an unused machine as a web server for my students.
I originaly tried with Redhat 9 and had the same problems. I am using an HP Pentium 4 system with 2 network cards.
1) The built in Realtek RTL8139 configured as eth0.
2) An add in Broadcom BCM5782 Gigabit card that was added I presume when the built in card failed (we have a number of machines like this around the school), configured as eth1.
I did not realize the second card was installed when I had Red hat 9 on the system, but I discovered it after installing centos 5.5. I have tried to configure the system to use DHCP with and without getting the DNS from the provider, and both ways the system complains that there is no connection, check the cable, so it will not activate the device.
When I configure the device to use a fixed IP, I can configure the device, but I can't ping anything on the network other than myself. I suppose it is possible that both network cards have failed, but I get green link lights with both cards, when I connect them to my router, so I am at a loss as to why neither board seems to work. I don't have a spare network card to slide in because the computer takes a special mini card. Is there an easy way to test the board to see if the board is a problem?
View 2 Replies
View Related
Apr 27, 2011
i have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,
View 1 Replies
View Related
Jan 14, 2011
I just installed Squeeze_di_rc1, whit gnome, when i insert any usb stick i recive how can i solve it?At the same times i tried to format in fat 16 with gparted but the result is the same.
View 6 Replies
View Related
May 29, 2011
What used to work flawlessly in F14 now does not work in F15. I have done a fresh installation of F15 and all seemed to go well other than a few minor tweaks. In F14 I had an /etc/fstab file that worked well but in F15 does not work. I have 3 external USB drives, mybook, black & StoreIt. With F14 my fstab worked very well and booted regardless of weather or not any particular drive was connected at any given time. Typically I have the mybook and black connected at home and the StoreIt connected at work, but regardless it would boot and work without any problems.
[Code]...
View 1 Replies
View Related
Mar 27, 2010
I'm trying to get sendmail to work with php but i can't even seem to get it to work on it's own. I'm logged in as root (su root). I have in php.ini: commented out smpt and smtp port (win 32 only it says) and sendmail_from commented out
For unix only
sendmail_path=/usr/lib/sendmail
sendmail seems to be installed i can run it from bash. I try sending an email using:
sendmail example@whatever.com
message
ctrl + D
which i saw somewhere however the email doesn't seem to go through. I've also tried (after restarting apache server) to use mail() php function and that also doesn't work. Any ideas?
View 3 Replies
View Related
Jan 9, 2011
As far as I can tell, I have all the applicable applications and plugins (for this, Debian 5.0.6 installation). I type in Code:about:plugins in either iceweasel or epiphany browser and get a list that includes:
Code:
Installed plugins
Find more information about browser plugins at mozilla.org.
[code]...
View 6 Replies
View Related
Jun 15, 2010
Lucid on desktop. I'm interested in using U1, but have had no success getting it to work.
Tomboy notes: Telling me they are synchronized, but they are not.
View 3 Replies
View Related