LinuxQuestions.org
Help answer threads with 0 replies.
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 07-05-2013, 11:50 AM   #1
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Mint, Backtrack, OpenSuse
Posts: 564

Rep: Reputation: 36
Question Debian 6 Remote Desktop


Hi guys,

I have a Debian server that I use for file storage and backups. I configured Remote Desktop to administer the machine but the problem is that every time the server reboots (for updates or power outage), I can't connect to the machine remotely. I have to go in front of the machine, connect a keyboard and log in to be able to log in remotely. is there a way to setup Debian so if the server reboots I could log in remotely to it? I have SSH enabled too.
Thanks
 
Old 07-05-2013, 01:11 PM   #2
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
If you are able to ssh you can start the service remotely also. What package have you installed for Remote Desktop.
 
Old 07-05-2013, 01:27 PM   #3
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Mint, Backtrack, OpenSuse
Posts: 564

Original Poster
Rep: Reputation: 36
Hi Sharad,

I did not install any packages. I went to System/Preferences/Remote Desktop and configured it there. What command can I run to know which package is being used? Also, what command can I run to start the service through SSH?
Thanks!
 
Old 07-06-2013, 04:30 PM   #4
metalaarif
Member
 
Registered: Oct 2011
Location: Nepal
Distribution: RHEL, CentOS, Slackware
Posts: 114
Blog Entries: 1

Rep: Reputation: 2
Hi there,

I am assuming that your using GUI tools rather than command-line. It seems that your running your ssh but its not starting automatically and then when it reboots it disables.

Open your terminal or Konsole whatever you prefer and then type in the commands:

Quote:
$ sudo /etc/init.d/sshd start
$ sudo update-rc.d ssh defaults
(this should do the trick and do reboot and check if its working.)

Type following command to see what services or daemons are running on your server so that you can confirm yourself.

Quote:
$ sudo netstat -tlp
FYI, if you use RedHat or CentOS
be root
Quote:
# chkconfig sshd on

and do check this link as well http://www.linuxquestions.org/questi...t-time-865692/

Last edited by metalaarif; 07-06-2013 at 04:32 PM.
 
Old 07-08-2013, 11:18 AM   #5
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Mint, Backtrack, OpenSuse
Posts: 564

Original Poster
Rep: Reputation: 36
Hi metalaarif. I think you misunderstood me. My SSH server works perfectly fine. The problem is my REMOTE DESKTOP service. I don't know if it does not start after I reboot the server but I need to login locally so I can login remotely. I said that I have ssh so maybe you can tell me how to start the REMOTE DESKTOP service remotely so then I can login.
Thanks
 
  


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
how to setup remote desktop on Debian 6 XFCE? xiongnu Debian 3 06-29-2012 12:05 PM
Installing a linux-distro remote desktop on an already remote debian server... errr? Sabinou Linux - Newbie 2 04-26-2012 05:29 PM
how to remote desktop access to Debian 6.0 from windows xp xiongnu Linux - Newbie 3 06-27-2011 05:17 PM
remote desktop in debian Dshah Linux - Newbie 13 01-16-2010 03:20 AM
[Debian]TightVnc Server Problem-Gnome Remote Desktop dj32 Linux - Newbie 2 12-28-2009 03:52 AM


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