LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2012, 04:52 AM   #1
sharafma8
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Automated VNC Sessions after reboot


Hi All,

I am running a server with RHEL 6 . I configured VNC server. I have two users in my server.Both users are configured VNC.

My issue is when the server reboots, manually i need to run the vncserver on both users terminal for getting the session.How can I automated these process.

I need to get vnc sessions for both users after restarting the server.
 
Old 10-11-2012, 09:22 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
why don't you use

Code:
$ chkconfig --level 53 vncserver on
so that the vnc services are up when the machine reboots
 
Old 10-11-2012, 12:16 PM   #3
sharafma8
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by deep27ak View Post
why don't you use

Code:
$ chkconfig --level 53 vncserver on
so that the vnc services are up when the machine reboots


This will only do the service. I just need to open the session, for each users..
 
Old 10-14-2012, 09:59 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
you will have problem for vnc started for each user because once user start vnc.
the vnc will assign the port, if you have 10 user that mean 10 port will be open
so every user will have diffrent port login

my suggestion to solve this issue you need to look at xrdp let xrdp handle the vnc
 
Old 10-15-2012, 06:21 AM   #5
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
[removed]

Last edited by Reuti; 10-15-2012 at 06:22 AM. Reason: Read wrong tool by accident - therefore removed
 
  


Reply



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
VNC sessions over FreeNX - does it work for anyone? mangoo Linux - General 1 11-05-2005 05:45 AM
VNC sessions over FreeNX - does it work for anyone? mangoo Linux - Software 0 11-05-2005 05:28 AM
VNC Sessions scouture Linux - Networking 2 04-07-2005 06:21 PM
Multiple X sessions via VNC ClassicV Linux - Software 1 06-17-2004 04:52 PM
VNC Server Sessions Sabeer Linux - Networking 1 05-21-2003 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:59 AM.

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