Debian Configuration :: Disabling/Removing Alternate/virtual Terminals (ttyN)
Jul 6, 2011
I'm building a Debian Live system, [URL], and I've pared it down to a very light distro. It is using the IceWM, has the basic linux commands, and very very little else.
When I run "top" and "ps aux", I see that I have multiple terminals and logins waiting to be used. It's a small amount, but I'd like to make that RAM usable elsewhere. The indicated commands are: "/bin/login -f" and "-bash", and I have one of each associated with each tty[1-7]. I may want to keep tty1 and tty2, just in case, but I can't imagine wanting 3-7.
So, what I'm looking for is a way to stop tty[3-7] from even starting in the first place.
I saw on one forum the suggestion of modifying the /etc/init/tty[1-7].conf files, but these files aren't present, I presume because it's a "Live" system.
View 5 Replies
ADVERTISEMENT
Dec 1, 2010
How would one disable the additional TTY Terminals in Xubuntu 10.10 so that there are not to many additional logins? I believe there are 7 total. I am trying to harden my system.
View 3 Replies
View Related
Aug 19, 2015
I just installed Stretch on my laptop and I have a problem with the terminals. The system loads fine on KDE and I can use it without issues. However, when I switch to the tty terminals, they move very fast horizontally and slowly vertically as if there is some sync frequency issue. Then if I move back to KDE most of the time it works ok, while some others it starts flickering like the terminals.
View 4 Replies
View Related
Feb 22, 2010
Running Debian Squeeze and when I try to switch between gnome and a system terminal ctrl-alt-f1(etc) I just get a black screen. Any thoughts? I'm using the radeonhd xorg driver but don't think that should affect it.
View 14 Replies
View Related
Apr 7, 2010
Let me quickly state that I am returning to Debian after quite a long break. I am trying to relearn some things. I suppose I'm somewhat old school. As in I originally installed from rawright, back in the days when you had to do practically everything by hand. I was quite happy with config and make. I actually learned a ton back then, as I started out knowing nothing. I guess I can learn to catch up with the modern linux world.
Anyway here is my question? In the old days if I wanted something not to be mounted I would simply comment out the entry in /etc/fstab. I notice that my USB drive is mounted but does not appear in the fstab. It is in mtab, and lsusb does show it.
If I wanted to secure a system, but not totally remove usb support from the kernel, how would I prevent the automounting of USB drives? What are the configuration files that govern their operation?
View 1 Replies
View Related
Jul 17, 2011
I'm trying to stop all boot time messages from appearing -- basically I'd like to have a simple blank screen from grub to xdm.
I tried everything -- used the "quiet" option in grub's config, added dmesg -n 1 to rc.local, changed console=ttySx, set kernel.printk in sysctl.conf to 4 1 1 7, and even eradicated rsyslogd altogether... to no avail. I still see all sorts of messages on my screen.
View 1 Replies
View Related
Jan 5, 2010
I found out that I do not have virtual terminals on my computer (Ubuntu 9.10). When I am trying to switch, say, to tty2 with Ctr-Alt-F2, I am getting a black screen with lonely cursor blinking in the upper left corner (no login prompt). my tty2.conf file is
Code:
# tty2 - getty
#
# This service maintains a getty on tty2 from the point the system is
# started until it is shut down again.
[code]....
View 7 Replies
View Related
Jul 13, 2009
Whenever I boot my machine into runlevel 5 (X support) I can't get to any of the virtual terminals. If I do a ps and grep for mingetty I see terminals 4-6 are running. But ctrl-alt-f{4-6} just put me to a blank screen. If I hit alt-f1 I get back to X. I've found that if I start tty2 by running "sudo mingetting tty2" I get the following error in /var/log/messages: mingetty: tty2: no controlling tty: Operation not permitted. I am not using selinux and have noticed that /etc/inittab no longer has the ttys. The reading I have done thus far says it's started by gdm but I don't really see a lot of info about controlling them. Any ideas on this?
View 1 Replies
View Related
May 12, 2010
Using 10.04 on my laptop, but I can't access the virtual terminals (ctrl+alt+f1-f6). Instead I get a weird screen with apparently randomly generated lines, as they change each time I attempt to access them. (Sometimes it is just a solid color.) They also appear on shutdown/ switching user. I'm using a VIA VX800 chipset.
View 2 Replies
View Related
Aug 22, 2010
how do I switch to the text-based virtual terminals when using Fedora under VMware? I believe that normally you use ALT-CTRL-F2 through ALT-CTRL-F6, and F1 switches you back, but the ALT-CTRL is intercepted by VMware to allow you to switch back to the host OS.
View 5 Replies
View Related
Jan 28, 2011
Switching between text consoles in a Linux virtual machine When the CTRL + ALT + F1 key combination is used to switch to another text console (terminal) on a Linux virtual machine, the host switches to a text console instead of the guest. Resolution The CTRL + ALT combination is used by VMware to direct the keyboard input to the host. Press CTRL + ALT + Space , press the F1 key (or desired Function key) while still holding down CTRL + ALT .
View 2 Replies
View Related
May 13, 2010
If I press Ctrl-Alt-F1 to access virtual terminal I am getting frozen X session and no virtual terminals.
ps -ef | egrep 'tty[1-6]'
gives
root 1024 1 0 22:58 tty4 00:00:00 /sbin/getty -8 38400 tty4
root 1028 1 0 22:58 tty5 00:00:00 /sbin/getty -8 38400 tty5
root 1036 1 0 22:58 tty2 00:00:00 /sbin/getty -8 38400 tty2
[code].....
View 10 Replies
View Related
Apr 16, 2011
I tried following the instructions in this link to disable and remove iptables firewall using commands:
# service iptables save
# service iptables stop
# chkconfig iptables off
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT
Its seems to work temporarily and then the firewall gets enabled again by itself even without restarting.
View 1 Replies
View Related
Jun 5, 2011
Has anyone else here had a problem getting virtual terminals to work when booting into F15's 'graphical mode'? This is what used to be runlevel 5 in the old SysV init system, before the switch to systemd. Before F15, I could do a Ctrl-Alt-F[n] (for n=1,...6) to get virtual terminals while in runlevel 5, and this was easy to control by editing /etc/inittab.
But with systemd, /etc/inittab is no longer used, and finding where the virtual terminals get created took me a bit of time. I tracked it down to the /lib/systemd/system/prefdm.service file, which seems to stop creating virtual terminals after tty1 in order to prevent the display manager and plymouth from conflicting on that virtual terminal. I'm using the Slim display manager (installed via yum), and I only got tty1 (showing console messages), tty2 took me back to X, and there were no tty3-6 any more. I noticed from ps that there was some kind of "plymouth --wait" process running, so I killed it. After doing so, the other virtual terminals showed up. Has anyone else here experienced something similar?
It appears that /lib/systemd/system/plymouth-quit.service is not exiting properly, and this is causing the problem. This problem only occurs in graphical mode, not in console mode (what used to be runlevel 3). My first solution was to put "/bin/plymouth quit" in /erc/rc.d/rc.local, and upon rebooting that did indeed fix the problem. But eventually I just removed plymouth altogether, which also fixes the problem. It would be nice though if plymouth-quit.service just worked as it was supposed to. I'm just wondering if anyone else has seen this problem.
View 5 Replies
View Related
Jun 6, 2010
Has anyone had any success getting splashutils to compile on Lucid? Seeing as ftp://ftp.berlios.de/pub/ fbsplash/ debian/splashutils/ packages are getting a bit long in the tooth and trying to compile from source has been a headache.I miss not having background images on my virtual terminals
View 3 Replies
View Related
Feb 1, 2009
loaded fedora 10 on my laptop.I get the runlevel 5 in the first one (CTRL+ALT+F5).nothing happens when I press the F2 through F6.
View 3 Replies
View Related
Apr 25, 2010
Not a deal breaker but annoying nevertheless: EeePC 900a with KMS, external monitor plugged in, lid closed and .xinitrc running this line before the window manager:
Code:
xrandr --output LVDS1 --off --output VGA1 --mode 1920x1080
Works fine, except: Virtual Terminals are at the native LVDS resolution 1024x600 meaning that they only use the upper left hand corner of the 1920x1080 monitor. Why? (Or maybe I should say that their resolution is right - the font is correct, not huge - but the VT is limited to 1024x600.)
View 1 Replies
View Related
Feb 6, 2010
Usually I get a login prompt on Ctrl+Alt+F[1-6], but now I just see a blinking cursor in all of them, along with some boot messages in the first virtual terminal.
Code:
fsck from util-linux-ng 2.6
init: bootchart main process (462) terminated with status 2
init: bootchart post-stop process (474) terminated with status 127
/dev/sda2: clean, (integer)/(integer) files, (integer)/(integer) blocks
init: ureadahead-other main process (870) terminated with status 4
What's even weirder about this is that I uninstalled bootchart a few months ago. Whether that's related or not is beyond me, but the virtual terminals did stop working somewhere around that time. I solved this by reverting to my original /etc/network/interfaces file. Without the loopback "lo" device, the runlevel was never set, and virtual terminals never loaded.
This should be somewhere in the interfaces file:
Code:
auto lo
iface lo inet loopback
View 1 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
Oct 4, 2010
When I installed 10.04 in April, I started having all sorts of problems with my Virtual Terminals (CTRL-ALT-F*). First they were inaccessible completely, then they were there, but not visible, i.e. I could use them to login and run commands, but there was no screen output, then they were gone again, and the fight just went on and on. I just recently got this functionality back after months just messing around, testing different peoples solutions, and really just not being afraid to break the whole thing. Ultimately, it boiled down to nVidea graphics driver problems.
However, now I notice that outside of gdm, the screen is not aligned properly. It seems to be about 2 characters to the left and several lines lower than it should be on VT1-VT6, while gnome is aligned perfectly. I can use my screens auto-adjust to fix the problem, but when I switch to another terminal, the problem comes back. It's not really a huge deal, but after all this trouble, I really just want them to work the way they are supposed to work. Does anyone know of a way to set the screen alignment via software, or am I just stuck dealing with it?
View 1 Replies
View Related
Mar 25, 2011
I have had this problem repeatedly with aptitude recently. I run Debian Squeeze but in a somewhat unusual fashion - I create a custom live image using the builder on the Debian Live website and then run the live image in persistent mode off a flash drive. For all intents and purposes this has never behaved any differently from a standard Debian install and has given me a great deal of flexibility and power, for which I'm grateful.
However there's been one strange phenomenon that keeps occurring. After a certain point - not before - aptitude stops removing dependencies when I remove packages, though in the ncurses interface the option is shown as switched on (and my .aptitude/config file does not switch it off, nor does any other configuration file that I can find, though maybe I'm missing something). This occurs even in the case of dependencies which I know cannot be depended upon by any other package. e.g. the e17 package in unstable brings in libecore, libevas etc. which are depended on only by e17 as I have no other Enlightenment packages installed. But removing e17 removes only the e17 package and not the dependencies.
The other odd thing is that this does not occur at first. Aptitude works fine for a while on a clean system. At some point though it simply changes in behaviour.
View 1 Replies
View Related
Feb 16, 2010
I just recently reinstalled 9.10 and everything I normally use with my workstation is working fine except for virtual terminals.
ctrl+alt+f1-f6 just returns with a blank screen.
ctrl+alt+f7 returns to gdm session
ctrl+alt+f8-f12 also yield no information.
View 3 Replies
View Related
Jan 7, 2011
I'm not sure if this is a bug in Squeeze beta 2 or if it's something I've overlooked. I have a Maxtor 250 GB external USB drive that I use for backups. It gets auto-mounted fine, always in the same place, and from my normal user account I can write to it, even delete directories on it if I want to. But when, from Gnome, I select the "Safely remove" option, I get an error to the effect that it can't stop the device. The weird thing is that the thing actually *is* unmounted. I've checked the mount point and it's no longer there.Is there some package I maybe should've installed but haven't? I'm not really worried about data loss, since I'm sure the drive wouldn't unmount unless it was properly synched; it's just the error message that bugs me.
View 2 Replies
View Related
Apr 26, 2011
In an attempt to minimize my system when I mark for removal libcups2 using synaptic it asks to install 7 not authenticated packages, however if I choose mark for complete removal it asks to install the same 7 packages and remove every single installed package from epiphany to gimp to zenmap. Any ideas as to whats going on with that?
Squeeze 6.0.1
kernel 2.6.32-5-amd64
intel core i5
[code]...
View 3 Replies
View Related
May 5, 2011
I have a fresh Debian install, since this install was on a desktop, I had an internet connection and didn't notice (it was late, I was half asleep) I opted to download a whole load of packages I didn't really need. I thought all was doomed until I remembered that I have done another Debian install but a week ago on a laptop, which has a nice clean install without all the bloat.
So I ran dpkg --get-selections > selections
and had it sent to my new desktop installation.
Now if I run dpkg --set-selections < selections followed by dselect-upgrade nothing happens. I assume this is because the smaller list contains all the packages 'to be installed' which already are, and all the missing packages are not being purged. Do I need to explicitly add all the packages I want to purge to the 'selection' list or is there a better way of doing it?
View 1 Replies
View Related
Jun 12, 2011
I am an old Debian user, ho just reinstalled it again to see how it evolved since my las version (3.2). I am sharing it with Arch Linux, And decided to let bot of them. I am using GDM compiled and configured in Arch, and removed GDM2 from Debian (i just like the easy menu.list from the old GDM). The problem is that when i update the kernel, it didn't fing GDM and drops an error message. I tried removing the distro-preconfigured Kernels, as i compiled my own 3.0.0-rc2 Kerenel, but i cant delete the previous ones. Now everytime i do an install or uptgrade, apt-get drops wastes some time, and drops an error message:
[code]...
What can i do? i googled some similar errors, but where just messed up mirror.lists, or similar, i know it isnt the cause of fail.
View 2 Replies
View Related
Dec 28, 2015
Had an issue on one of my Debian stable servers the other day. After doing apt-get upgrade I was prompted to do autotoremove.
It wanted to autotremove
Code: Select allStart-Date: 2015-12-21 16:25:05
Commandline: apt-get autoremove
Remove: sendmail-cf:amd64 (8.14.4-8), exim4-config:amd64 (4.84-8), sendmail-base:amd64 (8.14.4-8)
End-Date: 2015-12-21 16:25:07
After doing this I rebooted my server (a few days later). After rebooting I had no ipv4. I tried statically assigning IP addresses to no avail. Ran ifconfig eth0 down/up which got me nowhere. Eventually decided to ask "Okay, what changed". Started installing packages that were autoremoved. Had to install from the apt cache using dpkg. First one I tried was sendmail-base. Then did ifconfig eth0 down/up, which gave me networking back.
I have checked the dependencies for sendmail-base and I see nothing that would relate to networking, so I'm really confused on why this happened. I had backups of the server so I went a week back and noticed sendmail-base was installed at that time. So I went a day back, where sendmail-base wasn't installed, and installed it. Sure enough it brought back networking. I'm just stating this because it is more proof that sendmail-base was the missing component.
View 0 Replies
View Related
Aug 12, 2010
I've got an 8-disk raid-5 setup, and one of the disks failed. I shut the system down, replaced it, and powered the box back on again. Then, I made a catastrophic mistake; I 'failed' and removed the wrong disk (should have been sdj1, and I typed sdk1 by accident). I tried to re-add sdk1 back to the raid array, but it got listed as 'spare'. My raid array is off-line, since I now have 2 disks unavailable.
I know that the data still exists on sdk1, is there any way I can get the raid array to recognise the fact that it's a valid part of the array, and not a spare disk? At least if I can do that, I'll have a degraded but accessible array, and then I can rebuild the array on the properly replaced disk.
View 7 Replies
View Related
Apr 7, 2011
I'm currently dual-booting Squeeze & Windows XP on a machine i use frequently.
In my experience on the desktop, i now see no reason to have Windows XP as a boot option, & wanted to try & avoid a full re-installation of Debian in order to remove XP (merging it's partition with / ).
I have a checklist that i put together, but wanted to be sure this was all correct before going forward.
1. Perform full back-up of all data.
2. Boot into Debian, through GUI -
System Tools > Disk Utility
- Select HDD (80GB Hard Disk)
- Select windows partition ( /dev/sda1 )
- Format /dev/sda1 to Ext4 Filsystem
3. Boot Live CD
- Use gParted to extend /dev/sda2 (was 38GB, will extend to 78GB)
4. Remove XP from the boot menu.
( Note: My ~ folder is on the same physical drive as / (same volume), but i actually store all Media on a separate physical drive which is formatted in NTFS. I plan on reinstalling XP using a virtual hard disk, & sharing that with the virtual machine.Here is a screenshot of my Disk Utility - [URL]
View 6 Replies
View Related
Jul 16, 2015
I have a Debian testing system on a laptop that used to have Windows 8 on it. I kept the EFI boatloader and its partition, but now every time the system boots, it first tries to boot into Windows (which isn't there anymore). Removing /boot/efi/EFI/Microsoft just leads to an error message when booting, with some component of Windows still trying to load and not finding those files.
The workaround for now is to go into the UEFI boot menu on every boot and selecting the "debian" entry, which works but is a bit cumbersome.How can I get rid of the Microsoft loader completely? I find a lot about repairing or re-adding the Windows bootloader, but nothing about removing it.
View 10 Replies
View Related