LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-10-2005, 03:03 PM   #1
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Rep: Reputation: 15
vnc or remote access question


basically, i want to be able to access my machine from a windows laptop over a local network, so that i can view whats on the screen, and run programs etc, therefore not need a monitor on the actual machine.

I'm unsure what program will be best to use, and knowing which program, still probably wont be able to set it up, but i will try anyway.
i've used vnc with windows, so if i could get the whole thing running on solaris, it would be great, and i could get my monitor back.

i did try to install vnc on solaris but in the end i screwed up one of my partitions, so decided to reinstall the whole system, having had a small taster of solaris now, i know i want to change some things around.

one thing i can say, for web serving and email and that, it seems much much better than Microsoft's business server 2003, which i have quite a bit of experience with, i.e. solaris is a lot more stable.

any help on the vnc thing will be appreciated. thank you
 
Old 08-11-2005, 01:56 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,784

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Vnc works very well on Solaris.
It is already included with the Solaris Companion CD, just install it from there and you are set.
 
Old 08-11-2005, 02:10 AM   #3
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thanks - i'll give it a try
 
Old 08-11-2005, 08:23 AM   #4
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
Xmanager is also a choice

I recommend u the software called Xmanager.
You can download its evealuation version from http://www.netsarang.com/download/main.html.

Xmanager supports ssh, rlogin, telnet remote access.
use the Xbrowser tools of Xmanager, you can communicate
with the remote server by a full graphical monitor.
 
Old 08-11-2005, 12:52 PM   #5
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thanks for the suggestion, but i dont want shareware.

going back to the vnc included with the companion cd;
how do you start it initially?
and how do you set it up so that it starts when the computer boots?
 
Old 08-11-2005, 03:17 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,784

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
how do you start it initially?
vncserver
Quote:
and how do you set it up so that it starts when the computer boots?
You can start it in a custom rc script, I'm sure you'll find tons of these by googling.
You can also go the Solaris 10+ smf way, see this blog for a good example:
http://blogs.sun.com/roller/page/sch/20050601
 
Old 08-11-2005, 03:28 PM   #7
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thanks, thats what i thought, but when i type vncserver, it says:
vncserver not found
 
Old 08-11-2005, 04:57 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,784

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What about adding /opt/sfw/bin to your PATH ?
And by the way, /opt/sfw/man to you MANPATH, so man vncserver will work.
 
Old 08-12-2005, 05:43 AM   #9
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
i got it as far as saying
# vncserver
vncserver: couldn't find "Xvnc" on your PATH
 
Old 08-12-2005, 06:26 AM   #10
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
how do you remove things from the path, if u added one with a typo by mistake?
 
Old 08-12-2005, 09:21 AM   #11
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
i've managed to work out how to get some semblence of the vncserver running, and it asked for a password like it should.
but, i cant access it from another computer (windows laptop), - when i try to connect, it just says connection refused
 
Old 08-12-2005, 09:35 AM   #12
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
Xvnc

<1> Xvnc Can not find
#whereis Xvnc ( What is the output for this command in your WS )
/usr/local/bin/Xvnc ( In my SunWS )

<2> How did u start vnc server?
# vncserver :1 ( in my sunWS ) ( Note: At first time a password is required )
vncserver :1
New 'ultrasoul:1 (root)' desktop is ultrasoul:1
Starting applications specified in //.vnc/xstartup
Log file is //.vnc/ultrasoul:1.log

Then, you can access the vncserver by a server name of ultrasoul:1 and a
passwd given by u at first time.

Did this configuration fail in your WS?
 
Old 08-12-2005, 12:10 PM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,784

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
how do you remove things from the path, if u added one with a typo by mistake?
By setting the PATH to its previous value, minus the typo, sed and temporary variable can help, but you can try doing it straight like this, in ksh or bash:

PATH="$(print $PATH | sed 's@/wrong/directory:@@')"

Another way is to logout and login again, or simply to "su - your_id"
 
Old 08-13-2005, 01:06 PM   #14
coal-fire-ice
Member
 
Registered: Nov 2004
Location: SE England
Distribution: Debian, SUSE, Ubuntu, Slackware
Posts: 147

Original Poster
Rep: Reputation: 15
thanks to all your help, i now have vnc running and am able to view the desktops from my windows machine.

however, i have a new problem, i find that the server works fine, but after a couple of minutes a sort of fine mesh pattern appears, like a screensaver, but wont go away, so i cant see the desktop,

the other thing is, can i change the window manager to xfce, and if so, how? (a secondary issue)

thanks again for all your help, and hopefully some time in the future, i might get the hang of this, cos i havent really had anything that resembled a properly working unix or linux system, for much more than a month,
 
  


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
*newbie* ftp question involving remote access MooMooMilk Linux - Networking 4 11-19-2005 10:44 PM
Remote access question. (ssh) JohnStormrider Linux - Networking 8 09-20-2005 04:32 PM
pts/0 etc. Remote access question hamish Linux - Networking 0 06-05-2004 02:25 AM
Remote Access Question yktang Linux - Newbie 1 04-03-2004 12:08 AM
Real Noobie question. Remote XTERM access BigT Linux - Newbie 5 03-01-2004 02:27 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:45 PM.

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