LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2011, 11:37 PM   #16
astromime
LQ Newbie
 
Registered: May 2011
Posts: 26

Rep: Reputation: 13

wow, please read through and tell me if you can even understand what your asking

do you physically own this server? or is it a dedicated server? (the former is more likely, im guessing)
 
Old 05-20-2011, 12:33 AM   #17
Fracker
Member
 
Registered: Mar 2009
Posts: 86

Rep: Reputation: 0
Quote:
can you please tell me where I found Xmanager setup
http://www.netsarang.com/

Quote:
how to install it
Well i can't help you in doing Next Next Next.... Sorry

Everything else is self explained

Last edited by Fracker; 05-20-2011 at 12:44 AM.
 
Old 05-20-2011, 02:27 AM   #18
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Don't think that Xmamager is required. Plenty of people live without it and can execute jar files.
 
Old 05-20-2011, 03:04 AM   #19
ankit.pandey3
LQ Newbie
 
Registered: May 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
Please friends reply anyone??????
 
Old 05-20-2011, 03:07 AM   #20
ankit.pandey3
LQ Newbie
 
Registered: May 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by astromime View Post
wow, please read through and tell me if you can even understand what your asking

do you physically own this server? or is it a dedicated server? (the former is more likely, im guessing)
Friend This server is in USA and I can upload files in it through Filezilla and cmd prompt through "Putty".
 
Old 05-20-2011, 04:28 AM   #21
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
You should have provided that information in your first post. I don't have experience with this so can't help but I'm quite sure there is way; I think that googling for 'remote X' or 'remote X11' should get you on the way.

I'm out but will follow to possibly learn something from it.
 
Old 05-20-2011, 04:31 AM   #22
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The OP did hint at that, since they mentioned using PuTTY in their first post. That was why I suggested using NX, though I'm unable to help with setting up a server unfortunately (having never done it myself).
 
Old 05-20-2011, 10:40 PM   #23
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Apologies to OP

Either I did not read it properly or I forgot. Sorry.
 
Old 05-21-2011, 02:13 AM   #24
ankit.pandey3
LQ Newbie
 
Registered: May 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
Now I install XManager now on my local PC. Now I don't understand how I can execute my jar file.
Can anyone help???
 
Old 05-21-2011, 02:21 AM   #25
Fracker
Member
 
Registered: Mar 2009
Posts: 86

Rep: Reputation: 0
Remaining three steps..

2. Open Xmanager (passive)
start--> programs --> Xmanager -- Xmanger - Passive
3. run command on the server "export DISPLAY=you.r.ip.add:0.0
putty --> login-- export DISPLAY=you.r.ip.address:0.0
4. java -jar jarfile.jar
Simply type
 
Old 05-21-2011, 02:27 AM   #26
Hevithan
Member
 
Registered: Apr 2011
Location: Washington State
Distribution: Zorin5-(Ubuntu 11.04) // Backtrack 5-(Ubuntu 10.04) // Dreamlinux 3.5-(Debian)
Posts: 275
Blog Entries: 5

Rep: Reputation: 40
Quote:
Originally Posted by ankit.pandey3 View Post
Now I install XManager now on my local PC. Now I don't understand how I can execute my jar file.
Can anyone help???
Well now that you have X, have you tried


Code:
$java -jar serverfile.jar
again?

Make sure you are in the appropriate directory when you execute that command. You will have to have the java runtime or sdk installed for this.

If you can not install these go to googleand type: linux java runtime install in the search bar. (3rd link down looks good) ... Click it ... READ what it says. DO NOT skim through it: Read it ... leave it open so you can use it as a guide.

(note: as my signature says, This is a suggestion not a solution. Post back if it doesn't work or isn't what you needed)
 
Old 05-21-2011, 03:05 AM   #27
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Hevithan View Post
(note: as my signature says, This is a suggestion not a solution. Post back if it doesn't work or isn't what you needed)
This is OT, but that light green in your sig is difficult to read against the grey background.
 
Old 05-21-2011, 11:05 PM   #28
ankit.pandey3
LQ Newbie
 
Registered: May 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Fracker View Post
Remaining three steps..

2. Open Xmanager (passive)
start--> programs --> Xmanager -- Xmanger - Passive
3. run command on the server "export DISPLAY=you.r.ip.add:0.0
putty --> login-- export DISPLAY=you.r.ip.address:0.0
4. java -jar jarfile.jar
Simply type
Friend when i run this command it asking for a password. So i enter the password of my linux server many times but every time it displays "Access Denied". What is problem now??
Please guide me....
 
Old 05-22-2011, 11:36 PM   #29
ankit.pandey3
LQ Newbie
 
Registered: May 2011
Posts: 27

Original Poster
Rep: Reputation: Disabled
Yes...It works...
I just set the classpath and run XManager(passive).....and jar file executes..
 
Old 05-23-2011, 12:25 AM   #30
Fracker
Member
 
Registered: Mar 2009
Posts: 86

Rep: Reputation: 0
Please mark it as SOLVED...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a daemon Linux service to a Java application which execute a .jar haseit Linux - Newbie 2 10-14-2011 03:10 AM
Jar files in linux kapilbajpai88 Linux - Newbie 4 11-05-2009 10:39 AM
Want to take a Backup as jar and upload jar to other server LearnUnix Linux - Newbie 4 10-30-2009 04:48 AM
how do i execute a jar (java application) in linux amolgupta Linux - Software 2 07-20-2006 05:55 AM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 05:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration