ef5a Running X inside Jail and Forward it to host console - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old November 21st, 2012, 01:42
zennybsd zennybsd is offline
Member
 
Join Date: Mar 2011
Posts: 122
Thanks: 36
Thanked 7 Times in 7 Posts
Default Running X inside Jail and Forward it to host console

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 Images
File Type: jpg pkg_add_xorg_dependency_problem.jpg (44.8 KB, 9 views)

Last edited by SirDice; November 21st, 2012 at 11:18. Reason: Proper use of [cmd] tags: http://forums.freebsd.org/showthread.php?t=8816#cmd
Reply With Quote
  #2  
Old November 21st, 2012, 03:05
bbzz bbzz is offline
Member
 
Join Date: Nov 2010
Location: random
Posts: 832
Thanks: 77
Thanked 120 Times in 80 Posts
Default

Maybe check this out.
Reply With Quote
  #3  
Old November 21st, 2012, 03:31
zennybsd zennybsd is offline
Member
 
Join Date: Mar 2011
Posts: 122
Thanks: 36
Thanked 7 Times in 7 Posts
Default 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!
Reply With Quote
  #4  
Old November 21st, 2012, 11:20
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Don't use the release packages, they are old.

Set PACKAGESITE to ftp://ftp.freebsd.org/pub/FreeBSD/po...stable/Latest/ and use pkg_add -r .
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #5  
Old November 21st, 2012, 17:31
zennybsd zennybsd is offline
Member
 
Join Date: Mar 2011
Posts: 122
Thanks: 36
Thanked 7 Times in 7 Posts
Unhappy Thanks, SirDice, but still fails.

Thanks SirDice for your pointer, yet the installation fails as attached.
Attached Files
File Type: txt xorg_failed_freebsd.txt (9.8 KB, 5 views)
Reply With Quote
  #6  
Old November 21st, 2012, 17:33
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,852
Thanks: 48
Thanked 2,061 Times in 1,890 Posts
Default

Quote:
Code:
pkg_add: package 'pkgconf-0.8.9' conflicts with pkg-config-0.25_1
Read /usr/ports/UPDATING.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #7  
Old November 21st, 2012, 17:37
chatwizrd chatwizrd is offline
Member
 
Join Date: Jul 2012
Posts: 157
Thanks: 7
Thanked 18 Times in 15 Posts
Default

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
Reply With Quote
Reply

Tags
jails, x-forwarding, xinit, xorg, xserver

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind inside jail refuse to forward queries plexor Web & Network Services 6 March 3rd, 2012 12:12
forward vpn into jail without pf/ipfw/etc nekoexmachina Networking 2 January 15th, 2012 03:43
[Solved] forward packets to jail with pf z662 Firewalls 12 February 26th, 2010 19:59
DNS inside jail gpatrick Web & Network Services 0 November 1st, 2009 04:43
Forward port 80 requests to jail? cwhitmore Web & Network Services 5 May 12th, 2009 03:38


All times are GMT +1. The time now is 03:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0