Sponsored Content
Full Discussion: Restart Xvnc server
Operating Systems Solaris Restart Xvnc server Post 302534316 by chidori on Monday 27th of June 2011 12:48:42 PM
Old 06-27-2011
try this..

Code:
vncserver -kill :1

here 1 is your display setting.

this will kill the process also. to restart it just execute this command

Code:
vncserver

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how can I restart X server ?

WITHOUT shutdown X ??? thanks , Ivan (6 Replies)
Discussion started by: oneivan
6 Replies

2. Solaris

shutting down/restarting oracle with the solaris server restart

How can I make sure that all the database instances are shut down and brought up when the server is restarted. Krishan (3 Replies)
Discussion started by: krishan
3 Replies

3. Shell Programming and Scripting

How to restart the tomcat server

hi, I need a command that restart the tomcat server. for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i want to use java code access this peace of script. like using the grep and ps commands can i use?... (2 Replies)
Discussion started by: sankar reddy
2 Replies

4. Windows & DOS: Issues & Discussions

restart windows 2000 server using command line

Hi all expert, Anybody know how to restart the windows 2000 server through command line and without using any additional tool? Thanks :):) (2 Replies)
Discussion started by: wilsonSurya
2 Replies

5. Red Hat

Server usually restart not reason

Hi everyone, - I have CentOs server 5.4 , I usually remote by ssh. - My problem is server usually restart but I don't reason. I check log in file /var/log/messages: I don't see "signal 15" which kernel have to receive before restart. Everyone can see in attach. - I try to restart with command... (3 Replies)
Discussion started by: vietbk87
3 Replies

6. UNIX for Advanced & Expert Users

Restart Linux server

Hello all: I am new to LINUX/UNIX administration task. My Infrastructure admin has allocated me a special lab server in client location. Per my requirement, had chanted few settings in LINUX/UNIX and need to reboot the server. I am the "root" user. I had used "shutdown -r now" at command line... (3 Replies)
Discussion started by: nvkuriseti
3 Replies

7. HP-UX

Unix server restart automatically

We have HP K class unix server, It's automatically restart the server. (10 Replies)
Discussion started by: ganesh24pal
10 Replies

8. Shell Programming and Scripting

script to restart a service in secondary server.

Can any one help me with a script to restart secondary server and sync data in it.. smsc101-0:ssh smsc101-1 "invoke-rc.d smsc restart" pwd:*** smsc101-0:rsync -avz /usr/local/smsc/data smsc101-1:/usr/local/npac/data (1 Reply)
Discussion started by: chinuku
1 Replies

9. UNIX for Advanced & Expert Users

UI accessiblity problem when using cronjob for server restart

Hi, I have a couch Db server running. I have written a script which will check and kill the multiple instances of the same and then start again a new one. Now when i start the db server manually, the UI of the DB is accessible via browser. But when i do the same using cronjob, the UI of... (0 Replies)
Discussion started by: sarath@123
0 Replies

10. UNIX for Advanced & Expert Users

How to Restart the web server

Hi, Unix AIX, on WebLogic How to Restart the web server Thank you. (2 Replies)
Discussion started by: big123456
2 Replies
vncserver(1)                                                         TightVNC                                                         vncserver(1)

NAME
vncserver - a wrapper to launch an X server for VNC. SYNOPSIS
vncserver [:display] [-geometry widthxheight] [-depth depth] [-pixelformat rgbNNN|bgrNNN] [-name desktop-name] [Xvnc-options...] vncserver -kill :display vncserver -help DESCRIPTION
vncserver is a wrapper script for Xvnc, the free X server for VNC (Virtual Network Computing). It provides all capabilities of a standard X server, but does not connect to a display for itself. Instead, Xvnc creates a virtual desktop you can view or control remotely using a VNC viewer. OPTIONS
You can add Xvnc options at the command line. They will be added to the invocation of Xvnc without changes. The options provided by the vncserver itself are as follows: :display The display number to use. If omitted, the next free display number is used. -geometry widthxheight Set desktop width and height. -depth depth Set the colour depth of the visual to provide, in bits per pixel. Must be a value between 8 and 32. -pixelformat rgbNNN|bgrNNN Set colour format for pixels representation. The viewer can do the conversion to any other pixel format, but it is faster if the depth and pixel format of the server is the same as the equivalent values on the viewer display. -name string This specifies the name of the desktop. -kill :display Stops the session running on the specified display. -help Prints a short usage notice to stderr. EXAMPLES
vncserver Invokes Xvnc on the next available display and with suitable defaults. vncserver :1 Invokes Xvnc on display :1. vncserver -geometry 800x600 -depth 16 :1 Invokes Xvnc on display :1 with desktop size of 800x600 pixels and color depth of 16 bits per pixel. vncserver -kill :1 Shuts down Xvnc server on display :1. SEE ALSO
Xvnc(1), vncviewer(1), vncpasswd(1), vncconnect(1) AUTHORS
Original VNC was developed in AT&T Laboratories Cambridge. TightVNC additions were implemented by Constantin Kaplinsky. Many other people participated in development, testing and support. Man page authors: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>, Tim Waugh <twaugh@redhat.com>, Constantin Kaplinsky <const@tightvnc.com> August 2006 vncserver(1)
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy