Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Cant log in from external monitor on laptop with broken screen. Post 303029485 by nezabudka on Sunday 27th of January 2019 02:50:30 PM
Old 01-27-2019
HI, debpleb
Try to start switching to a virtual console and see the logs.

--- Post updated at 19:50 ---

In any case, I will give the procedure
press Alt+Ctrl+F1
Log in and
sudo journalctl -p err
First of all, check the ability to switch to the console
This User Gave Thanks to nezabudka For This Post:
 

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Can you use a gps touch screen for a monitor?

I have been looking for a monitor wich i can hold in my hands comfortably and just sit back and relax with it doing my computer work on it via touch screen. Is it possible since the gps has usb to control my pc wich it? and view my desktop? If not does anyone know of a monitor that would work. Im... (3 Replies)
Discussion started by: FaoX666
3 Replies

2. Ubuntu

Using Xorg t extend laptop screen to external monitor

Hey, I was trying to configure my laptop's xorg.conf file so I could use a external monitor. But things got messed up and now I can't get the original back (meaning a high resolution desktop on the laptop). What went wrong? How is it possible that the server always gets stuck at the line: ... (1 Reply)
Discussion started by: ElJavi
1 Replies

3. Shell Programming and Scripting

Monitor Port, if active, pipe command to screen

I am a linux newbie and I am learning. I need a script that will monitor a port and if active -- only active, not listening or waiting -- then pipe some commands to the screen as if they were typed on the keyboard. Can a bash or perl script do this and if so, could someone help me out? Thanks. (0 Replies)
Discussion started by: bulgin
0 Replies

4. Hardware

get touch screen driver for Dell ST222OT Monitor

Hi We're looking for linux touch screen module (driver) for Dell ST222OT Monitor. BTW Has someone already tried to use this monitor under linux and the touch screen works? (0 Replies)
Discussion started by: ccc
0 Replies

5. Shell Programming and Scripting

Use “tail -f” to monitor and report, but the top line should be always fixed on the screen.

Title: Use “tail -f” to monitor and report, but the top line should be always fixed on the screen. Hi, dear Unix experts, I am trying to find a Unix command (or scripting) on how to continuously display a text file of its last several lines of contents. But during this displaying, I want some... (2 Replies)
Discussion started by: df3c
2 Replies

6. Red Hat

Screen Resolution on External Monitor from RHEL 6.3

