[Tutorial] How to Install Remote Desktop ( RDP ) on Centos vps

Status
Not open for further replies.
use ssh type this command

for Centos 6

1.yum install nano
2. nano /etc/inittab

change this setting

cat /etc/inittab
...
id:5:initdefault:

3.ctrl + o - to save
4. Reboot your vps - gnome should be loading and vnc server also
 
Or, you can also use vi

Code:
vi /etc/inittab
Press Insert to start editing and press Esc to end.

Then type the following to save:
Code:
:wq
 
hmm nice tuto,

i recommend vncserver , if you want to access it as rdp

yum install vnc-server

VNC sucks with copy-paste whichever client I use so I don't recommend it.

@ accyuklad

There seems to be something wrong with "GNOME Desktop Environment" group package on Centos 6, try this:

yum groupinstall "Desktop Platform"
yum install @basic-desktop

Although I like it more than on Centos 5, cross copy paste with Windows is much easier :)
 
I follow the procedure from step 1 to 3, but after updating yum... my yum not working

How to re-install yum, please help...

OS: CentOS 5 (64-bit)
 
Nx Client

Hi, I've done everything in this guide. No error messages. When I go to log in using root and root password with the Nx Client It was failing. It would connect and say downloading stuff.

Then it started to work a bit better, I get to the screen with Nx logo, but it just closes with out any reason why. Wtf? I'm using a myhosting vps. I have a paralles control panel and putty. I've restarted the server to see if it helps my Nx configuration is ok

---------- Post added at 02:37 AM ---------- Previous post was at 02:36 AM ----------

i got this error on step 3
can any one help?

# yum groupinstall 'GNOME Desktop Environment' 'X Window System'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base

Can't resolve host, no internet connection?
 
i got this error on step 3
can any one help?

# yum groupinstall 'GNOME Desktop Environment' 'X Window System'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base

SSH into your server and edit your '/etc/resolv.conf' file. The first entry will most likely be "nameserver 127.0.0.1". Place that at the bottom of the list, save and exit then try 'yum -y update'. YUM only checks the very first entry when it looks for the server to resolve IP Addresses.
 
hi, i am getting this error on my centOS 6.3 x64

Code:
NX> 203 NXSSH running with pid: 10332
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 64.186.149.108 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: root
NX> 102 Password: 
NX> 103 Welcome to: ruthlessknockout.localdomain user: root
NX> 105 listsession --user="root" --status="suspended,running" --geometry="1366x768x32+render" --type="unix-gnome"
NX> 127 Sessions list of user 'root' for reconnect:

Display Type             Session ID                       Services Dept Screensize     Status        Session Name                                                 Username
------- ---------------- -------------------------------- -------- ---- -------------- ------------- ------------------------------------------------------------ --------------------------------


NX> 148 Server capacity: not reached for user: root
NX> 105 startsession  --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="VPS" --type="unix-gnome" --geometry="1360x700" --client="winnt" --keyboard="pc105/en_US" --screeninfo="1360x700x32+render" 

NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 700 Session id: ruthlessknockout.localdomain-1000-38CC0142C791F8804581793F253FE6E1
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 32aeea025083f801fc84b8d884246bca
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 32aeea025083f801fc84b8d884246bca
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 105 /usr/bin/nxserver: line 1531:  2219 Terminated              sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate "/root/.nx/F-C-ruthlessknockout.localdomain-1000-38CC0142C791F8804581793F253FE6E1/session". You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to test the basic functionality. Session log follows:
Can't open /var/lib/nxserver/db/running/sessionId{38CC0142C791F8804581793F253FE6E1}: No such file or directory.
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{38CC0142C791F8804581793F253FE6E1}': No such file or directory
NX> 1006 Session status: closed
NX> 1001 Bye.
/usr/bin/nxserver: line 562: kill: (1960) - No such process
NX> 280 Exiting on signal: 15


---------- Post added at 05:34 PM ---------- Previous post was at 05:14 PM ----------

VNC sucks with copy-paste whichever client I use so I don't recommend it.

@ accyuklad

There seems to be something wrong with "GNOME Desktop Environment" group package on Centos 6, try this:

yum groupinstall "Desktop Platform"
yum install @basic-desktop

Although I like it more than on Centos 5, cross copy paste with Windows is much easier :)
okay, i did this and it went to negotiating parameters then later says connection timed out..says error signal 15?

---------- Post added at 05:35 PM ---------- Previous post was at 05:34 PM ----------

Code:
Info: Display running with pid '18516' and handler '0x6f0312'.

NXPROXY - Version 3.5.0

Copyright (C) 2001, 2011 NoMachine.
See [URL]http://www.nomachine.com/[/URL] for more information.

Info: Proxy running in client mode with pid '17900'.
Session: Starting session at 'Wed Nov 28 11:33:42 2012'.
Info: Aborting the procedure due to signal '15'.
Session: Session terminated at 'Wed Nov 28 11:34:43 2012'.
 
I am having a problem, after getting the big im screen it disappears and nothing happens

the server has centos 5.8 insatlled
 
try deleting these in the user's folder:

".nx" folder
.Xauth* files

or create a new system user and login from there and then logout. Login again from your normal user.
 
cat: /var/lib/nxserver/home/.ssh/client.id_dsa.key: No such file or directory

Hey.

I've followed every steps and tried several times but when I come to the Step 6;
Go to your putty window and issue the following command.
And enters this in putty " cat /var/lib/nxserver/home/.ssh/client.id_dsa.key "
It returns;
cat: /var/lib/nxserver/home/.ssh/client.id_dsa.key: No such file or directory

I got a Centos 5 (x64). I've tried this several times now but I don't get it to work ._.
 
Status
Not open for further replies.
Back
Top