Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sun Netra or V120 GUI? 2

Status
Not open for further replies.

tomii

Technical User
Joined
Mar 12, 2001
Messages
93
Location
GB
Hi All,

Not sure if this is the correct place, but here goes,
Does anyone know if it is possible to get a CDE gui display from the Sun Netra or V120 server??

Thank everyone!!
tomii
 
You can purchase a Sun XVR-100 Graphics Accelerator card and a Media Kit for the V120... With a couple NVRAM changes, you should be able to run CDE...
 
Does this mean CDE is not available on most servers ?
 
No... CDE is part of the OS at least through Solaris 10. But, the V120 doesn't come with a video board. You have to order one separate. I guess tomii could remote login via another workstation's CDE Remote login.
 
Hi bfitzmai,
Thanks for the info..the remote login option would be what I'm after as I don't really want to purchase extra hardware if it could be done another way. Do you know how I would set up some kind of X service on another machine and get the CDE login to display on that?
Cheers!
 
If you have another Solaris workstation with a monitor and keyboard, then it is fairly easy. From the CDE Login Screen, select Options and Remote Login... I think there are 2 options under Remote Login... One is to select from a list of workstation and the 2nd is to enter the workstation nodename... Once you enter the nodename of the V120, CDE on that machine should start up.

There are Solaris (UNIX) emulators for PCs also available. Applications like Hummingbird Exceed and ViewNow by Netmanage both connect to your Solaris workstation and run a CDE emulation...
 
Any CDE emulators for a PC which are free ?
 
Try realvnc. Load the server portion to your sun, and client for windows.

execute vncserver on solaris box

then double click the vnc shortcut on your pc

if you can't figure out the rest I will give you more help later.

It is free.

thanks

ca
 
Thanks, I'll give it a shot and let you know.
 
I loaded the server on my Solaris 9 Ultra 10 and the viewer on a PC and it works great as an Xterminal. I can open up GUI based programs like SMC.

Is there anyway to have a CDE desktop using VNC ?

TIA
 
Also how do you open up multiple command windows ?
 
dandan123;

Yes there is a way of doing that, I will try to find it later today, if I do not get to it today I will post monday.

Thanks

ca
 
Here you go;

under root go to .vnc

edit xstartup to look like the following


#!/bin/sh
xrdb $HOME/.Xdefaults
/usr/dt/bin/dtwm

then

start vnc on your server with this command

vncserver -depth 8 -geometry 800x600 -cc 3 -query localhost -once

hope this helps

CA
 
Hello again,

I'm trying to startup vncserver automatically everytime I boot. Here's what I did -

put this line -

vncserver -depth 8 -geometry 800x600 -cc 3 -query localhost -once


into a file called vnc in the /etc/init.d directory.
Did a chmod 744 on the file, group set to sys.

Then I created a link - /etc/rc3.d/S100vnc
created another link - /etc/rc0.d/K100vnc

but vncserver does not start up. If I do a /etc/rc3.d/S100vnc manually it starts.

What am I doing wrong ?
 
Presumably vncserver isn't in your PATH. Try adding

[tt]PATH=$PATH:/path/to/vncserver[/tt]

to the beginning of your startup script. Also convention is to use only 2 digits for the startup sequence number, so I would rename them to S99vnc (to start it last) and K00vnc (to shut it down first.)

Annihilannic.
 
Hello Annihi,

Tried both your suggestions, it still doesn't work. Is there a log file I can look at to see why it's not starting up ?

When I type in /etc/rc3.d/S99vnc it starts up just fine.
 
dandan123;

I am working on it. I can get mine to start up but for some reason I do not have the ability to click with my mouse and open terminal windows etc..

Check this link out, I think I have gotten further than you have, but have not totally worked everything out.



thanks

CA
 
dandan123;

Well that was a ball of fun! I got it to work, still need to mess around a little but this will get you started.

created /etc/init.d/rc.vnc (script below);
#!/bin/sh
#
# Startup/Stop script for vncservers for some users.
echo "START VNC"
#

case "$1" in

'start')
/bin/su - root -c "/usr/local/bin/vncserver -depth 8 -geometry 800x600 -cc 3 -query localhost -once :1"
;;
'stop')
/bin/su - root -c "/usr/local/bin/vncserver -kill :1"
;;
*)
echo "Usage: /etc/init.d/rc.vnc { start | stop }"

esac

***make sure ownership/permissions:

chown root:other /etc/init.d/rc.vnc
chmod 744 /etc/init.d/rc.vnc

**Then I created links***

cd /etc/rc0.d
ln -s /etc/init.d/rc.vnc K40rc.vnc

cd /etc/rc2.d
ln -s /etc/init.d/rc.vnc S99rc.vnc

***Then I had to edit /usr/local/bin/vncserver and increase a sleep from 3 to 10 **(edit below) look for line

# Give Xvnc a chance to start up

sleep(10);

warn "\nNew '$desktopName' desktop is $host:$displayNumber\n\n";



***reboot and you should be good to go***








 
Hi cnd,

I first modified vncserver and changed the sleep value from 3 to 10, that didn't solve the problem, so I modified my startup script and added the "su - root -c" part and that fixed it.

So what does this mean ? That the vncserver required root priveleges to start ?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top