Skip to main content

All Questions

Tagged with
1 vote
1 answer
465 views

Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, when starting java program per ssh

My java program should open the default browser and open a link. When I local start the java program on my ubuntu server it works just fine, but when I start the program per ssh it gives me this error:...
Jackolix's user avatar
0 votes
1 answer
349 views

Run Swing GUI through SSH terminal with Ubuntu client and server

I am testing out a program on a headless PC with Ubuntu 20.04 loaded. On my development PC (client) I package the program into a jar and copy the jar to the headless PC (server) using ssh. The jar ...
jlaufer's user avatar
  • 177
-1 votes
2 answers
2k views

Hadoop NameNode Web Interface

I have 3 remote computers (servers): computer 1 has internal IP: 10.1.7.245 computer 2 has internal IP: 10.1.7.246 computer 3 has internal IP: 10.1.7.247 (The 3 computers above are in the same ...
TrungNhan NguyenHuu's user avatar
0 votes
0 answers
236 views

jcraft.jsch using ssh Key

After reading the risks in cause of using : session.setConfig( "StrictHostKeyChecking", "no" ); i want to change it. So I get the public ssh key on a ubuntu 20.04 with : ssh-...
joob's user avatar
  • 1
0 votes
0 answers
64 views

Fail to run `sudo ./sbin/start-dfs.sh` with Hadoop3.0.0 beta1 in Ubuntu 16.04(VMware Workstation14)

I try to deploy a distributed system with Hadoop3.0.0beta1 in Ubuntu16.04, and I have configured the ssh protocol and all my nodes can login without password. But When I try to run sudo ./sbin/start-...
xiaoqiang yu's user avatar
1 vote
1 answer
696 views

selenium server, selenium client, on an UBUNTU GUI server

i have a VPS with ubuntu 14.04 LTS and with the desktop package installed, that mean I can launch firefox from a ssh -X session. To make tests, I launched from my server the selenium standalone server ...
saperlipopette's user avatar
1 vote
2 answers
13k views

How to open 8080 port to listen HTTP request from remote computer in ubuntu? [closed]

I have run following command :- nmap localhost and get following result :- Starting Nmap 6.40 ( http://nmap.org ) at 2015-08-28 09:52 UTC Nmap scan report for localhost (127.0.0.1) Host is up (0....
Sushant Srivastava's user avatar
0 votes
1 answer
92 views

Command execution in ubuntu

My server is running on OS ubuntu 10.4. When I run command "skype -callto userid" it makes a call using Skype user interface. But when I run same command by connecting via SSH or java code ...
raheem52's user avatar
  • 496
0 votes
0 answers
274 views

How do I start a browser in a remote ubuntu system?

I am running two Ubuntu 12.04 machines. Machine A needs to start a browser (firefox or chrome) on machine B but it is not required for it to see the browser window. It just needs to start the browser ...
sundeepa's user avatar
6 votes
1 answer
2k views

Build artifacts over ssh jenkins - PHP

Copy only the changed file in bitbucket to the development server , using send build artifacts over ssh jenkins - PHP HI i am using jenkins and bitbucket , when ever my files changed in bitbucket my ...
Kanishka Panamaldeniya's user avatar
1 vote
3 answers
1k views

Copy a file in ubuntu to windows using putty - ssh from windows

I Have to copy a .csv file in my ubuntu machine into my windows machine by standing in windows itself. That is I have to do the copying process by running putty or anything like that from windows ...
nr.iras.sk's user avatar
  • 8,508
0 votes
0 answers
1k views

Permission denied error for "ls" operation on SFTP server through Java API

I've an SFTP server with appropriate credentials setup. I've an admin user on that machine, which has certain rights to perform certain actions. So, I've edited the sudoers file to add action like ...
Saurabh Gokhale's user avatar
5 votes
3 answers
4k views

Deploy JavaFX on Ubuntu server without display

I'm developing a JavaFX application using jdk1.7.0_51 on Mac OS X (10.9.1) in Netbeans. I can run it without a problem and after a clean build I can also launch the jar from the dist/ folder. Now I ...
RDM's user avatar
  • 5,066
-1 votes
1 answer
69 views

Connecting to ubuntu instance in amazon ec2 without java

How can I connect to an ubuntu instance in amazon ec2 from my ubuntu pc without using java?
Corei13's user avatar
  • 261
1 vote
1 answer
6k views

java application and x11 forwarding

I need to start jperf on virtual server. I configured X11 forwarding via ssh. xclock - is working. But if I start jperf I get: user@client-32:~/sandbox/jperf-2.0.2$ sh jperf.sh Exception in ...
andreykyz's user avatar
  • 435

15 30 50 per page