LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Thread Tools
Old 08-16-2005, 03:53 PM   #1
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 143
Thanked: 0
vnc question


[Log in to get rid of this advertisement]
just wondering which directories have to be in the path for to launch vncserver?

problem is, i have set up my system with a monitor till it was running how i wanted, and have webmin installed, but webmin doesnt seem to be able to affect my PATH properly, and therefore i can't start vncserver from webmin until i know which bits of the path must be included for vncserver to start.
coal-fire-ice is offline     Reply With Quote
Old 08-16-2005, 04:32 PM   #2
Finlay
Member
 
Registered: Mar 2003
Location: Oregon
Distribution: Slackware ?-10.2
Posts: 997
Thanked: 0
vncserver needs to be run by a user, if webmin is running as nobody you can't run it from there
Finlay is offline     Reply With Quote
Old 08-16-2005, 04:35 PM   #3
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 143
Thanked: 0

Original Poster
even if i run webmin from root temporarily?
coal-fire-ice is offline     Reply With Quote
Old 08-16-2005, 04:57 PM   #4
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 143
Thanked: 0

Original Poster
its either that or i need to find the configuration file for the default x server in solaris, i searched a bit for this on google, and most places seemed to think it was in /etc/x11/Xorg.conf but i dont have one there. i cant run kdmconfig, because the only output i can get it to give me on the screen im using is 640x480 - then kdmconfig complains that the terminal is too small.
coal-fire-ice is offline     Reply With Quote
Old 08-16-2005, 05:08 PM   #5
Finlay
Member
 
Registered: Mar 2003
Location: Oregon
Distribution: Slackware ?-10.2
Posts: 997
Thanked: 0
a simple way i can think of to run vncserver from webmin is to create a cron job and assign it to root or whoever else you want it to run as, but dont make it active.

then you can manuall run the cron job from webmin, see if that works
Finlay is offline     Reply With Quote
Old 08-16-2005, 05:09 PM   #6
Finlay
Member
 
Registered: Mar 2003
Location: Oregon
Distribution: Slackware ?-10.2
Posts: 997
Thanked: 0
also, if you didn't know, you can connect with ssh and run vncserver, when you disconnect it will still be running
Finlay is offline     Reply With Quote
Old 08-16-2005, 05:13 PM   #7
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 143
Thanked: 0

Original Poster
erm, sorry to be ignorant, but i dont know how to do either of them, i dont think, i'll have a look via google, but if ur still around and its easy to explain...?

thanks

p.s. ive found the ssh thing, but it doesnt seem to allow me to type any commands

Last edited by coal-fire-ice; 08-16-2005 at 05:14 PM..
coal-fire-ice is offline     Reply With Quote
Old 08-16-2005, 05:18 PM   #8
Finlay
Member
 
Registered: Mar 2003
Location: Oregon
Distribution: Slackware ?-10.2
Posts: 997
Thanked: 0
if you are on a linux/unix machine you just type 'ssh server'
if you are on a windoze box then get putty.exe and connect to ssh that way.

to make a cron job use webmin, got to the scheduled cron jobs link on the system tab
Finlay is offline     Reply With Quote
Old 08-16-2005, 05:20 PM   #9
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 143
Thanked: 0

Original Poster
thanks will give that a go
coal-fire-ice is offline     Reply With Quote
Old 09-13-2005, 01:48 PM   #10
Laoch
LQ Newbie
 
Registered: Aug 2005
Location: Luimneach, Eire
Distribution: Ubuntu (after SuSE sold out)
Posts: 16
Thanked: 0
To run VNC on Solaris all you need to do is.

Create the directories /etc/dt/config

in this directory create a file called Xservers

In this file add the line:

:10 Local local_uid@none root /opt/sfw/bin/Xvnc :10 -geometry 800x600 -depth 32

Restart the dtlogin process:

# /etc/init.d/dtlogin stop
# /etc/init.d/dtlogin start

Now connect with a VNC viewer with the command:

vncviewer xxx.xxx.xxx.xxx:10 where xxx.xxx.xxx.xxx is the IP address.
Laoch is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Yet another vnc question section31 Fedora 2 09-22-2005 02:26 AM
VNC Question sujte Linux - Software 0 05-03-2004 04:28 PM
VNC question cyph3r7 Linux - General 3 11-13-2003 11:42 AM
VNC Question PuterFreaK Linux - General 1 03-29-2002 08:44 PM
VNC question mpenny Linux - General 0 11-09-2001 04:08 AM


All times are GMT -5. The time now is 07:58 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration