steven thanks! The device starts up and ask for login and then I run the command from that prompt.Hi Jim,OK I didn't think of that possibility, you haven't started X11. In the log, it says: xset: unable to open display ""I modified the command to be "xset -display :0 dpms force off", and now the log says: button/lid Xlib: connection to Why was the plane going to Dulles? weblink
UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Are you new to LinuxQuestions.org? home/pi/no_blank: Line 117: /etc/xdg/1xsession/LXDE/autostart.06-01-2014:16:15: Permission deniedIt would seem that one of two things are happening. There are a number of readily available packages which extend the functionality of Go without re-inventing the wheel, so you […] © Copyright - systemBash Installatron WordPress Upgrade Disables Plugins Add
vol7ron jasonnurApril 28th, 2010, 08:30 PMYea of course... For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. I could see this being useful, especially with iPhone SSH integration. What to do when using your private key from another computer?
so copy the lines below and paste them in /sbin/lidevent DONT OVERWRITE ANYTHING, if you already have a file with that name and at that location, find out WHAT it is, If not then make the mods yourself.viewtopic.php?f=91&t=57552Copied from the above link:Disable text terminals from blankingchange two settings in /etc/kbd/configBLANK_TIME=0POWERDOWN_TIME=0Disable Xsession from blankingAdd these lines to [email protected] s [email protected] s [email protected] -dpms I'd like to know if, given ssh access, I can turn off the signal to the screen of my desktop workstation's monitor. Vbetool vol7ronApril 28th, 2010, 07:12 PMI'm trying to learn Linux for work and found this thread interesting.
Yktoo On an iMac (Ubuntu 10.10) work fine, the display goes off and so does the backlight, but backlight turns on back again in about 10 seconds (though the screen remains Browse other questions tagged power-management or ask your own question. i didn't know xset could do that! If you intend # # to put this file anywhere other than /sbin/lidevent, make sure you make the # # proper changes in the "action" line below.
But I think it's a correct answer from what I see about vbetool. Xset S Off Only poweroff the screen will be fine because I'm using ssh to manage the server. I ended up putting this in my handler.sh:if grep -q open /proc/acpi/button/lid/LID/state then XAUTHORITY=/home/stonecrest/.Xauthority xset -display :0.0 dpms force on else XAUTHORITY=/home/stonecrest/.Xauthority xset -display :0.0 dpms force off fi I am I have no graphic interface so xset dpms force off doesn't work (returning: xset: unable to open display "") I try "setterm powerdown" commands but it only "clear" the screen but
Click Here to receive this Complete Guide absolutely free. you save A LOT of battery life with turning off the LCD when you don't need it. Raspberry Pi Xset Unable To Open Display It requires root access, so run it from root or use sudo. Xset Unable To Open Display Ubuntu This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.
Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ http://webinweb.net/open-display/vnc-xset-unable-to-open-display.html add a comment| 2 Answers 2 active oldest votes up vote 0 down vote try this: ssh -X [email protected] xset dpms force off xset dpms force on share|improve this answer answered Here is what I am getting./home/pi/no_blank: Line 113: /etc/xdg/1xsession/LXDE/autostart.06-01-2014:16:15: Permission deniedThen it tires to complete a backup file with the following message. Does it make sense prebooking? Xset No Protocol Specified
Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. The screen will go dark. If I run this command from a terminal, it works fine. check over here MOD: Maybe this'd be more useful in the laptop forum than general?
I solved it by disable the hibernate function when I close the laptop. Gtk Cannot Open Display Fields that can be ordered in more than one way McClane is a NYPD cop. And also how to turn it on.
Will C++17 support the simpler Range-based For Loop? Not quiet a default installation. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I know super user has no connection to the X server, but in the circumstances where this script is run, this is a bug. "Your beliefs can be like fences that
How to experiment with Ethereum without downloading the entire blockchain? Wife Works in LA. Output the sign Difference between \the, \showthe and \show commands? A lightbulb went off in my head, that there must be a better way to do this via command line and then run it in the cron.
share|improve this answer answered Dec 25 '11 at 20:07 emreakyilmaz 1128 add a comment| up vote 0 down vote You can use vbetool (only on amd64 or i386). share|improve this answer answered Dec 27 '11 at 19:49 Cyrbil 4,60211225 add a comment| up vote 0 down vote I'm running Ubuntu Server 14.04 and I went into: /sys/class/backlight/gmux_backlight then sudo i appreciate this very much. My remote machine is running ubuntu 9.10, and I have have ssh access to it.
Basic config, Serial Port add-on etc:http://blackeagle12.net/Comp/RPi/Rpi.html Click web icon on right side ---> Posts: 3920Joined: Sat Jan 12, 2013 3:01 amLocation: Grants Pass, OR, USA by carolinarider » Wed May 21, It gives me an error 'xset: unable to open display "'... –m4n1c Oct 31 '12 at 7:26 1 You might need to tell xset what X-display to talk to: export The xset command is the X server preferences command. It has a simple command to turn off the monitor: 1$ xset dpms force off and to turn the monitor back on: 1$ xset dpms force on You can also check
By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. It's all the way over at my desk, perhaps three metres away. Registration is quick, simple and absolutely free. Both commands work from a terminal.. :?
To keep others from searching for this, cron needs the full path to vbetool on ubuntu "/usr/sbin/vbetool dpms off" willl do the trick LatestMQTT vs Websockets vs HTTP/2: The Best IoT I'm in bed with my laptop, and I don't want to have to go all the way over there to turn it off before I go to sleep. Otherwise Skip. Access to the path is denied PowerShell Writing a recommendation letter for a student I reported for academic dishonesty A published paper stole my unpublished results from a science fair Can