export DISPLAY=remote machine name:0; xset dpms force off bobdobbsApril 17th, 2010, 01:14 PMTry using the "-Y" option with the ssh command, that should sort the display problem automatically for you. Code: #!/bin/bash #-----------------------------------------------------------------------------# # /sbin/lidevent # # simple script to turn the display on or off when laptop lid is closed # # By Mahram Z.Foadi # # Oct 22 2005 echo $DISPLAY returns "localhost:10.0". Edit Remove 0 This bug affects 1 person Affects Status Importance Assigned to Milestone update-manager (Ubuntu) Edit New Undecided Unassigned Edit Also affects project (?) Also affects distribution/package Nominate for series Check This Out
are you sure you disabled all the power saving options within your xorg? acpid.conf) and these lines to # # the end of it (you don't HAVE to rename it, you can even create a new file # # and call it /etc/acpi/events/lid.conf with Linked 1 error: XDG_RUNTIME_DIR not set in the environment. homey View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by homey 10-22-2005, 05:19 PM #3 copolii LQ Newbie Registered: Feb 2005 Location: http://askubuntu.com/questions/476036/xset-unable-to-open-display
share|improve this answer answered May 9 at 21:37 Jouri Kondratiev 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Prior to this "do-release-upgrade", ubuntu natty i386 was running on it. gdk?
https://bugs.launchpad.net/bugs/933991 Title: xset: unable to open display "" all over upgrade terminal Status in "update-manager" package in Ubuntu: New Bug description: I was performing an upgrade from lucid to precise remotely How to make a shell read the whole script before executing it? XSet warnings all over the screen. Xhost Unable To Open Display To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/933991/+subscriptions Previous message: [Bug 933991] Re: xset: unable to open display "" all over upgrade terminal Next message: [Bug 933799] Re: reset authantication
Allow clients to connect from any host using xhost+ Execute the following command to disable the access control, by which you can allow clients to connect from any host. $ xhost Gtk Cannot Open Display This morning I switched on my TV and bamm 'no signal' I've restart Display Manager and know the xset command doesn't work; Code: [email protected]:~#sudo xset -display :0 q Invalid MIT-MAGIC-COOKIE-1 keyxset: Duplicate of bug #883618 Remove Convert to a question Link a related branch Link to CVE You are not directly subscribed to this bug's notifications. It's ubuntu studio, based on ubuntu 9.10.
I set time to system go into sleep to 'never'. https://lists.ubuntu.com/archives/foundations-bugs/2012-February/065843.html Join our community today! Raspberry Pi Xset Unable To Open Display acpid.conf or lid.conf) as long as the file ends in ".conf" the rest doesn't matter. Ssh Xset Unable To Open Display Second: 1.
vol7ron jasonnurApril 28th, 2010, 08:30 PMYea of course... http://crudlet.org/open-display/ubuntu-unable-to-open-display-0.html xset -q will give unable to open display ""; Code: [email protected]:~$ xset -q xset: unable to open display "" [email protected]:~$ xset -display :0.0 q Keyboard Control: auto repeat: on key click When i run the script manually from a command prompt it works fine, but when i push the button and look at the log, this is what I see: Quote: [Fri Update your answer to include both and I'll accept it. –Daryl Spitzer Jul 13 '11 at 19:21 1 Interesting. Vbetool
But if you use ssh -Y remotemachine the remote machine is treated as trusted client. How do I fix this? Also there is "screen saver" there. 3. this contact form Theorems demoted back to conjectures Why is this 'Proof' by induction not valid?
svccfg –s /application/x11/x11-server listprop options/tcp_listen svccfg –s /application/x11/x11-server setprop options/tcp_listen = true Link Shah June 17, 2015, 5:03 pm Thank you! 😀 Link Cancel reply Leave a Comment Name Email Website Xset Dpms Or it is a laptop with Monitor/TV connected? 2. Alias are not coming from language specific item version Depowering a high AC PC without killing the rest of the group What is the determinant?
Last edited by macachuto; May 2nd, 2014 at 12:54 PM. Mahram. Gtk-WARNING **: cannot open display:0ssh X11 forwarding not working, Can't open display: localhost:11.0 Hot Network Questions How can I keep the computers on my spaceship from dying after a hull breach? Xset S Off mcduckApril 15th, 2010, 12:04 PMAt least when you are running X you can use the following command: xset dpms force off nothingspecialApril 15th, 2010, 12:30 PMI don`t know how turn actually
Quote: echo "Display is $DISPLAY" I don't see anywhere that you have DISPLAY. Actually, the resolution of "localhost" wasn't! for ex: system1 # xhost - system2 # ssh -X system1 system1 # gedit new.txt it opening a new file, it not blocking X server. navigate here Richard Hansen (rhansen) wrote on 2012-05-29: #8 If you run 'ps -ef', you'll see the following shell process: sh -c "while true; do /usr/bin/xdg-screensaver reset; sleep 30; done" Kill that process
the client is using xauth authentication mechanism. google xauth howto comes up with a lot of references Link thib June 25, 2010, 11:53 am Unless the network environment is entirely controlled, xhost is a very bad idea . It doesn't seem like it should be necessary to tell the OS that localhost and 127.0.0.1 are equivalent, but it works, at least.