date
int64
1,220B
1,719B
question_description
stringlengths
28
29.9k
accepted_answer
stringlengths
12
26.4k
question_title
stringlengths
14
159
1,413,880,624,000
First of all, I'm a Linux User and know that df and tons of other CLI tools exist. I'm only looking for a GUI tool, this makes this question relevant, so please don't mention CLI tools. In the GUI arena, we do have tons and tons of disk analyzer tools. They don't work for me, what I need is a simple OVERVIEW over all...
Both GNOME Disks and GNOME System Monitor on my Ubuntu provide this: GNOME System Monitor: GNOME Disks: The theme makes the view a bit unclear, but the darker orange part shows the occupied space.
How to see system wide hard disk disk free with a GUI tool?
1,413,880,624,000
how to print the disks from lsblk in GIGA lsblk -io KNAME,TYPE,SIZE,MODEL dm-0 lvm 50G dm-1 lvm 16G dm-2 lvm 100G sdb disk 1.8T AVAGO sdc disk 1.8T AVAGO sdd disk 1.8T AVAGO sde disk 1.8T AVAGO we need to print all disks in GIGA we have the option -b to print in byte but we prefer in...
Try this: lsblk -b -io KNAME,TYPE,SIZE,MODEL | awk 'BEGIN{OFS="\t"} {if (FNR>1) print $1,$2,$3/1073741824"G",$4; else print $0}'
how to print the disks from lsblk in GIGA [closed]
1,413,880,624,000
My cloud server has an external device formatted as XFS. After expanding the volume, I will need to run the command: $ sudo xfs_growfs /dev/sdb Since it is critical for a service to keep writing on the device, would it be possible to run xfs_growfs without stopping the service? The usual "safe" way is to stop the ser...
xfs_growfs works online, no need to stop anything, no problem at all. As long as the larger /dev/sdb device size is detected properly, and you're actually using XFS on full disk instead of a partition, you can grow it directly. If there are partitions involved, you have to grow the partition first.
Should the storage device be stopped before using xfs_growfs?
1,413,880,624,000
I have a linux production virtual machine and I need to increase space in /usr/local folder. I have already attached a partitioned and formatted disk with capacity of 300 GB as follows. [root@CentOS6-4SVR ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root ...
Since you're using LVM already and don't have a filesystem mounted at /usr/local, you can simply add the new disk (partition actually) to the volume group and then increase the size of the root logical volume and filesystem: pvcreate /dev/xvdc1 vgextend VolGroup /dev/xvdc1 lvresize -r -l 100%FREE VolGroup/lv_root WAR...
What are the methods to increase capacity for local in usr in linux? [closed]
1,413,880,624,000
we want to verify if raid1 is configured on out linux machine so we found the answer on - https://serverfault.com/questions/110843/how-to-determine-if-a-centos-system-is-raid-1 but from the output - how we can be sure that raid1 is configured? and how to understand it from the command: dmesg | grep raid when non rai...
The output in the image you attached isn't necessarily showing you what you think it is. The "megaraid_sas" bits aren't specifying any RAID level in the OS, they're specifying the use of the "megaraid_sas" driver to access the disk. Given that, you are very likely using a MegaRAID controller, which is capable of vario...
how to identify if raid1 or raid mirror configure on OS disk
1,413,880,624,000
I'm new to linux and how it works. I recently installed a kali linux image onto a 32gb flash drive and stuck it into my pc and booted from it. All went well, and so I ran the df command and got this result: Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 788M...
Welcome to Linux... it will be good if you get to know your man pages. There is a lot of information there.... also do a little web researching, All of this information is 'out there somewhere' You are not looking at disk usage but total filesystem usage. If you read around a little you will see that all of your tmpfs...
Kali on 32gb flash drive displays 67gb storage
1,413,880,624,000
we want to identify bad block or disk problem by the following umount /grid/sdd badblocks -n -vv /dev/sdd Checking for bad blocks in non-destructive read-write mode From block 0 to 20971519 Checking for bad blocks (non-destructive read-write test) Testing with random pattern: 14.38% done, 2:46 elapsed. (0/0/0 errors...
First of all, you can halve the running time badblocks by using destructive (-w) mode (instead of non-destructive -n). You may also want to tune block size and number of blocks: -b block_size Specify the size of blocks in bytes. The default is 1024. -c number of blocks is the number of blocks which are...
how to identify bad block or disk problem
1,413,880,624,000
I am searching for a long time tool that can runs as CLI on linux machine and identify which RAID configuration is defined on the disk or disks ( according to the list from lsblk ) the reason for that we cant showdown ( Production machines ) the linux machine and look on the RAID controler when OS id down I am just ...
What's the make and model of your hardware? At least some Fujitsu PRIMERGY servers use the megaraid_sas kernel module for their RAID controller. And Fujitsu provides a tool called ServerView RAID Manager which includes a command-line tool and a web GUI, both of which can both view and modify the RAID configuration. I...
linux + tool that can identify RAID configuration [duplicate]
1,413,880,624,000
we have rhel 7.2 machine , and machine is VM type since one of the machines disk failure,we performed xfs_repair /dev/sdb ( in single user mode ) finally after 1 hour we get the following message could not find valid secondery superblock is it means that we cant repair the disk?
It's impossible to answer your question since you are providing zero detail about your issue. What kind of disk failure and what else was done? And you're sure XFS was on /dev/sdb (full disk) instead of a partition? This is slightly unusual. So I'd just like to point out that the output by xfs_repair is what you get w...
xfs_repair /dev/sdb + could not find valid secondery superblock
1,413,880,624,000
how to verify the disk size ( the disk that OS is installed on ) we have redhat 7.2 I will give example # disk_os_size=` lsblk | grep sda ` sda 8:0 0 150G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 0 149.5G 0 part # disk_os_size=` lsblk | grep sda | awk '{...
disk_os_size=$(lsblk /dev/sda -o SIZE -n|head -1)
how to find the size of the disk that OS is installed on
1,413,880,624,000
I want to ask question about the memory buff/cache lets say we have Linux machine with disk , and some application that wrote data to disk /var/data from my understanding when application wrote data to disk then this data will saved also in memory cache for some time , and after X time application data will removed f...
saved on memory cache There is no such thing really. You start from this buff/cache: ]# free -g total used free shared buff/cache available Mem: 7 0 3 0 3 6 Swap: 0 0 0 This gives the a...
Linux and memory buff/cache and disk storage
1,413,880,624,000
My question is about official linux and common distributions (e.g. fedora/debian) on learning disk management in practice on linux / linux distributions. The layout, may be including the file system, although my focus here is not the theory/technology behind the implementation but the practical usage. For example, wh...
I read the rules and it does seem to indicate open ended questions like this are not encouraged. Here is a quick link to them: https://unix.stackexchange.com/help However in case it is allowed, I would suggest reading Linux CompTIA or any of the very popular certification courseware. You will need more than just the u...
Official resources about disc management on linux / distributions [closed]
1,393,210,618,000
Suppose I press the A key in a text editor and this inserts the character a in the document and displays it on the screen. I know the editor application isn't directly communicating with the hardware (there's a kernel and stuff in between), so what is going on inside my computer?
There are several different scenarios; I'll describe the most common ones. The successive macroscopic events are: Input: the key press event is transmitted from the keyboard hardware to the application. Processing: the application decides that because the key A was pressed, it must display the character a. Output: th...
How do keyboard input and text output work?
1,393,210,618,000
I have a Dell XPS 13 9343 2015 with a resolution of 3200x1800 pixels. I am trying to use i3 windows manager on it but everything is tiny and hardly readable. I managed to scale every applications (firefox, terminal, etc...) using .Xresources : ! Fonts {{{ Xft.antialias: true Xft.hinting: true Xft.rgba: rgb Xf...
Since version 4.13 i3 reads DPI information from Xft.dpi (source). So, to set i3 to work with high DPI screens you'll probably need to modify two files. Add this line to ~/.Xresources with your preferred value: Xft.dpi: 120 Make sure the settings are loaded properly when X starts in your ~/.xinitrc (source): xrdb -me...
How do I scale i3 window manager for my HiDPI display?
1,393,210,618,000
A few months ago, Samsung announced the Ativ Book 9 Plus, a pretty cool ultrabook with a screen resolution of 3200 x 1800 pixels (QHD+). The device ships with Windows 8 until Windows 8.1 is released and Samsung declared that only Windows 8.1 will be able to deal with this ultra high resolution. Now I ask myself if any...
The Gnome / Wayland / X developers are working on this. As with OS X and Windows, the solution will probably involve decoupling applications' idea of a "pixel" from physical pixels. This is kind of silly, but solves the problem for software that makes assumptions about DPI and the relative size of a pixel. There's an ...
Can Linux deal with ultra high resolution displays?
1,393,210,618,000
My question is simple, but I am finding it hard to frame/explain it easily. I log into several Unix boxes with different accounts. I see 2 different things for user1 and user2, while editing text files in vim user1 When I type vim filename, vim opens and I edit the file. When I close it, the complete text from the fil...
One of the reasons for that behaviour will be the setting of the terminal for each user. For example: User1 is using TERM=xterm, in this case when you exit vim it will clear the terminal. User2 is using TERM=vt100, in this case when you exit vim it will not clear the terminal. Check what terminal user1 is using with...
How to set the bash display to not show the vim text after exit?
1,393,210,618,000
What is DISPLAY=:0 and what does it mean? It isn't a command, is it? (gnome-panel is a command.) DISPLAY=:0 gnome-panel
DISPLAY=:0 gnome-panel is a shell command that runs the external command gnome-panel with the environment variable DISPLAY set to :0. The shell syntax VARIABLE=VALUE COMMAND sets the environment variable VARIABLE for the duration of the specified command only. It is roughly equivalent to (export VARIABLE=VALUE; exec C...
What is DISPLAY=:0? [duplicate]
1,393,210,618,000
From https://unix.stackexchange.com/a/17278/674 If you run ssh -X localhost, you should see that $DISPLAY is (probably) localhost:10.0. Contrast with :0.0, which is the value when you're not connected over SSH. (The .0 part may be omitted; it's a screen number, but multiple screens are rarely used.) There are ...
I will give you a visual example to explain the basics of X11 and what is going on in the background: source In this example you have a local X11-server with two "screens" on your hostA. Usually there would be only one server with one screen (:0.0), which spans across all your monitors (makes multi-monitor applicatio...
What are X server, display and screen?
1,393,210,618,000
If I set 175% scaling in Gnome Settings, the value is saved as 1.7518248558044434 in ~/.config/monitors.xml: <monitors version="2"> <configuration> <logicalmonitor> <x>0</x> <y>0</y> <scale>1.7518248558044434</scale> <primary>yes</primary> <monitor> <monitor spec> ...
The preset scale factors (100%, 125%, etc.) get adjusted to the closest values that give a whole number of pre-scaling virtual pixels both horizontally and vertically for your resolution; judging by your value of 1.7518248558044434 this is probably 2192 x 1233 virtual resolution and you have a 3840 x 2160 display. Als...
Why is Gnome fractional scaling 1.7518248558044434 instead of 1.75?
1,393,210,618,000
Is there a Linux graphics program that displays man commands in a browser? I need a program that allows me to display all man commands in a browser, or in some graphics program, so that they can be up all the time, rather than having to view them through terminal windows.
There is xman, a graphical utility for displaying manpages. I don't know anyone who has ever used it though. It was old an archaic already 20 years ago. For your stated use case of having manual pages displayed all the time, you'd probably be better off just opening a new terminal window and typing man something than ...
Is there a Linux graphics program that displays man commands in a browser?
1,393,210,618,000
Something that's always bugged me and I've been unable to find good information on: How can you or why can't you forward an entire desktop over SSH (ssh -X)? I'm very familiar with forwarding individual windows using ssh -X. But there are times when I'd like to use my linux laptop as a dumb terminal for another linux...
How can you? I've been using the below method from the (now suspended) Xmodulo site to remote into my entire Raspberry Pi desktop from any Ubuntu machine. Works with my original RPi, RPi2 and RPi3. Of course you have to mod sshd_config to allow X11 forwarding on the remote machine (I'd say client/host, but I believe t...
Forwarding an entire desktop over SSH without third party tools
1,393,210,618,000
When you type control characters in the shell they get displayed using what is called "caret notation". Escape for example gets written as ^[ in caret notation. I like to customize my bash shell to make it look cool. I have for example changed my PS1 and PS2 to become colorized. I now want control characters to get a ...
When you press Ctrl+X, your terminal emulator writes the byte 0x18 to the master side of the pseudo-terminal pair. What happens next depends on how the tty line discipline (a software module in the kernel that sits in between the master side (under control of the emulator) and the slave side (which applications runnin...
How to display control characters (^C, ^D, ^[, ...) differently in the shell
1,393,210,618,000
I am generating random data and trying to convert it to a PNG image using : head -c 1MB < /dev/urandom | hexdump -e '16/1 "_x%02X"' | sed 's/_/\\/g; s/\\x //g; s/.*/ "&"/' | tr -d "\"" | display -depth 8 -size 1000x1000+0 rgb:- This command always shows a greyish image with some RGB pixels. What am I doing wrong ...
Firstly, you need to feed display RGB:- raw bytes, not an encoded hex string like you're building with that hexdump | sed | tr pipeline. Secondly, you aren't giving it enough bytes: you need 3 bytes per pixel, one for each colour channel. This does what you want: mx=320;my=256;head -c "$((3*mx*my))" /dev/urandom | dis...
Random image generator
1,393,210,618,000
I'm not able to start any GUI applications as a root user: # pgrep -lf Xorg 1590 /usr/bin/Xorg -br -nolisten tcp :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-PNnJzp # echo $DISPLAY :0 # xeyes No protocol specified Error: Can't open display: :0 # firefox No protocol specified No protocol specified Error: cannot ope...
:0 should work as should :0.0 (normal default) as also localhost:0 etc. Permissions are most likely problem. Try disabling xhost with: xhost + (This is unlikely to work but easier to do than the following which is required if it didn't). So if that fails it's probably xauth. Follow the first answer on here: How to use...
X "Can't open display: :0" while DISPLAY variable is correct [duplicate]
1,393,210,618,000
I run this command to allow me to move windows between screens: xrandr --auto This magic command fixes my screen for me (before I run this my 2nd monitor is just an empty space where I can move my mouse). How can I make whatever this command does stick when I reboot? I'm more interested in fixing my configuration than...
I created the following file: /etc/X11/Xsession.d/45custom_xrandr-settings and placed this line into it: xrandr --output DFP6 --primary This had the effect of making the correct monitor the primary one, and it launches on login.
How can I make xrandr changes persist?
1,393,210,618,000
Goal: I'm writing a very simple image viewer for framebuffer /dev/fb0 (something like fbi). Current state: My software takes the pixel resolution from /sys/class/graphics/fb0/virtual_size (such as 1920,1080). And then (for each row) it will write 4 bytes (BGRA) for each 1920 row-pixels (total 4x1920=7680 bytes) to /d...
Programmatically, to retrieve information about a framebuffer you should use the FBIOGET_FSCREENINFO and FBIOGET_VSCREENINFO ioctls: #include <fcntl.h> #include <linux/fb.h> #include <stdio.h> #include <stdlib.h> #include <sys/ioctl.h> int main(int argc, char **argv) { struct fb_fix_screeninfo fix; struct fb_var_...
How can I get the number bytes to write per row for FrameBuffer?
1,393,210,618,000
I want to delete a display setting which I set up via xrandr to my Linux Mint distribution. xrandr --rmmode 1368x768_60.00 gives me this error: X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 17 (RRDestroy...
As ctac_ already mentioned, the mode has to be unused. So I switched to another mode, used xrandr --rmmode 1368x768_60.00 which nevertheless has thrown an error and still showed the mode in the display settings. Rebooting after that helped, and the mode wasn't available anymore.
Deleting specific display setting created with xrandr
1,393,210,618,000
Days ago I broke my laptop display by accident, the right side of the screen is damaged, but the most part of the left side is usable. I did some research trying to find a way to modify the dimension of the screen to fit into the area with no damage and I found xrandr. I found the next .sh archive but I can't find a ...
Just set the screen size with xrandr --fb (no --mode, --transform, whatever). $ xrandr --fb 800x768 xrandr will complain about the screen size being too small, but will apply the settings nonetheless. Example: $ xrandr --fb 1520x1080 xrandr: specified screen 1520x1080 not large enough for output VGA-0 (1920x1080+0+0)...
Xrandr problem trying to avoid broken display
1,393,210,618,000
I want to display xclock on another computer. On my computer (111) I am able to ping the other computer (222) inside my home network: $ ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 44:55:66:77:88:99 inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0 $ ping 192.168.0.222 The router is...
On my computer (111): ssh -X 192.168.0.222 followed simply by: xclock will run xclock on the other computer (222) and display on my computer (111). Note: For this to work X11Forwarding should be enabled in /etc/ssh/sshd_config at computer (222)
How to display xclock on another computer?
1,393,210,618,000
This is what I find in man X: The phrase "display" is usually used to refer to a collection of monitors that share a common set of input devices (keyboard, mouse, tablet, etc.). Most workstations tend to only have one display. Larger, multi-user systems, however, frequently have several displays so that more than o...
Quoting X(7): From the user's perspective, every X server has a display name of the form: hostname:displaynumber.screennumber Each X server has one display (which may include multiple monitors, or even no monitors at all). Using multiple displays (in the X sense) requires multiple X servers; that's how you get mult...
Is it possible for a X server to have multiple displays?
1,393,210,618,000
I just got a new display (Samsung LC27JG50QQU, 1440p, 144hz) which is plugged into my AMD Radeon HD 6950 (DVI-D, DVI-I, HDMI 1.4, 2x Mini DisplayPort) graphics card using HDMI. However, it only lets me set 1080p max in my display settings. Cable and monitor were fine on 1440p with my MacBook Pro. I am running Linux Mi...
First create the appropriate modeline with cvt $ cvt 2560 1440 # 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync Then add the mode using xrandr --newmode $ xrandr --newmode "2560x1440_60.00" 312.25 2560 27...
How to enable 2560x1440 option for display in Linux Mint?
1,393,210,618,000
What does Settings → Display → Adjust for TV do in GNOME? I'm using Wayland in case that makes any difference. A web search came up with nothing concrete other than bug reports related to or mentioning this feature. The GNOME wiki page doesn't explain it.
If you search for "HDTV Overscan" you will find that historically, there was no standard for the size of CRT screens (the bulky non-flat displays nobody uses anymore). As such it was difficult to show image that looks good and a trick called "overscan" was made. Overscan essentially "cuts off the edges" of a picture w...
What does the "Adjust for TV" option in GNOME do?
1,393,210,618,000
I can blank/turn off display on my laptop with following command: xset dpms force off then, any mouse movement or keyboard press "wakes up" the display. Is it possible to ignore mouse movements, and only unblank the screen on keyboard action? If this is not possible in xset at the moment, I would welcome any suggesti...
In Debian 10 gnome-screensaver-command -a can be used to enable blank screen (I set this up as a shortcut to Win-Shift-L). Mouse movement and modifier keys will turn the monitors back on but won't exit gnome-screensaver unless a normal key is pressed or a mouse button is clicked (or dragged?). Monitors turn back off a...
xset: ignore mouse movement when display is blanked
1,393,210,618,000
I've noticed this when trying to watch movies on that laptop running eOS. After 10 minutes or so the display is turned down. I've looked for settings against this and found the following: Power setting: put the computer to sleep: I set that to 'Never'. But it couldn't be this setting, my problem being that the displ...
Background There are 2 solutions that were determined for this particular problem. The 1st involved launching xscreensaver, and disabling it so that no screensaver is configured. The 2nd method involved completely disabling the screensaver in X altogether, through the use of the xset command. Solution #1 A solution w...
Display shuts down while watching a movie after 10 minutes no matter the settings in Elementary OS
1,393,210,618,000
I have a BenQ gw2765 monitor with 2560x1440 resolution... but my computer will only give it a maximum of 1920x1080 resolution. The monitor is connected to my Lenovo Thinkpad X1 laptop via an HDMI-MiniDP connector. The laptop is running a brand-new installation of KDE's Neon (based on Ubuntu): KDE neon 5.11, KDE Plasm...
This isn't an answer, strictly speaking, but I didn't want it to get buried in the existing comment section: This appears like it would work: it adds a display setting that's listed by xrandr and then the new size is available in KDE's system settings... but when I select it in the system settings gui and click 'appl...
how to enable full resolution on large monitor (in KDE)?
1,393,210,618,000
My secondary monitor is partially broken in the top 1/3 of the screen so I want to add blackbars and have something like in the picture below. The top part it's how everything is now. The bottom part is what I want to achieve. The resolutions listed there are the maximum for each screen. This is the xrandr output for ...
Possible workarounds: Use empty panels covering the damaged region to force windows using the remaining space. For example, xfce4-panel can be configured well. It depends on your desktop environment how well this works. Xfce and LXDE will work fine, Gnome will make problems, I assume. This does not help for fullscreen...
My monitor is partially broken. How can I decrease the viewable space using xrandr or any similar tool?
1,393,210,618,000
In a dual monitor system is it possible to mirror a single window and not the entire screen? Put it another way, can I ask an X application to open simultaneously on DISPLAY :0.0 and :0.1? Basically this can be useful for presentations, where one needs to send to the projector just a copy of the PDF (or the like) wi...
For this specific requirement with X11 and Openbox, I don't know if it is possible to do such a hackery, but with VNC is quite easy to achieve what you are after. Mirroring a single X application with x11vnc Get id of window that you want to mirror: xwininfo x11vnc -id {replace-by-window-id} Probably you will have ...
Mirror a single X application on a dual-monitor setup with Openbox
1,393,210,618,000
I often run simulations or other processes on my desktop for hours or days where I don't touch the machine. During this time, I'd like the display to sleep and I want the discrete graphics card to sleep or turn off with it, using as little power as possible. (edit: I can physically power off the monitor, so that's why...
Preface: Whether this works is highly dependent on your hardware. Since you're using a Radeon card and all more recent cards(starting with GCN 1.0 circa 2011) support something called ZeroPower, the first step would be to check if it's maybe just a DPM issue. Try forcing your card into a low power state. I assume that...
Display sleep: "sleep" graphics card?
1,377,304,267,000
Currently when I am not using screen utility, I am able to see the VIM content wiped out of the display when I quit VIM. However when I am using GNU Screen utility and opening a file in one of the screen window and closing it, I can see the trailing file content on the display. It’s not wiping out the file content fr...
GNU screen supports the xterm alternate-screen feature using the altscreen setting in your .screenrc file. According to the manual: — Command: altscreen state (none) If set to on, "alternate screen" support is enabled in virtual terminals, just like in xterm. Initial setting is ‘off’. A quick check shows that scre...
Set the bash display [while using GNU Screen utility] to not show the vim text after exit
1,377,304,267,000
I have a project that needs to detect the DISPLAY in shell (bash) variable to be able to display some gui stuff on the local machine. Or a better solution (dbus ?) to open gui stuff in non interactive shell without trying to figure out DISPLAY and XAUTHORITY. I can set DISPLAY=:0 but that will fail if a user uses ano...
Final solution not requiring to be root, and accessible from a non-interactive shell in an automated way and more advanced and usable than possible duplicate link provided earlier : -XAUTHORITY : ps -u $(id -u) -o pid= | xargs -I{} cat /proc/{}/environ 2>/dev/null | tr '\0' '\n' | grep -m1 '^XAUTHORITY=' - DIS...
What is the best way to find the current DISPLAY and XAUTHORITY in non interactive shell for the current user? [duplicate]
1,377,304,267,000
Can the output a list command contain permissions listed. For example, when executing find / -name filename 2> /dev/null and I get results, is it possible to have my results include the file permissions? Thanks in advance!
Check out this command: $ find . -name '*.sh' -printf "depth="%d/"sym perm="%M/"perm="%m/"size="%s/"user="%u/"group="%g/"name="%p/"type="%Y\\n depth=1/sym perm=-rwxr-xr-x/perm=755/size=1678/user=root/group=root/name=./yadpanned.sh/type=f depth=1/sym perm=-rwxr-xr-x/perm=755/size=154/user=root/group=root/name=./remove...
List permissions with find command [duplicate]
1,377,304,267,000
I am running Linux (Debian). I recently installed the x11VNC server on my computer. I found the command to start the server is: x11vnc -display :0 I have been searching but did not find any information on how to restart and shutdown the x11VNC server. Is there a command(s) to do this?
If you're using systemd you should be able to set it up as a service. I found this thread which shows a similar task of setting up x11vnc as a Systemd service. The thread is titled: Index» Newbie Corner» how to enable x11vnc at startup using systemd ?. From a comment in that thread Create the file: /etc/systemd/syste...
Is there a shutdown/restart command for x11VNC? - Linux (Debian)
1,377,304,267,000
I am having problems with this and I don't know why. There are many related questions but none of them helped me. I have two VMs: CentOS 7 with GNOME 192.168.1.53 Mint 17.1 Rebbeca with XFCE 192.168.1.54 I know that by default exporting the display should be strait forward, like: #While I am Logged in on the desktop ...
You're trying to create an X tunnel through SSH then overriding it by specifying an IP address which bypasses the SSH tunnel. This doesn't work. When SSH tunnelling, SSH deals with transferring data between the local and remote IP addresses by opening a port on localhost on each machine it speaks to. You don't get to ...
Why I can't export the Linux DISPLAY?
1,377,304,267,000
After window resizing, font size changes, etc., how can I easily and quickly check what is the current display width of my terminal?
This has been answered (and mis-answered) repeatedly. But: tput cols provides information that the operating system can tell you about the width. the COLUMNS variable may be set by your shell, but (a) it is unreliable (set in certain shells) and has the drawback that if exported will interfere with full-screen appli...
How can I quickly check exactly how many columns my terminal has? [duplicate]
1,377,304,267,000
When starting up by machine, I am prompted with a terminal asking me to login, rather than the nice GUI that I am use to. When I login in, I am able to run startx and everything works smoothly. I added the following to my ~/zprofile but it only ran once I was logged in. if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then s...
The Gui is loaded by systemd, when the init system is systemd, this is the case of Ubuntu Here is a nice answer about the subject systemctl get-default permit to see what target is set for the startup either multi-user.target or graphical.target To enable x at startup time you can use: sudo systemctl enable graphica...
Startx not automatically running on reboot
1,377,304,267,000
On my Dell latitude e6540, the WMI hotkeys Fn+Up and Fn+Down are not working. I have all necesary modules compiled in my kernel: CONFIG_DELL_LAPTOP=m CONFIG_DELL_WMI=m CONFIG_DELL_WMI_AIO=m On the predecessor model (Latitude e6520), all worked fine, without any need for additional setup. I am using the same (custom b...
You could install xbacklight, a utility for managing your brightness using RandR. Then, to activate it, use a simple script along these lines—bound to your two keys: #!/usr/bin/env bash up() { xbacklight -inc 10 } down() { xbacklight -dec 10 } notify() { bright=$(&lt;/sys/class/backlight/acpi_video0/actu...
WMI-based hotkeys on not working
1,377,304,267,000
I would like to do screenshots of the active monitor (the one on which my mouse is) or screenshots of always the same monitor ; and not the two monitors at the same time. Is there any command/option that would let me do this? I'm not interested in cropping each of my screenshot, even with a script (since I'm using the...
Well, I just found shutter, a nifty tool that can do this. You can install on Debian-based systems with sudo apt-get install shutter Then, once you launch shutter, take your screenshot limiting it to the active monitor only: I just checked and it works perfectly on my LMDE running Cinnamon, it correctly took screen...
screenshot only the active monitor on ubuntu/debian
1,377,304,267,000
Is there an application I can use to obtain the RGB values of a particular pixel on the screen? I'm thinking something similar to paint programs where you can use an "eyedropper" to sample a color.
You can find Gpick (package name gpick) and gcolor2 in many repositories.
X11 "eyedropper" application to inspect pixel color?
1,377,304,267,000
I want to display a text above the user screen(as an upper layer). I know that there is solutions like xmessages that could display the text in a box, But need it to be displayed without a box on the entire screen if possible I am running Raspbian Is there any solution/software that could do this ?
xosd, which is available in Raspbian, can display text on top of the current X screen. It takes its input from a file or from the standard input: echo Hello | osd_cat -p middle -A center It's an old-style X11 application so its configuration can be verbose; changing the font in particular looks like echo Hello | osd_...
How display a text for users in the entire screen
1,377,304,267,000
OS: GNOME 3.30.2 on Debian GNU/Linux 10 (64-bit) My laptop has no output from the HDMI port. The monitor shows "NO INPUT DETECTED". Previously I had Kubuntu installed and before that I had windows 10, Both worked fine, which means this is not a hardware issue. I have tried: Using the package "ARandR" to scan for new ...
You have a laptop with two GPUs, using Nvidia's "Optimus" technology. The low-power CPU-integrated Intel iGPU is physically wired to output to the laptop's internal display, while the HDMI output is wired to the more powerful Nvidia discrete GPU. The device ID 10de:1f91 indicates the Nvidia GPU is GeForce GTX 1650 Mob...
Debian 10 [Buster]: HDMI Input Not detected
1,377,304,267,000
I regularly use my notebook for teaching, with the full screen shown on the projector. With projectors getting better, I often find the projectors resolution to be higher or different than the ones offered by my LCD screen (in the past I just used 1024x768). What I now would like to do is use the best resolution of th...
I figured out that the --scale-from option does what I need: xrandr --output VGA1 --mode 1280x720 --output LVDS1 --primary --scale-from 1280x720
xrandr: clone and scale
1,377,304,267,000
In the picture is shown what works and what doesn't work (also doesn't work for warning descriptions in the code). Current version Gnome 3.14.1. I tried to change window style settings with gnome-tweak-tool, but it did not change the looks. What else could I try? It worked fine with Debian Wheezy, e.g. Gnome 3.4 (and ...
It is a well-known issue with Gnome >=3.10. Unfortunately there is no fix or workaround for it yet. EDIT (link is broken) Source: http://www.mathworks.in/matlabcentral/answers/125436-why-will-warning-error-messages-not-show-up-in-a-pop-up-window-when-i-hover-over-the-text-in-the-mat The only solution suggested by the ...
Blank matlab code tooltips in Gnome 3, Debian Jessie
1,377,304,267,000
Everything about the backlight settings and controls work for me except: Backlight resets to max. on every reboot/boot. The backlight minimum goes on to complete black screen, instead of the minimum brightness setting elsewhere. NB> I see that 1. above is answered on a lot of places with different answers, so I am act...
At the heart of backlighting is this Linux Kernel parameter that's exposed to you through here under /sys. You can manipulate it by setting the value to something between 1 and 15. For example: $ echo 5 | sudo tee /sys/class/backlight/acpi_video0/brightness Set's the brightness to 5. Manipulating this Kernel paramete...
How does the screen backlight work?
1,377,304,267,000
I have 2 monitors plugged in via DisplayPort*, named DP1 and DP2. I configure them next to each other like this: xrandr --output DP1 --pos 0x0 --output DP2 --pos 3840x0 Problem: Sometimes, they are detected in the opposite order on startup, so the left monitor is labeled DP2 and the right one becomes DP1 instead. Thi...
You might be able to use the EDID block for the monitors. For example, set up the system in the desired way, then run $ xrandr --prop | grep -A2 EDID > desired-setup.txt Thereafter, each time after a setup is done, your run the similar $ xrandr --prop | grep -A2 EDID > current-setup.txt Then, if current-setup.txt is...
Uniquely identify DP monitors for use in xrandr
1,377,304,267,000
I'm trying to start a VMWare Workstation VM from the command line. I can do this under my user (not root) by running the following /usr/bin/vmplayer /home/myUser/vmware/myVm.vmx Now, I want to set this VM to start on boot, so I created a service /lib/systemd/system/myService.service with the following: [Unit] Descri...
As @Stephen Boston pointed out in the comments you should use a systemd user service but you have to change, remove and add some directives in your unit: Change: WantedBy=multi-user.target to WantedBy=graphical-session.target Add the directives: PartOf=graphical-session.target and After=graphical-session.target in [U...
How to open GUI from systemd service on startup?
1,377,304,267,000
I am trying to run a Samsung SyncMaster 226 NW display with an HDMI to VGA adapter on Debian 10. The GPU is an RTX 2060 Super, with the proprietary Nvidia drivers of version 440.64. In Linux, the only resolutions that are detected as usable are 1280×720, 1024×768, 800×600, and 640x480. However, the actual native reso...
I just spent 2-3 Hours on exactly the same problem. So annoying, xrandr seems not to work at all with the new nvidia-drivers. Now, after getting crazy and mad, I finally came up with a solution, hoping it will work for you as well. Start in terminal "nvidia-settings", switch to "X Server Display Configuration", Click ...
Set undetected resolution with xrandr
1,377,304,267,000
I want to be able to run (just) a program/few programs under a test user named "test" and at the same time benefit of the GUI of the program. I need this because I want to be able to save test settings without conflicting with my own settings. What I found so far is that I can either: use su test to switch to the use...
I finally found a solution as provided in this answer All I had to do was run the following command as root: xhost si:localuser:test Apparently this command allows the user to use the display server. Please edit this answer if you know more about this issue.
Run a program under another user with X server display
1,377,304,267,000
I have just installed Debian Wheezy for the first time and have had mixed success getting my system up and running. Currently my main issue is that I am unable to extend my desktop to my second screen. I have an ATI radeon HD 7700 series graphics card connected to 2 displays. Running lspci results in this line, among ...
I found this answer on AU in a Q&A titled: How can I set up dual monitor display with ATI driver?. excerpt Open a terminal and type: $ gksudo gedit /etc/X11/xorg.conf In the sub-section "display" add this code or modify if already exist: virtual 2880 1024 Where 2880 and 1024 are the value returned by the error...
How do I extend my desktop to my 2nd monitor rather than just cloning it?
1,377,304,267,000
In short I have a laptop with an external DVI display which is hooked up to its Display Port (via adapter). When I rotate the internal screen using xrandr, it will forget about the secondary display. Calling xrandr multiple times does not have any effect. I have to power off the external display, wait for a while, cal...
The issue also persists when it is hooked up to different computers, also a Windows 7 machine. It is a hardware defect, I bought a new display a while ago.
xrandr call makes it forget about secondary display
1,377,304,267,000
I've been having this issue for at least 3 years where my display will be blurry while using the proprietary Nvidia driver. Nouveau doesn't fix anything either. Any screenshots that I take using the monitor will show up crystal clear, but visually looking at it, everything seems fuzzy, blurry and sometimes even ghosts...
Try: Change the permanent resolution On and off 3d acceleration "Vesa" video driver instead of nvidia and nouveau. Every kernel driver(module) has it's own parameters. See modinfo nvidia output for example("parm" records). Load your driver with different "parms" I can't recommend you particular ones. But anyway, just...
Display Constantly "Fuzzy" with Nvidia Driver
1,498,585,056,000
When I run Xvfb server directly, x11vnc can attach to the display fine as per Wikipedia page. However I'd like to achieve the same by running the X app using xvfb-run. Here is my attempt (to run wine explorer as an example): $ xvfb-run -l --server-args="-screen 0 1024x768x24" wine explorer $ ps x | grep Xvfb 19536 pts...
As you can see in your ps output, the Xvfb server is run with parameter -auth followed by the name of a temporary file. To connect to this server you therefore need to provide a copy of the MIT-MAGIC-COOKIE that is held in this file. Usually this is done by simply setting the XAUTHORITY variable in the environment of...
How to connect to X app via VNC which was by xvfb-run?
1,498,585,056,000
I'm having a problem with my system for some time. I've been hitting this problem for some time. I looked for people with a problem similar to mine but found none. I use 3 monitors in portrait mode 24" each(1920x1080;1920x1200;1920x1080). What I want What I have +------++--------++------+ +---...
1920 is the width in landscape mode, so becomes the height in portrait mode. Your config starts each monitor 1920 pixels from the start of the last monitor, so there's a 700-900 pixel gap between them: +0 +1920 +3840 +------+ +--------+ +------+ total: 4920w x 1920h | | | | | | |1...
Multiple monitor with virtual gap between them
1,498,585,056,000
I know how to change brightness and gamma with xrandr: xrandr --output eDP1 --brightness 0.8 --gamma "0.90:0.85:0.80" but how can I change saturation, ie decrease the amount of color and move on the spectrum closer to black/white ? I need a way to change this on the command line, not on the hardware settings of my mo...
The most convenient way (as of 2022) is via a tool named vibrant-cli (which should work on any X11 setup). The syntax is: vibrant-cli OUTPUT [SATURATION] Get or set saturation of output. OUTPUT is the name of the X11 output. You can find this by running xrandr. SATURATION is a floating point value between (including)...
xrandr: change saturation (less color, more black/white)
1,498,585,056,000
I installed XQuartz on my Mac (Big Sur, v. 11.5.2) using the download available on https://www.xquartz.org/ (XQuartz-2.8.1.dmg), but I have been unable to use it. I've been failing to fix this issue for the past couple of weeks, and I'm really hoping someone can help point me in the right direction. I've been using xe...
Note: In an attempt to clearly differentiate between the Finder (and associated applications) and binaries run from the terminal, I am using Bold and code formatting respectively. You seem to have two issues: Launching XQuartz installation from the terminal Setting the DISPLAY env var correctly The first issue is t...
How can I get xeyes to work? - XQuartz Display Error on Local System
1,498,585,056,000
I'm trying to start cheese such that it runs on a specific head on a multi-head display setup. The application options include a --display=DISPLAY setting: $ cheese --help Usage: cheese [OPTION...] ... Application Options: -w, --wide Start in wide mode -d, --device=DEVICE Device to use as a ...
The syntax :0.NUMBER specifies a screen number on display 0. The concept of screen was intended to describe multiple monitors on the same display, but an application can't be moved from one display to another, so it's been pretty much abandoned. Your monitors are all on screen 0, i.e. :0.0, which is equivalent to :0 s...
How to start an app on specific head?
1,498,585,056,000
I have problem with my console drawing lines. The problem is when I connect through ssh to server everything draws ok. But when I use up arrow key to show last used commands it often leaves few characters after $ sign: user@host:~$ cd /var/www_vhosts/ user@host:/var/www_vhosts$ ls -la instalator-paczek/ razem 16 drwxr...
OK finally I found solution. The problem was that $PS1 didn't have color sequences enclosed with \[ and \]. Before correcting $PS1 was: export PS1='\e[1;32m\u@\h:\w$ \e[m' after fix: export PS1='\[\e[1;32m\]\u@\h:\w$ \[\e[m\]' I found solution here: https://stackoverflow.com/questions/2024884/commandline-overwrites-...
incorrect lines display in ssh console
1,498,585,056,000
I'm trying to open netbeans as a different user, but isn't working. I'm running a Kubuntu 12.04 LTS with KDE. And I tried the following: Open a terminal, type su - myotheruser, type the myotheruser password. Then tried to open netbeans: /opt/netbeans/7.3/bin/netbeans (netbeans is installed on /opt/netbeans/7.3). I got...
You could always try the following: ssh -Y otheruser@localhost "/opt/netbeans/7.3/bin/netbeans" :)
How to open a program as another user inside a logged display?
1,498,585,056,000
I am running a database server on my computer. Sometimes it takes up so much memory resources that the system stop responding to keyboard and mouse inputs. Although I can move the mouse pointer and turn on and off Caps Lock, I can't do anything else beyond that. Surprisingly, I am able to SSH to the computer, run the ...
Freeing up resources should generally return the system to a normal functioning state, so it sounds to me like the system is still struggling to free up resources or, hasn't fully followed through on killing these processes. I'd investigate it further to find out if that's in fact the case. You can see, for example, i...
How to regain control of my computer?
1,498,585,056,000
I am developing a personal project/idea for a headless Raspberry Pi that works without a GUI display. I am working on a text graphicsesque design. As the Raspberry Pi allows one to plug into most any screen, I want to be able to determine the screens resolution so I can create an optimal display. My problem lies in ac...
You can look in /sys/class/drm/card*/*/modes: for card in /sys/class/drm/card*/* ; do echo "$card: $(head -n 1 $card/modes)" done should output something like /sys/class/drm/card0/card0-LVDS-1: 1024x768 /sys/class/drm/card0/card0-VGA-1: 1280x1024
Finding screen resolutions without $DISPLAY through python or shell scripting
1,498,585,056,000
Running Ubuntu based Os on my Laptop, I have an external HDMI display that is not detected. I tried lspci and xrandr but the display stay "disconnected". How can I detect the display and extend my desktop ? Thanks lspci -d ::0300 -nnk 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086...
OK, so you have an HP Elitebook 850 G5, which does not seem to have the optional discrete Radeon R59 GPU installed, and so it's working with just the Intel GPU that's integrated into the processor. So it should be pretty straightforward, with none of the complications of multiple GPUs. If the HDMI port is listed as "d...
Ubuntu, detect new display
1,498,585,056,000
I've installed Arch Linux and Plasma Desktop on one of my old PCs (12yrs or more), it's AMD Phenom II Quad Core, ATI Radeon 3000 and 4 GB RAM. On Samsung SyncMaster S19B150 (max res 1366x768) it works but fonts are choppy so I wanted to test it on a lenovo ThinkVision L1900p 19-inch Monitor BUT it displays a messege i...
The solution for this problem is change the VGA connector. I don't know why did it come into my mind after so long: I just took off the VGA connector of SyncMaster and plugged that in to lenovo! Now I can see "Arch with plasma desktop" on its optimum resolution 1280x1024 and on this monitor I don't have the choppy fon...
Input Signal Out of Range
1,498,585,056,000
I'm trying to unset or change the default Windows+P (or to be more exact Meta+P) "re-detect monitors" cinnamon keybinding via gsettings, but having a hard time finding it in the gsettings tree. In the keyboard settings GUI it is shown under System > Devices > Re-detect display (roughly translated from german). Already...
After searching a bit more using gsettings list-recursively seems I've found the shortcut path. This is it with the default shortcuts under cinnamon 2.8: gsettings list-recursively org.cinnamon.desktop.keybindings.media-keys | grep -i display org.cinnamon.desktop.keybindings.media-keys video-outputs ['p', 'XF86Di...
Unset or change default "re-detect monitors" windows+p cinnamon keybinding using gsettings
1,498,585,056,000
I have two GPU's, GTX 1070 and GT 710. I have only one display and I would like this display to run off of the GT710 so that I can continue to work when I am training models using CUDA. I have been at this for quite a few hours and the furthest I have been able to get is to boot into Mint in "fallback mode" with the m...
I solved the problem. The solution is to use approach #2 and edit /etc/X11/xorg.conf/ to add second GPU as shown above. Then under Section "screen" change "MultiGPU" to "on" more details can be seen hereenter link description here I will post my new xorg.con in case it helps anyone in the future # nvidia-settings: X c...
How do I use my secondary GPU for display output and primary only for computation?
1,498,585,056,000
I'm trying to troubleshoot something for my infrastructure team around the use of EGL as a backend for the VirtualGL program. I believe my issues come from a missing /dev/dri/renderD128 device file on centos 7, what is supposed to be done to create this renderD128 file? All I see in the /dev/dri is card0. The gpu we a...
I had this issue on Ubuntu 20.04 LTS and it turned out to be I was running an older version of the linux kernel (5.4) that didn't fully support my CPU (Rocket Lake). Only after updating the linux kernel to a newer version (5.11) along with a reboot did /dev/dri/renderD128 finally appear. So I would recommend making su...
Unclear about why /dev/dri/renderD128 is missing
1,498,585,056,000
I use Linux Mint. I did something and now my screen is too big and it moves as I move the mouse. How can I resize the screen such that it returns to the original size where everything fits onto the screen? I'm using XFCE.  Ctrl+- won't solve the issue, neither Ctrl+ mouse scrollbar.  I was only able to change the size...
I found the solution from https://www.makeuseof.com/tag/refresh-linux-desktop-without-rebooting/. Just open the terminal and run commands xfce4-panel -r && xfwm4 --replace
Linux Mint screen too big
1,498,585,056,000
I'd like to have a redshift-style effect on my laptop screen but where I truly remove all green and blue light, leaving only red. I've experimented with redshift, which doesn't seem to take it all the way, only redder, but neither it seems does xcalib... I had thought I could get this by running this: xcalib -blue 1...
You can. I'm using xrandr & the following script to adjust gamma and brightness on all connected monitors, depending of time of day. #!/bin/bash current_hour=$(date +%k) red_gamma=1.0 green_gamma=1.0 blue_gamma=1.0 brightness=1 if (( current_hour >= 6 && current_hour <= 18 )); then # Daytime: normal blue light emi...
How to remove *all* green and blue light: xcalib and redshift seem not to?
1,498,585,056,000
I have installed libgtk-3-dev and wrote and compiled this code successfully(without errors I mean): #include <gtk/gtk.h> void destroy(void) { gtk_main_quit(); } int main (int argc, char** argv) { GtkWidget* window; GtkWidget* image; gtk_init (&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); ...
I attached a keyboard to my board and opened it's terminal(by right-click inside it's openbox window) and executed my program successfully and it showed my picture in the SPI LCD!
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
1,498,585,056,000
Is it possible to have xrandr at --right-of the screen in workspace1 and --same-as at workspace2? (I'm using openbox) If you interested why I want to do this: I'm having a presentation and I need to show my slides at --right-of the screen while at the same time I have access to my slides notes in my own monitor. The o...
So I have a simple solution. You can add a key binding to your 'rc.xml' that executes the GoToDesktop command and also execute the xrandr command. Here is the example for the key combination Windows key + F1 and it switches to desktop one and sets the monitors with --same-as. <keybind key="W-F1"> <action name="GoT...
Is it possible to have xrandr in different modes based on workspace?
1,498,447,047,000
I am running an Ubuntu Server that boots to the console. After a long wile, the screen goes blank and I cannot type or unblank the screen. Even the caps lock / num lock do not change states. I am however, able to SSH into the computer. Is there a way I can unblank the tty1 over SSH? Is it possible to do this from the ...
I found a working answer on Server Fault from reddit. Even though I did disable blanking, the screen still goes blank, but I can bring it back with a key press. I can live with that for now. The trick was to install console-tools and configure it from /etc/console-tools/config to have BLANK_TIME=0 POWERDOWN_TIME=0 A...
Unblanking a Linux Terminal Display
1,498,447,047,000
I have installed Fedora after using Windows 7. I have two screens connected to my computer: a TV and a 19" monitor. I only want one screen active at a time. I'd like to be able to switch which screen is active using a simple mouse-click or keyboard combination. From the settings window, all I can see is how to clone...
It's not clear from your question that you know that you can toggle monitors on and off using the "on" slider in the "Displays" dialog you show. This is the standard way of enabling and disabling monitors in Gnome Shell. You can create a quick key combination to toggle your monitors by using this script on github th...
How to quickly switch between displays in fedora 18
1,498,447,047,000
I just installed Debian 11.6 and see that everything looks scaled up a lot. I checked the size of the display and it is 800 x 600 which is quite big having it on my 4k monitor. But me having an NVIDIA RTX 3060 Ti should not trigger this because that is some good hardware So obviously, I opened settings and went to the...
I just needed to install the drivers for my graphics card, and I can get more display sizes in the settings display section, silly me!
How to change Debian display resolution
1,498,447,047,000
I pressed CtrlAltF1 to enter TTY1. I worked a while mainly on vim, then my shell (bash) stops echoing. If I type echo abc it does not get display. Instead I get a screen like this: How do I fix the problem?
ttys are complex beasts, which can work in several different modes. E.g. when running vi(1), you don't want characters typed to show up on screen, the editor is in charge of what is displayed. This is called "raw" mode. Usually you are in "echo" mode, in which the kernel sends what is typed to the screen directly. If ...
Why not display characters which I typed in tty? [duplicate]
1,498,447,047,000
The machine I'm working from has many active X displays (one standard X server and many VNC displays). It is also running a handful of GUI applications, which appear on an X display. Assuming I have the PID (using ps) is there a method to determine which X screen the process is using, or even the value the DISPLAY var...
If you have root access (or sudo ps) then you can display the environment of a process with the e option. Inside here you should be able to see the DISPLAY variable (if it's set). You probably need ww to ensure the output doesn't get truncated. e.g. % ps wwep $$ | tr ' ' '\012' | grep DISPLAY DISPLAY=:0 So my curre...
Check which display an application is using
1,498,447,047,000
I have Ubuntu 14.04 and Fedora 20 as a test environment. I am trying to send X programs from Fedora to Ubuntu through an SSH session. My setup is as follows: On Ubuntu ran: Xhost +IP Address of Fedora This returns: 10.10.24.153 being added to access control list From the Fedora system I then run: DISPLAY=10.10.25.16...
If you want to run the X apps over your ssh session you just need to tell ssh to carry the traffic. Don't run xhost and don't override DISPLAY. ssh -Yf remote-host some-x-application The -Y flag tells ssh to create a DISPLAY environment variable on the remote-host and carry the resulting traffic across the encrypted ...
Displaying X programs on remote systems
1,498,447,047,000
I am running a Debian stable with Cinnamon graphical interface 3.6.7 and my computer is connected to a multimedia projector. I havea an Intel Graphic card. The projected image is too big and I can't change neither the place of my multimedia projector nor the place of my wall to reduce the size of the projected image. ...
Use xrandr to detect the default output. Then you can make a black border: xrandr --output LVDS --set underscan on --set "underscan vborder" 100 --set "underscan hborder" 100 (not working with intel graphic card)
Reduce size of my screen with a command line
1,498,447,047,000
I was using the amdgpu-pro driver for a while on my (incompatible) elementaryOS 0.4.1 Loki computer before it bricked my machine and I had to reinstall in an attempt to revert back to the Nouveau drivers. However, running sudo lshw -c video shows that I'm still running the AMD driver for some reason. *-display ...
lshw says you’re using the amdgpu driver, which is the non-proprietary driver for recent AMD GPUs. It’s not the same as AMDGPU PRO, the proprietary driver. Nouveau is the non-proprietary driver for NVIDIA GPUs, not for AMD GPUs.
lshw says I'm using proprietary driver even though I reinstalled my OS to revert back to nouveau
1,498,447,047,000
When I try to export the remote display I do: In my Ubuntu 17.04: xhost + access control disabled, clients can connect from any host Then I make the connection to the server: ssh user@server Once in the server get this error: user@server:~$ export DISPLAY=my_ip:0.0 user@server:~$ xeyes Error: Can't open display: ...
Solved. The problem was with my DISPLAY number. I supposed that my DISPLAY was 0.0 but : xdpyinfo | grep display name of display: :1 So, the export DISPLAY must be: export DISPLAY=my_ip:1
Export Display is not working on Ubuntu Gnome (gmd3)
1,498,447,047,000
On Ubuntu MATE 20.04, which I use as a live TV laptop OS, there seems to be a problem with some settings, upon which the screensaver is run or the screen turns off; I don't know if both apply, or which one. What is the goal: To disable the screensaver forever or generally leave the screen on all the time. I normally...
Autostart script solution Before you start reading, make sure, that in your Power Management preferences the display is set to Never to be put to sleep when inactive. So, I did a lot of digging, and thanks to the official forum (source link) I got my answer: Place the below script to this location: ~/.config/autosta...
How to completely disable screensaver / turning off screen on Ubuntu MATE 20.04?
1,498,447,047,000
I have 2 laptops, one Linux and one Windows. I want to use the Linux one as a second display but I can't find anything about it. I found this: Using Linux machine as a monitor for a Windows machine but Spacedesk dosent support linux anymore.
It looks to me that you've two different computers, one is running Windows and the other is running Linux. And you want to share the mouse and keyboard between them. Synergy looks like the application you need. You may find more applications which can share mouse, keyboard and clipboard between computers.
Use Linux laptop as second display
1,498,447,047,000
Should I imagine it like a TCP/UDP port (per-machine rather than per-user)? Can I connect to an other users DISPLAY? Is it protected somehow? Can I list the currently used DISPLAY numbers for one user? Is it possible to find one free DISPLAY number that I can still use? Where could I find out more about these?
Should I imagine it like a TCP/UDP port (per-machine rather than per-user)? It actually is a unix domain socket for local users, and a TCP port (if enabled, on modern X servers it's disabled by default). Can I connect to an other users DISPLAY? Yes, with proper authorization. See xauth and xhost. Can I list the ...
What are Xorg DISPLAY numbers?
1,498,447,047,000
I want to write a linux driver which maps my specified memory address space to /dev/fb0. the driver should be specified by what part of linux? drm or frame buffer or server X or somthing else? Which properties should I have in my driver?
The driver is a linux kernel module. Download the source of the linux kernel, have a look at the code of the existing framebuffer drivers in drivers/video/fbdev (github here) and the documentation in Documentation/fb (github). Google for tutorials how to write kernel modules, practice with a simple module first. Just ...
mapping linux /dev/fb0 to DDR for displaying
1,498,447,047,000
Sorry if I used wrong subject, but my problem is explained completely here: https://forum.armbian.com/topic/5561-how-to-configure-scriptbincustomfex-for-spi-lcd/?tab=comments#comment-42545 I did create .conf files within etc/modprobe.d and etc/modules-loud.d , also in share/X11/xorg.conf.d directories, and after booti...
Sunxi is not ubuntu. Just put startx command into /etc/rc.local to run at boot time.
How to force "startx" at startup?
1,498,447,047,000
I have an ARM-based board(http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M1) and use Ubuntu-server 16.04 on it. I have a 2.2" TFT-LCD with SPI connection, and use this framebuffer driver(https://github.com/notro/fbtft) to launch it. I can setup my LCD with this command: sudo modprobe fbtft_device custom name=fb_ili...
If the command dpkg -l '*xserver-xorg-video*' | grep ^ii had no results, that means you didn't install the necessary video drivers. I just looked up that the modesetting driver is part of the core, so it should already be installed. So install the frame buffer window driver favorite package manager, e.g. from the comm...
How can I set my LCD as default LCD?
1,498,447,047,000
I need to run a Java JAR Swing GUI executable in a Raspbian Wheezy Debian distribution inside an ARM device during boot time. I am following this as reference with myapp,myapp-start.sh and myapp-stop.sh, and this with possible solutions (and others more quite similar). But here is not reference to the DISPLAY variable...
If your application is not interactive, you might launch a virtual X11 server and set the DISPLAY variable for your application to use it. Possible X11 servers that can be used that way are: Xvfb Xdummy Xvnc The latter allows you to connect later to see and interact with the screen with a VNC client (vncviewer). If ...
How to setup DISPLAY to run a Java JAR Swing Executable from Init.d
1,498,447,047,000
Let assume following: main-playbook.yml - name: Play-1 hosts: localhost connection: local gather_facts: no roles: - role: my-role vars: newhost: 192.168.1.1 generated_playbook.yml - name: Play-1 hosts: newhost gather_facts: yes tasks: - name: Task1 - name: Task2 - name: Tas...
It's not possible. Quoting from ansible.builtin.import_playbook Files with a list of plays can only be included at the top level. The example explicitly shows this - name: This DOES NOT WORK hosts: all tasks: - debug: msg: task1 - name: This fails because I'm inside a play already import_p...
Ansible: Run new playbook from task
1,498,447,047,000
My question is related to a python error, but I suspect that it is more a Linux question than a python one. Thus I post it first here. I am running a python script which does a calculation and then produces a plot and saves it in a PDF file. The script runs through on my local machine (Mac OS), but when I run it on th...
This is an error with the python code using a library called “tk”. That’s a library usually used for showing a GUI so it expects to be able to access your display (xserver or similar). If you are running your code on a “headless” server then this just won’t work because there’s no monitor and your session can’t talk ...
Python error only when I run script on Linux cluster: _tkinter.TclError: no display name and no $DISPLAY environment variable
1,498,447,047,000
I have a Debian 10 system with a desktop environment installed and running. When I open a terminal and try to run any GUI application , such as gedit, from the command line, it fails to open with the following messages: # gedit Unable to init server: Could not connect: Connection refused (gedit:3575): Gtk-WARNING **:...
The display belongs to the user. So, if you want to allow another user to draw on it (think of it as a printer) you have to grant permissions. There are many ways to do that, but the simplest is probably to open the graphic terminal and run: $ xhost + That will allow connections to the server from other users. Then, ...
Debian 10 cannot open display:
1,498,447,047,000
Upgraded lubuntu 17.04 to 17.10 on an EeePC 900a. Appears to work fine except that the left side of the display is junk. The full screen looks fine before linux is booted, the Asus EeePC splash. System has 2GB RAM, 32 GB SSD & wireless USB mouse. EeePC 900a link's specification incorrectly refers to the model as 900 i...
Exact same problem an no solution so far. There's a workaround: if you suspend the machine and resume it the display works fine again. You can suspend the computer using the power menu on the login screen (top right corner icon).
Upon upgrade of lubuntu 17.10 from 17.04 display messed up on an eeepc 900a
1,498,447,047,000
I have been struggling for the past couple of days attempting to hook up my 1920x1080 external monitor to my 3200x1800 laptop. When I run xrandr, it outputs: Screen 0: minimum 320 x 200, current 5120 x 1800, maximum 8192 x 8192 eDP-1 connected 3200x1800+1920+0 (normal left inverted right x axis y axis) 294mm x 165mm ...
A year later, and I have somehow managed to fix the problem, though I don't know exactly how. It is important to note that my monitor does not have any settings for disabling overscan or any related. Graphics Drivers I thought I needed to update my graphics drivers, so I ran the following commands: sudo apt-get update...
xrandr: display borders are cutoff
1,498,447,047,000
I'm having an issue with my Ubuntu Server 16.04 installation. I have it running on a Zotac Z-Box CI23 Nano. It installed fine, but on its first boot all I had was a blank screen. I edited /etc/default/grub and changed GRUB_CMDLINE_LINUX_DEFAULT="nomodeset" This let me see the startup, but the text is all garbled white...
I finally got this figured out. At first I thought it was bad hardware so I RMA'd the machine. The same exact thing was happening on the replacement. So I spent a few hours fiddling with grub settings. This is what ended up working for this machine: in /etc/default/grub: Comment out GRUB_CMDLINE_LINUX_DEFAULT="splash ...
Garbled text on startup