Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-18-2016, 02:35 PM   #1
Registered: Dec 2014
Posts: 84

Rep: Reputation: Disabled
Red Hat Enterprise (s390) 6.7 vncserver respawn

I would like the vncserver to restart after being stopped. I am trying to use "respawn" in /etc/inittab with entry: 1:2345:respawn:/etc/rc.d/init.d/vncserver. I also tried with the entry 1:2345:respawn:/usr/sbin/vncserver. Is this possible with respawn? Is there another technique that would work?
Old 01-18-2016, 04:42 PM   #2
Senior Member
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,267
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
I am curious about this too, so did a quick Google search and found this:

However I don't see any info under man init or man inittab for RHEL6.

Looking around on the search results, found this:

x:5:respawn:/usr/sbin/lxdm >& /dev/null
I don't have vncserver installed, otherwise I would test and post results...
Old 01-20-2016, 02:27 PM   #3
Registered: Dec 2014
Posts: 84

Original Poster
Rep: Reputation: Disabled
Tried another variation but this also failed.
/etc/inittab 1:2345:respawn:/etc/rc.d/init.d/vncserver >/dev/null 2>&1
2:2345:respawn:/usr/bin/vncserver -geometry 800x600 -autokill >/dev/null 2>&1


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
LXer: Red Hat releases upgrade to older Red Hat Enterprise Linux: RHEL 5.10 LXer Syndicated Linux News 0 10-02-2013 04:10 AM
LXer: Red Hat Announces General Availability of Next Minor Release of Red Hat Enterprise Linux 6 LXer Syndicated Linux News 0 02-22-2013 01:50 PM
LXer: Red Hat invites users to help create the next Red Hat Enterprise Linux LXer Syndicated Linux News 0 09-01-2011 02:30 AM
Project made in Red Hat Enterprise 4 need to be able to run on Red Hat Enterprise 3 Elin Linux - Software 1 07-13-2006 12:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration