Advertisement
Guest User

How to comfortably run RetroShare "headless", using xpra

a guest
Jan 30th, 2013
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # How to comfortably run RetroShare "headless", using xpra
  2.  
  3.  
  4. # Little howto about running RetroShare on your server without having a desktop environment
  5. # running (just a tiny x-session)
  6.  
  7. # Tested on Ubuntu 12.04
  8. # RetroShare: http://retroshare.sourceforge.net/
  9. # xpra: http://xpra.org/
  10.  
  11.  
  12.  
  13. # On server install RetroShare:
  14.  
  15.      sudo add-apt-repository ppa:csoler-users/retroshare
  16.      sudo apt-get update
  17.      sudo apt-get install retroshare
  18.  
  19.  
  20. # Install xpra on server and client:
  21.  
  22.      sudo apt-get install xpra
  23.  
  24.  
  25. # On server start a screen session, so you can detach from it:
  26.  
  27.      screen
  28.  
  29.  
  30. # Start xpra and RetroShare:
  31.  
  32.      xpra start :100
  33.      DISPLAY=:100 RetroShare
  34.  
  35. # to detach from screen, press ctrl + a + d
  36. # to attach to the screen-session run "screen -r"
  37.  
  38.  
  39. # Now RetroShare is started. To controll it via gui, attach to the x-session, run by xpra
  40. # (This has to be executed on client):
  41.  
  42.      xpra attach ssh:user@serverhostname:100
  43.  
  44. # press ctrl + c whenever you want to detach. RetroShare wil keep running.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement