Can't make 'set DISPLAY' to work


 
Thread Tools Search this Thread
Operating Systems Solaris Can't make 'set DISPLAY' to work
# 1  
Old 05-27-2008
Can't make 'set DISPLAY' to work

Hi,

I used exceed and putty in the past to HP server with no problem to make
'set DISPLAY' work on my desktop. However now I have Solaris 9 on Sun server 480 and I only have putty. I can't bring the X window (eg xclock, etc) to my desktop.

I tried X11Fowarding, xhost, and so on, it doesn't work. If I use 'xauth' to
add an entry into .Xauthority, how do I get hexkey? Will that work though?

Your hlep is appreciated!

Thanks!!
jr
This User Gave Thanks to jr_zhang For This Post:
# 2  
Old 05-27-2008
Forgive my morbid curiosity but why are you using Xwindows?
# 3  
Old 05-29-2008
I use VNCserver and VNCviewer both of which can be downloaded from the web.

I install vnc severver on my Solaris machine and install vncviewer on my laptop.
# 4  
Old 05-29-2008
Thanks Grippo!

I'll try the VNC. I used that in the past.

But with PUTTY, I should be able to bring a XTERM window to my desktop. Anyone has such experience??
# 5  
Old 05-29-2008
I have never been able to use putty for graphical display. You said earlier that you used Hummingbird Exceed when you worked on the HPUX servers, are you sure that you didn't use this for your remote display?
# 6  
Old 05-29-2008
Quote:
Originally Posted by seg
Forgive my morbid curiosity but why are you using Xwindows?
Seconded. If you have a putty ssh-session open, why bother pushing a dtterm/xterm/whatever term anyway? Putty does exactly the same - and a lot more - than any standard term?

Anyway, Putty isn't an X server: you need a combination of an x11-forwarding capable ssh client (like putty) combined with a win32 X server (like as Grippo mentionned Exceed) to be able to get "graphical" stuff from your unix box displayed locally. Thus to conclude, without an X server, it's impossible to get xterm to run on your desktop.

Cygwin also contains an X server (xfree86 iirc) btw, so that might be an option for you? (although in that case the thing about why push a remote console if you have a local xterm/terminal anyway)

Last edited by spufi; 05-29-2008 at 11:09 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Can't make chmod work

Can someone please help me with this I can't make it work? find /test -type f \( ! -perm -u+w -o -perm -g+w \) | egrep -v "/test/A|/test/B"|xargs chmod u+rw,g+r-w,o= I am getting error "Operation not permitted." I want to find files, exclude directory A & B and change permission on the... (2 Replies)
Discussion started by: Jang
2 Replies

2. UNIX for Dummies Questions & Answers

Cannot make sudoers change work

I logged in as root and visudo'd /etc/sudoers. I found several users with the username ALL=(ALL) ALL entries and added an account after the last one. Saved the file. When the user logs in and does "sudo su -" they are prompted for their password and then told they are not in the sudoers file.... (8 Replies)
Discussion started by: rpm_on_lnx
8 Replies

3. UNIX for Dummies Questions & Answers

display that will work with OSF?

I have an Alpha 200 4/166 running Unix/OSF, whose display died. Any idea how I can find a display that has a driver that will work with this system? I tried bringing it up with the display, an HP Pavilion MX703, I use with some Windows systems, and I could see the boot dialog, but then it... (5 Replies)
Discussion started by: KarenAnne
5 Replies

4. UNIX for Dummies Questions & Answers

my make doesn't work

hi I wrote the following makefile, I have just one problem, when i type make clean I get the message make 'clean' is up to date and any obj file is removed from my folder, what's wrong? Thank you CC = cc all: es.o elaboration.o $(CC) -o es es.o elaboration.o elaboration.o:... (0 Replies)
Discussion started by: Puntino
0 Replies

5. Shell Programming and Scripting

how to make this work

hi, I have been trying to make my script work but could not, tried some of the suggestions from here but I am not getting the correct result. I have a script that was Param1 ="$1" Param2 ="$2" $Script1 log -t "$param1" "$param2" | grep operation > /dev/null || { echo "Message"... (1 Reply)
Discussion started by: rider29
1 Replies

6. Shell Programming and Scripting

how does set--$(ls -l filename) work?

i'm not too sure how to use set--$(ls -l filename) to set values of positional parameters. i'm supposed to write a script that accepts a directory as an optional command line parameter. and for that directory, i'm supposed to display a single line of information about each file within it: file... (3 Replies)
Discussion started by: jaay
3 Replies

7. Shell Programming and Scripting

How to make this work

Dear All, I want acces my folder that name Log , that throught /export/home/hmi/bin/log. I want direct to Log folder. When I try using alias, i'm login as root: >alias logfile='cd /export/home/hmi/bin/Log' and when I execute > logfile this is work, but after I logout and login again as... (3 Replies)
Discussion started by: heru_90
3 Replies

8. Shell Programming and Scripting

How to make my command work at all times

hi all, This is a very basic question. I want to make the command work at all times. i'm working on Suse-Linux and "clear" command is used to clear the contents of screen. I want to use only "cls" instead of "clear" command. i tried alias cls=clear , but its working only for a temporary... (3 Replies)
Discussion started by: wxwidgets
3 Replies

9. Shell Programming and Scripting

nohup--how to make it work?

Hello gurus, I am facing an unusual problem while running nohup in shell scripts. i want to run two scripts simultaneously.In first script ,i take a backup of "nohup.out" & remove it .In second script,i state "nohup ./scriptname" but "nohup.out" is not getting generated ?? pls find attached... (1 Reply)
Discussion started by: abhijeetkul
1 Replies

10. UNIX for Dummies Questions & Answers

How to make sccs work

I am trying to use SCCS for project development . Can any one list out the basic setup nneded to be done for SCCS . I mean if I create a SCCS directory what all files to create on this . i don't have a root password of the system and I am not going to get one . I saw few post on this forum... (1 Reply)
Discussion started by: akrathi
1 Replies
Login or Register to Ask a Question