LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2002, 07:50 PM   #1
zipur
LQ Newbie
 
Registered: Oct 2002
Posts: 15

Rep: Reputation: 0
Auto Load x0rfbserver (VNC) On Boot


What is the easiest way to have x0rfbserver load on boot so I can remotely take control of server login?

x0rfbserver is a VNC Server that allows access to the XWindows System.

The x0rfbserver resides in /usr/X11R6/bin/x0rfbserver
 
Old 10-07-2002, 07:59 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
x0rfbserver allows you access to a VNC service running as an X client and pushing it out over a network. It is not particularly quick, and does not allow you to view what someone else is doing, it only allows you to run a remote system in GUI. You cannot (to the best of my knowledge) run a VNC server on one machine and have others log in as if it had a login prompt... VNC is run as a user and anyone that connects to the server (over the network) will therefore be running as that user. This might sound complicated, but if you take this as an examlpe: Remote server computer run VNC as the user thymox. Local machine logged in as grant would connect to the VNC server and the VNC session being used would act as if the user was thymox. Makes sense? If the remote system is powerful enough (and most moden machines are), you should consider connecting an X client on the local machine to the X server on the remote machine. Details can be found in the X docs.

As for running it at startup... do you mean you want to be able to log into your local machine (in KDE, say) and have x0rfbserver run once you're logged in? If this is the case, then you'd want to put it either in your X startup script (~/.xinitrc) or in your KDE/Gnome autostart folders.

HTH
 
Old 10-07-2002, 11:58 PM   #3
zipur
LQ Newbie
 
Registered: Oct 2002
Posts: 15

Original Poster
Rep: Reputation: 0
ok, I understand. BUT...

I like using a GUI to connect to the remote box.

I am breaking away from windows but some of my habits are stuborn ones.

I used to use PCAnyWhere to connect to my remote servers, now I use VNC to connect to my remote win32 Servers from my Linux Workstation.

I guess what I want is the best solution for remotely accessing my Linux Servers that I am launching. If the server reboots fopr some reason and I need to connect to it to make sure all is fine with the world, what is the best way to log into it and make sure all services etc are running.

Also, if I want to remotely access a Linux Server and upgrade Apache for example, what method of remote access is suggested for this?

Many Thanks!!!
 
Old 10-08-2002, 01:09 AM   #4
RijilV
Member
 
Registered: Sep 2002
Location: somewhere
Distribution: gentoo
Posts: 123

Rep: Reputation: 15
you're better off using an XFree86 client to connect to the remote Linux boxen. way easier. cygwin makes one I do believe

or you can just SSH into the box, which really *should* be your perfered method of remote administration, VNC, while it makes sure you setup a password, isn't particularly secure, looks around for the shatter class of attacks....anyhow

if all you are doing is checking to see services running, and you are using Linux, well, hey. this is why Unix system admins get paid more. Just like Cisco gear sometimes isn't the worlds most friendly (I agree its a far cry from unfriendly too).

anyhow, back to the point. for remotely upgrading software, again, easy under SSH as long as you can stand a command line, which, in all honesty, is part of Linux and you should be using it. GUI tools are notorious for frogging things up, and you'll never know how things really work, configuration options the GUI tool doesn't have you'll never know about.

well enough of my ranting...go with SSH
 
Old 10-08-2002, 06:39 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
If all you want is to check that your remote system's services are up and running, may I suggest you take a look at Webmin? It's an http based control type thing. Although you can do a lot of damage with it (if you log in as root), you should be able to just view stuff if you log in as a normal user. A note though... the normal user that you'd be logging in as has to exist on the server.
 
Old 10-08-2002, 12:20 PM   #6
zipur
LQ Newbie
 
Registered: Oct 2002
Posts: 15

Original Poster
Rep: Reputation: 0
I am using webmin already, just want to better understand how to do this so that when webmin is unavailable I am not SOL. I tried using ssh and I agree that is the best way with the most functionality.

Thanks for all the help... If you guys have any ideas on networking with Linux, I have a problem listed here that I have had no help on so far.

http://www.linuxquestions.org/questi...344#post152344

thanks again!!!!
 
  


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
auto-load nic driver on boot? (slack) nadroj Linux - Newbie 5 04-24-2005 09:42 PM
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 09:48 PM
x0rfbserver or VNC server -- startup the bishop Mandriva 10 02-24-2005 12:35 PM
Red Hat 9.1 + VNC Auto Start JustMe5551212 Linux - Newbie 8 09-26-2003 10:51 PM
Starting x0rfbserver (VNC basically) via SSH deckmoney Linux - Software 0 04-16-2003 05:28 PM


All times are GMT -5. The time now is 02:06 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