LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-21-2009, 08:01 AM   #1
CoronVB
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
CentOS - Desktop & VNC on a VPS


So I bought an unmanaged VPS off http://x10hosting.com/, and now I want to control it through VNC, as I only have SSH server control.

So I headed to their knowledgebase and followed this guide:
http://clients.x10hosting.com/knowle...ayarticle&id=5

Since I'm a Linux newbie, I didn't understand it at first, but quickly got into it and followed all steps correctly. I got the VNC server up and running, and I'm able to connect to it..
But when I'm connected, all I see is a cross and a black/grey screen. So apparently the desktop doesn't start, even though I changed the last line in xstartup to what they told me (startkde &).

BUT when I type that in console, I get an error saying something with a connection error I'll post a screenshot soon..

PLEASE HELP!!!

Screenshot: http://i47.tinypic.com/257ixao.png

Last edited by CoronVB; 11-21-2009 at 08:06 AM.
 
Old 11-21-2009, 10:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
vnc is evil, don't use it. instead use nx from nomachine.org. it will give you a really nice experience, and will tunnel everything over ssh, meaning that there will be no problems like the one you are having now with vnc. never use vnc, it is evil.

if you really really want to use vnc depsite it being rubbish, you're trying to use it incorrectly, you need to put your startkde options in your ~/.vnc/xstartup file, you can't just run it from a command line.
 
Old 11-21-2009, 11:10 AM   #3
CoronVB
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
vnc is evil, don't use it. instead use nx from nomachine.org. it will give you a really nice experience, and will tunnel everything over ssh, meaning that there will be no problems like the one you are having now with vnc. never use vnc, it is evil.

if you really really want to use vnc depsite it being rubbish, you're trying to use it incorrectly, you need to put your startkde options in your ~/.vnc/xstartup file, you can't just run it from a command line.
Thank you for answering.

I already have replaced the bottom line, but it simply shows me a cross (mouse) and a black screen when I connect, so I'm assuming kde doesn't start up correctly.
 
Old 11-21-2009, 11:16 AM   #4
CoronVB
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Now I have tried using Debian, but instead of a black screen I get this.

http://i46.tinypic.com/5m0l6o.png
 
Old 11-21-2009, 12:36 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
vnc is evil. don't use it.

you should check the vncserver log file for that session, chances are you're not modifying xstartup correctly. Alternatively i have to ask, is KDE installed and functioning?
 
Old 11-21-2009, 12:38 PM   #6
CoronVB
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
vnc is evil. don't use it.

you should check the vncserver log file for that session, chances are you're not modifying xstartup correctly. Alternatively i have to ask, is KDE installed and functioning?
Nevermind, got a friend to fix it

Thanks for being active here though.
 
Old 11-21-2009, 12:39 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
he made you remove VNC? super!
 
  


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
Ubuntu VPS as VNC? ian_byc Linux - Server 0 02-19-2009 10:14 AM
Trying to install a GUI & VNC on a CentOS 5.1 server cdn415 Linux - Software 2 08-17-2008 09:16 PM
Installing KDE & VNC on centos 4.1 Cybex_XLX Linux - Newbie 0 01-02-2008 02:50 AM
[SUSE&VNC]How can i remote desktop of same session...? dobbylove SUSE / openSUSE 2 12-08-2006 08:53 PM
Xvnc will not start (CentOS vps) WojtekO Linux - Software 1 11-09-2006 05:51 PM

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

All times are GMT -5. The time now is 06:18 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
Open Source Consulting | Domain Registration