Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I install BitBucket Server without XServer

Hello,

 

I am trying to install BitBucket on my Linux server, which has no GUI or X. But I am not able to install it as even tho the installer can work from console only, it still requires a GUI. How do I bypass that so I can Install BitBucket without needing to install a GUI on my server ( which would be idiotic since it is a server and not a client ) ?

 

Thank you for reading this

2 answers

1 accepted

0 votes
Answer accepted

After we run the Installer bin with the argument "-c" we were able to continue by killing the process "/usr/bin/xprop -root"

I didn't try that approach. Certainly some explanation would be helpful tho.

Some background about the error message when you don't have an X server.

First up: Sun Microsystems developed Java, hence "sun" appears in the class names in the error message.
In my case, I was installing on a rack server that had only been brought up to the command-line level (termed "multi-user mode" under Redhat 8.2 which uses SystemD and its "targets"). For those older Unix users, dumping /etc/inittab can be instructive.
You can change the system target and reboot, but in my case I simply ran startx and the RedHat GUI started (I think it is an upgrade of Gnome). Anyway, once that happened, I could run the Atlassian Bitbucket installer without error, but it did plaster dialogs on the GUI, which I guess was the point of starting the Desktop anyway. It's funny in the current world of pandemic remote work, the limitations of software products can become painfully evident. Normally, I would do everything from home from a PuTTY session -- no GUI at all. Not possible here, and since Atlassian is phasing out the Server product, I guess it never will be.

0 votes

Hi,

Which installer are you using, and what part is saying it requires a GUI? 

CCM

Linux x64 installer. It tries to connect to a XServer which is not installed.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,719 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you