1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Running X inside Jail and Forward it to host console

Discussion in 'Installation and Maintenance of Ports or Packages' started by zennybsd, Nov 21, 2012.

  1. zennybsd

    zennybsd New Member

    Messages:
    161
    Likes Received:
    0
    Hi:

    1) I am trying to install x with a lightweight desktop environments (lxde and i3) in a jail using pkg_add, but when I execute # pkg_add -r xorg, I am getting dependency errors (as shown in the attachment).

    2) Besides I would like to know whether a x-forwarding command like:

    # xinit -e ssh -XCc blowfish user@ip_address_of_jail "/usr/bin/startlxde &" -- :1 & disown

    Works with FreeBSD jails like in Linux machines?

    Thanks in advance!
     

    Attached Files:

  2. bbzz

    bbzz New Member

    Messages:
    867
    Likes Received:
    0
    Maybe check this out.
     
  3. zennybsd

    zennybsd New Member

    Messages:
    161
    Likes Received:
    0
    Already checked out!

    Yes, before I posted the original thread, I checked out the link you stated, but when adding xorg in jail gives errors at the first place as I stated earlier.

    Anyway, thanks for the pointer again!
     
  4. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,392
    Likes Received:
    7
  5. zennybsd

    zennybsd New Member

    Messages:
    161
    Likes Received:
    0
    Thanks, SirDice, but still fails.

    Thanks SirDice for your pointer, yet the installation fails as attached.
     

    Attached Files:

  6. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,392
    Likes Received:
    7
    Read /usr/ports/UPDATING.
     
  7. chatwizrd

    chatwizrd New Member

    Messages:
    205
    Likes Received:
    0
    You will see this in /usr/ports/UPDATING

    You have to run one of these commands to fix pkgconf:

    Code:
    20120726:
      AFFECTS: users of devel/pkg-config
      AUTHOR: bapt@FreeBSD.org
    
      devel/pkg-config has been replaced by devel/pkgconf  
      
      # portmaster -o devel/pkgconf devel/pkg-config
      or
      # portupgrade -fo devel/pkgconf pkg-config-\*
      
      pkgng:
      # pkg set -o devel/pkg-config:devel/pkgconf
      # pkg install -f devel/pkgconf