LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-31-2013, 11:35 AM   #1
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Rep: Reputation: Disabled
To access remote machine as if using local machine.


I recently purchased a server of mine (VPS).
I log in via ssh and so enter into the terminal of my
remote server which is Centos 5
Now please assist me to say how I can access it as
if I am assessing my local machine.
By this I mean, I should see the complete desktop.
Then i can open terminal, browser,etc. just like my personal computer here locally.
(Just for info, mentioning that my local machine OS is ubuntu13.04)

Last edited by ravisingh1; 08-31-2013 at 12:43 PM.
 
Old 08-31-2013, 12:09 PM   #2
rhbegin
Member
 
Registered: Oct 2003
Location: Arkansas, NWA
Distribution: Fedora/CentOS/SL6
Posts: 381

Rep: Reputation: 23
I would think you could use tigervnc but configure it to use tunneling over ssh.
 
Old 08-31-2013, 02:14 PM   #3
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
I googled and found that tightVNC mentions that it is good for low speed internet and tigerVNC mentions that it is focused on performance and remote display functionality.
My internet speed is too slow (18kbps while downloading). So, which one is better tightVNC or tigerVNC?
 
Old 08-31-2013, 03:42 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,316

Rep: Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017
Quote:
Originally Posted by ravisingh1 View Post
I googled and found that tightVNC mentions that it is good for low speed internet and tigerVNC mentions that it is focused on performance and remote display functionality.
My internet speed is too slow (18kbps while downloading). So, which one is better tightVNC or tigerVNC?
Since you know which one is better over a slow link, which is better over a faster link, and know your connection speed, should you be able to figure this out for yourself??.

Slow link = tightVNC, as documentation says. Also, since you've said you have years of experience in unix, you should also already know that VNC and remote-desktop apps are insecure, slow, and unnecessary, and that ALL of your administration can be done over SSH. GUI programs can be run using SSH forward.
 
Old 08-31-2013, 06:49 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,758

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
Quote:
Originally Posted by ravisingh1 View Post
I recently purchased a server of mine (VPS).
I log in via ssh and so enter into the terminal of my
remote server which is Centos 5
Now please assist me to say how I can access it as
if I am assessing my local machine.
By this I mean, I should see the complete desktop.
Then i can open terminal, browser,etc. just like my personal computer here locally.
(Just for info, mentioning that my local machine OS is ubuntu13.04)
question #1 to ask, the VPS you are renting does it have the GUI installed? If not then you will not see anything remotely like you see in Ubuntu. its that simple.

as you should have root access you can yum install gdm and gnome shell (do some google searching as ive never bothered with a GUI for my centos servers)

Once you have it up and running you can either, as mentioned above, run some form of VNC or rdesktop, as that is built into the GUI in most cases, or just use ssh -Y or -X to access the specific local application. ie: firefox or thunderbird, or gedit, etc...
 
Old 08-31-2013, 06:51 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,758

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
Quote:
Originally Posted by ravisingh1 View Post
I googled and found that tightVNC mentions that it is good for low speed internet and tigerVNC mentions that it is focused on performance and remote display functionality.
My internet speed is too slow (18kbps while downloading). So, which one is better tightVNC or tigerVNC?
with that slow of a connection, neither will work well. you will be better off running raw ssh -X or ssh -Y on the single application you need access to. see my post above and tbones.
 
Old 08-31-2013, 11:34 PM   #7
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,283

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I doubt you'll find anything that will give you a useable remote GUI desktop with that slow of a connection. I have never found VNC (any flavor of VNC) to be fast. NX is significantly faster, and more secure. But still, that connection speed is not good for this type of stuff.
 
Old 09-01-2013, 10:34 AM   #8
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
question #1 to ask, the VPS you are renting does it have the GUI installed? If not then you will not see anything remotely like you see in Ubuntu. its that simple.

as you should have root access you can yum install gdm and gnome shell (do some google searching as ive never bothered with a GUI for my centos servers)

Once you have it up and running you can either, as mentioned above, run some form of VNC or rdesktop, as that is built into the GUI in most cases, or just use ssh -Y or -X to access the specific local application. ie: firefox or thunderbird, or gedit, etc...
Yes you pointed out the right thing.
It seems the below error is because GUI isn't installed.
I installed gparted and then ran only to get the below message.

Code:
ravbholua@ravi:~$ type gparted
gparted is /usr/sbin/gparted
ravbholua@ravi:~$ sudo gparted

(process:2249): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(gpartedbin:2249): Gtk-WARNING **: cannot open display: 
ravbholua@ravi:~$

Last edited by ravisingh1; 09-01-2013 at 10:41 AM. Reason: typo
 
Old 09-01-2013, 10:51 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,316

Rep: Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017Reputation: 6017
Quote:
Originally Posted by ravisingh1 View Post
Yes you pointed out the right thing. It seems the below error is because GUI isn't installed. I installed gparted and then ran only to get the below message.

Code:
ravbholua@ravi:~$ type gparted
gparted is /usr/sbin/gparted
ravbholua@ravi:~$ sudo gparted

(process:2249): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(gpartedbin:2249): Gtk-WARNING **: cannot open display: 
ravbholua@ravi:~$
You got it, because you haven't set up your X environment yet. Going back to what I posted before about using X over SSH, you have to set up the DISPLAY variable, and also configure ssh to ALLOW X to run over it, as well as using the "-x" parameter when you make your connection. Did you do any of that?
 
Old 09-01-2013, 10:59 AM   #10
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
You got it, because you haven't set up your X environment yet. Going back to what I posted before about using X over SSH, you have to set up the DISPLAY variable, and also configure ssh to ALLOW X to run over it, as well as using the "-x" parameter when you make your connection. Did you do any of that?
Thanks TBOne for the method to resolve the issue.
No, I haven't done any of that.
I need to google and understand how to proceed.
Any further assistance in this regard w'd be appreciated.
 
Old 09-01-2013, 11:04 AM   #11
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
ALL of your administration can be done over SSH. GUI programs can be run using SSH forward.
Pleased to read this.
 
Old 09-01-2013, 11:09 AM   #12
ravisingh1
Member
 
Registered: Apr 2013
Location: Mumbai
Distribution: Ubuntu13.10
Posts: 291

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ravisingh1 View Post
I recently purchased a server of mine (VPS).
I log in via ssh and so enter into the terminal of my
remote server which is Centos 5
Now please assist me to say how I can access it as
if I am assessing my local machine.
I w'd like to update that I have changed my Operating System from Centos 5 to Ubuntu13.04 in server (VPS).So, I have the same OS locally and in VPS.
 
Old 09-01-2013, 11:12 AM   #13
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,758

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
then you need to talk with your VPS provider. this is something they should handle for you as they will have the tools to manage the VM that you will not.
 
  


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
remote can't access local virtual machine flreey Linux - Desktop 2 09-19-2011 11:23 PM
mounting samba filesystem on remote machine as /home on local machine shishirkotkar Linux - Software 1 04-28-2008 06:05 AM
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 01:23 PM
Complicated one: MySQL, rsync, remote machine, local machine daiver Linux - General 2 02-27-2006 01:14 PM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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