Commands tagged Xephyr (3)

  • # from xfce session to avoid keyboard shortcut clashing # start xephyr in VGA1 monitor: Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=it -listen tcp -ac -reset -output VGA1 :5 # then start an xterm locally export DISPLAY=:5.0 xterm # and remote ssh (no X fw needed if local tcp with access disablesd (-tcp -ac) => UNSECURE!!! ssh remote-host export DISPLAY=notebook:5.0 xrdb -merge ~/.Xresources xterm -geometry 132x50-0+0 # start awesome dbus-launch $(which awesome) dex -a -e Awesome Show Sample Output


    0
    Xephyr -keybd ephyr,,,xkbmodel=evdev,xkblayout=it -listen tcp -ac -reset -output VGA1 :5
    hute37 · 2016-09-12 15:59:07 0
  • ssh compresion -C option ... on slow connection VNC performs better but in local LAN native secure X protocol is an option Show Sample Output


    -1
    ssh -XfC -c blowfish user@host Xephyr dpms -fullscreen -query localhost :5
    hute37 · 2012-11-01 18:59:57 1
  • XDMCP ust be enabled (gdm,lightdm,xdm etc ) Show Sample Output


    -1
    /usr/bin/Xephyr :5 -query localhost -once -fullscreen -ac -keybd "ephyr,,,xkbmodel=pc105,xkblayout=it,xkbrules=evdev,xkboption="
    hute37 · 2012-11-03 01:21:36 2

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands


Check These Out

kill some pids without specific pid
pgrep, pkill - look up or signal processes based on name and other attributes

Find usb device in realtime
Using this command you can track a moment when usb device was attached.

Deploy git server repo
After, check if working by executing this command locally : git clone git@192.168.0.18:repositories/gitosis-admin.git Tutorial : http://blog.hemca.com/?p=560

invoke MATLAB functions from command line
`-r script.m` also possible

Remove all HTML tags from a file

Install pip with Proxy
Installs pip packages defining a proxy

Verify/edit bash history command before executing it
Bash history commands are those that begin with the character ! (eg. the most popular 'sudo !!' Explained here => http://www.commandlinefu.com/commands/view/13). By default bash immediately executes the history command. Setting this shell option will make bash first allow you to verify/edit an history command before executing it. To set this option permanently, put this command in ~/.profile or ~/.bashrc file. To unset this option issue following command. $shopt -u histverify

Download SSL server certificate with opsnessl
Useful when we need to create new certificate for site when current one is near expiry. This downloaded cert can be used to provide organisational data directly to new cert. using below command. e.g. openssl x509 -x509toreq -in /tmp/example.com.cert -out example.com.csr -signkey example.com-key.pem

mkdir & cd into it as single command
The biggest advantage of this over the functions is that it is portable.

Find usb device in realtime
Using this command you can track a moment when usb device was attached.


Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: