LinuxQuestions.org
Visit Jeremy's Blog.
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 06-22-2004, 09:22 PM   #1
rwalkerphl
Member
 
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Rep: Reputation: 15
How do I access Gnome remotely?


I want to be able to use Gnome remotely, as I am away from home a lot, and I find a GUI easier to use then command line all the time.

Thanks!

Robin.
 
Old 06-22-2004, 09:30 PM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try VNC
http://www.tightvnc.com/
 
Old 06-22-2004, 09:51 PM   #3
rwalkerphl
Member
 
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
I just installed vncserver on the linux server, and when I run it, I get the following message:

vncserver: couldn't find "xauth" on your PATH.

Any ideas?

Thanks!

Robin.
 
Old 06-22-2004, 09:59 PM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
What is your path? What is the output of:
echo $PATH
 
Old 06-22-2004, 10:03 PM   #5
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
make sure /usr/X116/bin is in your $PATH
 
Old 06-23-2004, 12:46 AM   #6
rwalkerphl
Member
 
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
OK, got that! next, how do I get the listening service running on the Linux server? If I put vncviewer -listen, it says command not found.

Thanks!
 
Old 06-23-2004, 01:00 AM   #7
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
vncserver :1
 
Old 06-23-2004, 01:10 AM   #8
rwalkerphl
Member
 
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
I have it up and running. I have to say, in the 2 days I have been registered on this site, you guys have kicked ass!

Thanks!

Robin.
 
Old 06-23-2004, 10:51 AM   #9
rwalkerphl
Member
 
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
Next question! I have TightVNC up and running now, but I have a couple of problems:

1. The Xwindow only logs in as root. Is there any way to change user in the GUI environment, similar to an SU - username in the command line?

2. When trying to run a command that spawns a java package to run from VNC, I get the following error:

[oracle@apps rapidwiz]$ Xlib: connection to ":1.0" refused by server
Xlib: Client is not authorized to connect to Server
Rapid Install cannot open a new window.

java.lang.NullPointerException
at oracle.ewt.lwAWT.BufferedFrame._init(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at RIWizard.main(RIWizard.java:1530)

Any help in getting past this is much appreciated!

Thanks,
Robin.
 
Old 06-23-2004, 11:15 AM   #10
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

1. The Xwindow only logs in as root. Is there any way to change user in the GUI environment, similar to an SU - username in the command line?

you need to run vncserver as the user, or use su, eg
Code:
su user -c "vncserver :1"
Quote:

2. When trying to run a command that spawns a java package to run from VNC, I get the following error:

try temporarily disable access control
Code:
xhost +
when you're done
Code:
xhost -
 
Old 06-23-2004, 02:56 PM   #11
rwalkerphl
Member
 
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
You guys are awesome! Everything worked exactly the way I wanted it to!
 
  


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
Can't access Apache remotely zwyrbla Linux - Software 7 03-23-2005 07:14 PM
denying pop access remotely slack66 Linux - Security 1 01-28-2004 06:18 PM
can't access remotely to any service kunteper Linux - Networking 3 12-26-2003 08:02 AM
stoppin X access remotely dai Slackware 21 07-03-2003 12:16 PM
How To: Remotely access my nix box? nariman Linux - Newbie 5 05-18-2003 07:26 AM


All times are GMT -5. The time now is 07:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration