Skip to main content

Home/ Linux/ Group items tagged code

Rss Feed Group items tagged

Chris Fung

[Fix Work] ubuntu - can't start x11vnc without attached monitor - Unix & Linux Stack Ex... - 0 views

  • apt-get install vnc4server x11-xserver-utils xserver-xorg-video-dummy xterm wm2
  • sudo apt-get install x11vnc xserver-xorg-video-dummy check /etc/defaults/grub that it includes nomodeset flag: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
  • /etc/X11/xorg.conf
  • ...4 more annotations...
  • Section "Monitor" Identifier "Monitor0" HorizSync 28.0-80.0 VertRefresh 48.0-75.0 # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync EndSection Section "Device" Identifier "Card0" Driver "dummy" EndSection Section "Screen" DefaultDepth 24 Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Depth 24 Modes "1680x1050" EndSubSection EndSection
  • create service script in /etc/init.d/vncserver
  • your_username
  • 192.168.1.10
  •  
    Problem: VNC or Teamviewer can't start because no monitor is connected to Ubuntu. Solution: Installing a dummy video device to Xserver by following the instruction in this post.
Harsha Hulikere

AWS CLI - 0 views

AWS CLI Launch Configuration  aws ec2 run-instances --generate-cli-skeleton

started by Harsha Hulikere on 27 Jan 17 no follow-up yet
yc c

Qubes - 4 views

shared by yc c on 08 Apr 10 - Cached
  •  
    Isn't Qubes just another Linux distribution after all? Well, if you really want to call it a distribution, then we're more of a "Xen distribution", rather then a Linux one. But Qubes is much more than just Xen packaging -- it has its own VM management infrastructure, with support for template VMs, centralized VM updating, etc, and also its very unique GUI virtualization infrastructure. What is the main concept behind Qubes? To build security on the "Security by Isolation" principle. Key architecture features:Based on a secure bare-metal hypervisor (Xen)Networking code sand-boxed in an unprivileged VM (using IOMMU/VT-d)No networking code in the privileged domain (dom0)All user applications run in "AppVMs", lightweight VMs based on LinuxCentralized updates of all AppVMs based on the same templateQubes GUI virtualization presents applications like if they were running locallyQubes GUI provides isolation between apps sharing the same desktopStorage drivers and backends sand-boxed in an unprivileged virtual machine(*)Secure system boot based on Intel TXT(*)
Marc Lijour

AirPlay et Linux : un plugin pour Totem - 0 views

  • Un plug-in Totem permet d'utiliser ce lecteur pour envoyer et recevoir des flux vidéo dans Totem via AirPlay, de quoi par exemple tirer parti d'un Apple TV avec un serveur multimédia Ubuntu. Le plug-in, disponible au téléchargement, s'installe en deux lignes de commande, git clone http://git.sukimashita.com/totem-plugin-airplay.git pour cloner le dépôt, puis ~/.local/share/totem/plugins/airplay pour déplacer les fichiers au bon endroit. Ne reste qu'à activer le plug-in dans Totem.
  •  
    Un plug-in Totem permet d'utiliser ce lecteur pour envoyer et recevoir des flux vidéo dans Totem via AirPlay, de quoi par exemple tirer parti d'un Apple TV avec un serveur multimédia Ubuntu.
anonymous

Wikipedia:Everything you always wanted to know about Bad Jokes and Other Deleted Nonsen... - 0 views

  • Linus Torvalds facts Linus Torvalds facts are a series of humorous sayings regarding Linus Torvalds. Some of them include: Linus Torvalds edited this page. Linus Torvalds can program without a keyboard Since 1969, the year Linus Torvalds was born, software quality has increased 19.000 percent. The commonest definition of the word programmer is Linus Torvalds Linus Torvalds didn't learn from the University of Helsinki the University of Helsinki learned from Linus Torvalds. Linus Torvalds finished the Linux Kernel the day before he started on it. Linus Torvalds once developed a programming language so good that it makes python look like punch cards. Linus Torvalds doesn't need to boot. Linus Torvalds first written program had artificial intelligence. Linus Torvalds doesn't receive error messages. There is no theory of probability, just a list of events that Linus Torvalds allows to occur. Linus Torvalds doesn't use a monitor. He can read the video signals from a VGA cable with his finger. Linus Torvalds can write to ntfs. Linus Torvalds can install gentoo in under a day. When Linus Torvalds writes new software, he just makes punch cards with his teeth and feeds them into a reader. Linus Torvalds source codes compile themselves. When Linus Torvalds learned to program, the computer printed HELLO, WORLD by itself. Linus was considered as being old and stable at 24, but new and bleeding edge at 26 Linus surfs the web using nothing but netcat Linus Torvalds can play 3D games in his head by interpreting the source code in real-time. Being touched by Linus can cure carpal tunnel syndrome. He does not cure RMS because he thinks it's funny to listen to RMS dictating code for the HURD. Linus Torvalds only wears glasses to make him seem more human. Linus Torvalds can fluently converse with setup wizard. They play basketball on Sundays. Linus Torvalds is the only known entity capable of uploading pure pleasure. Linus Torvalds can read your computer registry from any given point in the world, through any material. Linus Torvalds takes one look at your desktop and knows which porn sites you visited. In the last ten years.
  •  
    Like the infamous Chuck Norris Facts, only with a lot more nerd and a lot less guns.
David Corking

Reconnecting your SSH agent to a detached GNU screen session | tolaris.com - 3 views

  •  
    This is almost perfect!  For me, on Debian 7.1, Remi's code needed a small tweak. I put backticks around `whoam`i It allows me to use git push/pull after I have disconnected and reconnected to a screen session. SSH_AUTH_SOCK=$(find /tmp/ssh-* -user `whoami` -name agent\* -printf '%T@ %p\n' 2>/dev/null | sort -k 1nr | sed 's/^[^ ]* //' | head -n 1)
anonymous

OOM Killer - linux-mm.org Wiki - 0 views

  •  
    The functions, code excerpts and comments discussed below here are from mm/oom_kill.c unless otherwise noted. It is the job of the linux 'oom killer' to sacrifice one or more processes in order to free up memory for the system when all else fails. It will also kill any process sharing the same mm_struct as the selected process, for obvious reasons. Any particular process leader may be immunized against the oom killer if the value of its /proc//oomadj is set to the constant OOM_DISABLE (currently defined as -17). The function which does the actual scoring of a process in the effort to find the best candidate for elimination is called badness(), which results from the following call chain: _alloc_pages -> out_of_memory() -> select_bad_process() -> badness() The comments to badness() pretty well speak for themselves:
Paul Sydney Orozco

Tutorial On Spring with Hibernate and Java Persistence API - 0 views

  •  
    Sample of using Hibernate Annotations by reducing XML configuration files thus making it simpler to define required metadata directly into our Java code. When using annotations, we no longer need the additional mapping file (*.hbm.xml). The metadata for the ORM is specified in the individual classes.
Sandra Nowakowski

CCSP Guide - 0 views

  •  
    Welcome To Ccsp.us Ccsp.us. Not What You're Looking For? Related Searches. Ccsp Book. Ccsp Guide. Ccsp Certification ... Ccsp Certification. Authorized Cisco Certified Security ... Www.ccsp.us Delphi - Other - Free Downloads At Source Code Online ...
Sandra Nowakowski

CCNA Study Guide - 0 views

  •  
    Albert's Ccna Study Guide Access List 1-99 Ip Standard 100-199 Ip Extended 200-299 Protocol Type Code 300-399 Decnet Access List ... Albert's Ccna Study Guide. Albert's Ccna Study Guide ... Www.pass100.net/jisuanji/sike/shiti/79216.html Cisco Ccna...
sofarso Shawn

pure-lang - Google Code - 0 views

  •  
    Pure is a modern-style functional programming language based on term rewriting... Who pays for software anyways now?
Maluvia Haseltine

Scientific Linux release 4.8 released for 32bit and 64bit « Linux with examples - 0 views

  •  
    Scientific Linux is a free Linux distribution which aims to be 100% compatible with and based on Red Hat Enterprise Linux.free & open source software made available by Red Hat, Inc., but is not produced,maintained or supported by Red Hat. Specifically, this product is built from the source code for Red Hat Enterprise Linux versions.
yc c

namebench - Project Hosting on Google Code - 2 views

  •  
    Are you a power-user with 5 minutes to spare? Do you want a faster internet experience? Try out namebench. It hunts down the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation. namebench is completely free and does not modify your system in any way. This project began as a 20% project at Google.
yc c

Bluefish Editor : Home - 1 views

  •  
    Bluefish is a powerful editor targeted towards programmers and webdesigners, with many options to write websites, scripts and programming code. Bluefish supports many programming and markup languages, and it focuses on editing dynamic and interactive websites. See features for an extensive overview, take a look at the screenshots, or download it right away. Bluefish is an open source development project, released under the GNU GPL licence.
liza cainz

Fast, Reliable and Accurate Microsoft Support XP Tech Service - 1 views

I was amazed that after reformatting my hard drive to switch from Vista to XP, Help Gurus allowed me to use the same code I had already purchased on my new operating system! I held my breath as I t...

support service Desktop computer technical services PC tech

started by liza cainz on 04 Jan 11 no follow-up yet
1 - 20 of 47 Next › Last »
Showing 20 items per page