Advertisement
crystallfoxx

Regenerar la config de xstartup

Jan 24th, 2016
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.46 KB | None | 0 0
  1. 1. Regenerar la config de xstartup: mkdir -p ~/.vnc/
  2. {
  3. echo '#!/bin/sh';
  4. echo;
  5. echo '[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources';
  6. echo 'xsetroot -solid grey';
  7. echo 'export XKL_XMODMAP_DISABLE=1';
  8. echo 'export LANG=es_ES.UTF-8';
  9. echo 'export LANGUAGE=es_ES.UTF-8';
  10. echo 'vncconfig -iconic &';
  11. echo '/usr/bin/startlxde &';
  12. } > ~/.vnc/xstartup
  13. chmod +x ~/.vnc/xstartup
  14.  
  15. 2: Prender VNC de nuevo: tightvncserver :1 -localhost -geometry 1024x768 -depth 16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement