I run a custom build of linux running kernel 2.6.24 and busybox. At the moment I'm investigating a kernel panic. The problem is that after 10 minutes the screen is blanked, i.e. it is still on but has been turned black. If you press a key then the command prompt is shown once again, but if the kernel has crashed then this won't work and any info about the panic is inaccessible. So I'd like to prevent the display being blanked. I've tried booting with 'apm=off' and 'apm=off acpi=on' kernel parameters but neither had any effect.
When I try to load Ubuntu (recovery mode) or if I press Ctrl+Alt+F1, the image gets corrupted showing a white screen with black writing on it, but which is unreadable. Also the words seem to be spelled backwards. I'm trying to install an NVIDIA driver and I need to stop first the X server.
How to configure Linux text console to automatically turn of the monitor after some time? And by "text console" I mean that thing that you get on ctrl+alt+F[1-6], which is what you get whenever X11 is not running. And, no, I'm not using any framebuffer console (it's a plain, good and old 80x25 text-mode). Many years ago, I was using Slackware Linux, and it used to boot up in text-mode. Then you would manually run startx after the login. Anyway, the main login "screen" was the plain text-mode console, and I remember that the monitor used to turn off (energy saving mode, indicated by a blinking LED) after some time. Now I'm using Gentoo, and I have a similar setup.
The machine boots up in text-mode, and only rarely I need to run startx. I say this because this is mostly my personal Linux server, and there is no need to keep X11 running all the time. (which means: I don't want to use GDM/KDM or any other graphical login screen). But now, in this Gentoo text-mode console, the screen goes black after a while, but the monitor does not enter any energy-saving mode (the LED is always lit). Yes, I've waited long enough to verify this. Thus, my question is: how can I configure my current system to behave like the old one? In other words, how to make the text console trigger energy-saving mode of the monitor?
How do I change the screen blanking behavior on Linux virtual terminals?
For example, if I switch to a VT from X, login, and leave the system alone for 5 minutes or so, the screen will blank like a screensaver. It comes back with any keypress, like a screensaver.
Mostly I just want to change the timeout, but I'm also interested in other settings.
If it helps, one of my systems is running Ubuntu 10.04 with the stock graphics drivers. fbset shows the console using the radeondrmfb framebuffer device.
The system always boot up in Graphic Mode. After installation of Web Server, I want to disable Graphic Mode and change it to boot to Text Mode to save memory. Is there a way to disable graphic mode?
The X server in Debian seems to have a "funny" habit to suddenly start blanking the screen if I don't touch the mouse or the keyboard for a while, although I've used the xset command (xset -dpms s off) in my ~/.xinitrc to tell Xorg specifically NOT to blank the screen. I know how to disable screen blanking in /etc/X11/xorg.conf, but I'd rather not have the xorg.conf file at all.
So, I'd be interested to hear your suggestions about how to disable the Xorg screen blanking without using the xset command or the xorg.conf file. Is there some other file in /etc/X11/ that I could tweak to disable this highly annoying desire of Xorg to insist on blanking my screen after a bit of idle time?
From system security point to view I want to prohibit 'linux rescue' mode in my installed RHEL system. Because as per my knowlege through linux rescue mode anyone who have physical access to system can mount root filesystem(/) and retrieve all data without knowing root password. Please guide should i encrypt / on any alternative .
im currently using a RHEL5 RIS server in my Lab to deploy rhel5 for all my systems. everything has been configured and installation works fine, but i am not able to run the installation in text interface mode. when i type "linux text", i get an error saying invalid kernel parameter. i'll paste my /etc/dhcpd.conf file here. please have a look and let me know what changes i should be making in order for my text interface installation to be working.
To force myself to use CLI all the time, I've installed Ubuntu Server edition on my work laptop. However, I still want to be able to view PDF ( rendered as normal PDF, not converted to text ). Basically I want a totally CLI environment, except for PDF viewer.
I installed it on very old machine P3 1200Mhz and it works ok but I have problem with text mode because I have 75x132 aprocs. text on screen and I don't see what I type or system replay. Is there simple way to change to 25x80 or something with greater letters. I don't have GDI.Someone sad to me to do:sudo dpkg-reconfigure console-setupand it's does the job but when I restart system it's gone.
I'm trying to setup and configure a server entirely with text only run mode 3 on a virtual machine so I can redo my current live server. I'm now trying to set up the firewall of the system using iptables. I've read up on it and came up with the following:
-clear all rules #iptables -F -set default policy rules #iptables --policy INPUT DROP #iptables --policy FORWARD DROP
[Code]....
Everything above worked for me but just out of interest I looked at my live server which was configured using a GUI. I ran iptables-save and it was pretty much the same but its port open lines read like this:
#iptables -A INPUT -p tcp -m state --state NEW --dport 80 -j ACCEPT
so finally my question is do I really need the "-m state --state NEW"? Wouldn't having that drop established connections on those ports? I'm just confused as to what exactly the NEW state is doing and would it make a difference if I didn't include it.
I installed CentOS 5.4 in a Virtualbox instance using the text mode installer. The GUI installer crashes. I chose the "Server (GUI)" option when installing the system, but upon completion of the install, I'm presented with a text mode login screen. Logging in as root drops me to a shell in text mode as I would expect.
What exactly IS "Server (GUI)?" I was thinking it would be a stripped down X11 desktop.
The main role of the Virtualbox instance is to run a server stack that we run on other CentOS machines, but I want Eclipse and perhaps just a few other GUI tools on it, without all the kitchen-sink crap that (I assume, coming from the Ubuntu world) comes with a "Desktop" install.
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.
My problem is that I am trying to install an Nvidia driver on ubuntu 10.04, and I can not access my console mode by pressing ctrl alt f2. When I press that keystroke my cursor will disappear till I press alt f7.
I have just come over from the darkside (Microsoft) and am finding problems with a few items.
I am trying to configure the monitor/video card as I am having problems with the nvidia geforce 4 integrated video card. Some instructions I have sat to press ctrl alt and f1 to go to the text console. I do but it asks for a login and does not accept my user name and password.
I've just tried to install X on my new debian system which had a nasty side effect. I can see the bootcycle up to "Waiting for /dev to be fully populated." and then the screen switches into a display mode unsupported by my display. I've had problems like this many times before because the display returns it's capabable of resolutions like 2048x1536, which it just isnt. I've had to disable autodetection whenever using this display. One thing to note thought is that it's NOT X that's messing up the display. It's setting the wrong display mode even before the filesystems are mounted. And I've already uninstalled X with no change either. Also recovery(single user) mode has no proper display output either.
My problem is that I anyway cannot get to the text console when I have run the desktop environment. When I press Ctrl+Alt+Fx (where x - number of tty console), the video adapter doesn't send signal into monitor. Keyboard also stops reacting, only Magic SysRq Key works. The same result I can see when I turn off the desktop environment (I have uninstalled gdm) or kill X-server with the "kill -9" command. The only way to get to console (except window terminal) is remote connection via SSH.
The problem occurs only when I have run X-server. When I turn on the computer, I can see start messages. Since I've uninstalled gdm, I have also access to the console after I turn on my computer. I can normally switch between tty consoles, until I type "startx" command. Everything started when I've tryed to install non-free ATI video drivers. They practically worked, because I've had some problems with them (I just don't remember what problems), so I've uninstalled them and returned to the open. Then this problem apeeared. I tried to reinstall Xorg, change kernel (installed from repos), switch off the framebuffer, but it gave nothing.
I can gnome-open or eog a .jpg file in terminal command window in the gui mode. But when I use console, this commands doesn't open them up but instead gives an error. I want to try opening images, text files, videos, music in console mode, but the commands eog and gnome-open don't work here.
I'm having difficulty switching from GUI to console mode. I use ctrl-alt-f1 and the screen goes blank and I see a flashing cursor but I'm unable to do anything. I can switch back into GUI mode using ctrl-alt-f7. Also at times I see the word Ubuntu with 4 dots and 2 of them are orange if that's of any use. Like the initial boot loading screen.
I've tried going back to the default display drivers and that hasn't solved it. I'm using a CRT that's connected up to my display card via a VGA > DVI converter. *I've just checked and I can't get into recovery mode either
I recently upgraded from 10.10 to 11.04 and have been unable to switch to console mode (Ctrl+Alt+Fx key combo). The system just freezes on attempt (not even capslock on off works) and the only option is hard reset. I am on a SONY VAIO VGN-CR353, just in case.
I wanted to disable root logins in console, so I searched for that. I found that if I change root's bash to "/sbin/nologin" in "/etc/passwd", root user will not be able to login. So I did that. But when I wanted to use sudo command, it didn't show me root bash, but it only do the same thing as logging in as root in single user mode (shows message that this account is disabled). So, how I can disable root logins, but keep enabled sudo command for standard users?
how to disable the desktop effects of gnome in the console of F13? My desktop freezes every time directly after login, I assume the desktop effects could have something to do with it. (x86_64 + open nvidia driver)
I am using Arch Linux and want to disable console messages which are displayed when the kernel boots. I have tried the quiet and loglevel=2 options in /boot/grub/menu.1st as given below:
I have my headless server, and just plugged a spare monitor into it, opened up screen, ran htop on it, so I can see the system status, but the screen keeps shutting off after so long. The only way to "wake it up", is to use a local keypress (which means I have to hook a keyboard back up to it). I have already tried 'setterm -powersave off -powerdown 0', but it didn't affect it any. Is there any way to disable this powersaving mode?
my linux system doesn't have X only console login possible. i would like to deny all user to login from any sources, local machine, remote console (putty, winscp) etc. except root.
i've found something about /etc/security/access.conf and i've put:
+ : root : ALL - : ALL : ALL
but still users other then root are able to login (via putty for example).
After upgrading to Ubuntu 9.10 I no longer get a login prompt when switching to console mode e.g. (CTRL+ALT)-F1. Instead i just get blinking cursor in the top left corner. Key strokes are printed the screen but otherwise nothing happens. I can switch back and forth between X and the console normally.
Where are the consoles configured, and is there a corresponding log somewhere i can check? Has anyone had similars problem?
My system is an old Amilo Pro laptop with a VIA 800 compatible chip-set.