Hey everyone, I have a KVM or External monitor (19" Dell) that I am trying to hook up to a laptop running RHEL 6.3 (via VGA which is the only option). When I connect it, and go to System->Preferences->Display, the max resolution option it provides me for these external devices is 1280x1024. ... (2 Replies)
Discussion started by: rchaud10
2 Replies

7. UNIX and Linux Applications

Ability to use vSphere client to monitor guest VMs on my laptop

Hi guys. I'm a newbie to VMs. What I want to achieve is that I create VMs on my laptop that I can monitor and access using vSphere client. I am using an Acer laptop with intel processor. Which hypervisor will i need ? How do I need to install it ? Is these any free solution ? ... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies
vt(7I)								  Ioctl Requests							    vt(7I)

NAME
vt - Solaris virtual console interface SYNOPSIS
#include <sys/kd.h> #include <sys/vt.h> DESCRIPTION
The virtual console device driver -- also known as virtual terminal (VT) -- is a layer of management functions that provides facilities to support and switch between multiple screen faces on a single physical device. VT's are accessed in the same way as other devices. The open(2) system call is used to open the virtual console and read(2), write(2) and ioctl(2) are used in the normal way and support the functionality of the underlying device. In addition, some virtual console-specific ioctls are provided and described below. The VT provides a link between different screen faces and the device. The active virtual console corresponds to the currently visible screen face. Device input is directed to the active console and any device-specific modes that change on a per virtual terminal basis are set to the characteristics associated with the active console. You manage VT's by intercepting keyboard sequences ("hot key"). To maintain consistency with Xserver, the virtual console device driver supports the Ctrl, Alt, F# and arrow keys. The sequence AltL + F# (where AltL represents the Alt key and F# represents function keys 1 through 12) is used to select virtual console 1-12. The sequence AltGraph + F# (where AltGraph represents the right Alt key and F# represent function keys 1 through 12) is for virtual console 13-24. Alt + F1 chooses the system console (also known as virtual console 1). The sequence Alt + -> (where ">" represents the right directional arrow) selects the next VT in a circular ring fashion and Alt + <- ( where "<" represents the left directional arrow) changes to the previous console in a circular fashion. The sequence Alt + ^ (where "^" represents the up directional arrow) is for the last used console. Virtual console switching can be done automatically (VT_AUTO) on receipt of a ``hot-key'' or by the process owning the VT (VT_PROCESS). When performed automatically, the process associated with the virtual console is unaware of the switch. Saving and restoring the device are handled by the underlying device driver and the virtual console manager. Note that automatic switching is the default mode. When a ``hot-key'' is sent when in process-controlled switch mode, the process owning the VT is sent a signal (relsig) it has specified to the virtual console manager (see signal(3C)) requesting the process to release the physical device. At this point, the virtual console man- ager awaits the VT_RELDISP ioctl from the process. If the process refuses to release the device (meaning the switch does not occur), it performs a VT_RELDISP ioctl with an argument of 0 (zero). If the process desires to release the device, it saves the device state (key- board, display, and I/O registers) and then performs a VT_RELDISP with an argument of 1 to complete the switch. A ring of VT's can contain intermixed auto mode and process control mode consoles. When an auto mode process becomes active, the underly- ing device driver and the virtual console manager handle the restoring of the device. Process control mode processes are sent a specified signal (acqsig) when they become the active console. The process then restores the device state (keyboard, display, and I/O registers) and performs VT_RELDISP ioctl with an argument of VT_ACKACQ to complete the switching protocol. The modify-operations ioctls (VT_SETMODE, VT_RELDISP, VT_WAITACTIVE, KDSETMODE) check if the VT is the controlling tty of the calling process. If not, the sys_devices privilege is enforced. VT_ACTIVATE requires the sys_devices privilege. Note that there is no controlling tty and privilege check for query/view operations. IOCTLS
The following ioctls apply to devices that support virtual consoles: VT_ENABLED Queries to determine if VT functionality is available on the system. The argument is a pointer to an integer. If VT functionality is available, the integer is 1, otherwise it is 0. VT_OPENQRY Finds an available VT. The argument is a pointer to an integer. The integer is filled in with the number of the first available console that no other process has open (and hence, is available to be opened). If there are no available VT's, -1 is filled in. VT_GETMODE Determines the VT's current mode, either VT_AUTO or VT_PROCESS. The argument is the address of the following structure, as defined in <sys/vt.h> struct vt_mode { char mode; /* VT mode */ char waitv; /* not used */ short relsig;/* signal to use for release request */ short acqsig;/* signal to use for display acquired */ short frsig;/* not used */ } /* Virtual console Modes */ #define VT_AUTO 0 /* automatic VT switching */ #define VT_PROCESS 1 /* process controls switching */ The structure will be filled in with the current value for each field. VT_SETMODE Sets the VT mode. The argument is a pointer to a vt_mode structure as defined above. The structure should be filled in with the desired mode. If process-control mode is specified, the signals used to communicate with the process should be specified. If any signals are not specified (value is zero), the signal default is SIGUSR1 (for relsig and acqsig). VT_RELDISP Tells the VT manager if the process releases (or refuses to release) the display. An argument of 1 indicates the VT is released. An argument of 0 indicates refusal to release. The VT_ACKACQ argument indicates if acquisition of the VT has been completed. VT_ACTIVATE Makes the VT specified in the argument the active VT (in the same manner as if a hotkey initiated the switch). If the specified VT is not open or does not exist, the call fails and errno is set to ENXIO. VT_WAITACTIVE If the specified VT is currently active, this call returns immediately. Otherwise, it sleeps until the specified VT becomes active, at which point it returns. VT_GETSTATE Obtains the active VT number and a list of open VTs. The argument is an address to the following structure: struct vt_stat { unsigned short v_active, /* number of the active VT */ v_signal, /* not used */ v_state; /* count of open VTs. For every 1 in this field, there is an open VT */ } With VT_GETSTATE, the VT manager first gets the number of the active VT, then determines the number of open VTs in the system and sets a 1 for each open VT in v_state. Next, the VT manager transfers the information in structure vt_stat passed by the user process. KDGETMODE Obtains the text/graphics mode associated with the VT. #define KD_TEXT 0 #define KD_GRAPHICS 1 KDSETMODE Sets the text/graphics mode to the VT. KD_TEXT indicates that console text is displayed on the screen. Normally KD_TEXT is combined with VT_AUTO mode for text console termi- nals, so that the console text display automatically is saved and restored on the hot key screen switches. KD_GRAPHICS indicates that the user/application (usually Xserver) has direct control of the display for this VT in graphics mode. Nor- mally KD_GRAPHICS is combined with VT_PROCESS mode for this VT indicating direct control of the display in graphics mode. In this mode, all writes to the VT using the write system call are ignored, and you must save and restore the display on the hot key screen switches. When the mode of the active VT is changed from KD_TEXT to KD_GRAPHICS or a VT of KD_GRAPHICS mode is made active from a previous active VT of KD_TEXT mode, the virtual console manager initiates a KDSETMODE ioctl with KD_GRAPHICS as the argument to the underlying console frame buffer device indicating that current display is running into graphics mode. When the mode of the active VT is changed from KD_GRAPHICS to KD_TEXT or a VT of KD_TEXT mode is actived from a previous active VT of KD_GRAPHICS mode, the virtual console manager initiates a KDSETMODE ioctl with KD_TEXT as the argument to the underlying console frame buffer device indicating that current display is running into console text mode. FILES
/dev/vt/# VT devices. SEE ALSO
ioctl(2), signal(3C), wscons(7D) NOTES
By default, there are only five virtual console instance login prompts running on /dev/vt/# (where "#" represents 2 to 6) in addition to the system console running on /dev/console. Normally Xorg uses the seventh virtual console (/dev/vt/7.) To switch from consoles to Xserver (which normally picks up the first available virtual console), use [ Ctrl + ] Alt + F7 . # svcs | grep login online 17:49:11 svc:/system/console-login:default online 17:49:11 svc:/system/console-login:vt2 online 17:49:11 svc:/system/console-login:vt3 online 17:49:11 svc:/system/console-login:vt4 online 17:49:11 svc:/system/console-login:vt5 online 17:49:11 svc:/system/console-login:vt6 console-login:default is for the system console, others for virtual consoles. You can modify properties/disable/enable and remove/add virtual consoles using smf(5): # svccfg -s console-login add vt8 # svccfg -s console-login:vt8 setprop ttymon/device=astring: "/dev/vt/8" # svcadm enable console-login:vt8 SunOS 5.11 22 Sep 2008 vt(7I)
All times are GMT -4. The time now is 02:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy