LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-08-2010, 11:21 PM   #1
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Rep: Reputation: 0
vncviewer command line for view size?


Hi,
I use vncviewer command line to remote access my pc from my notebook.
Is there any option to resize the view like windows client can by percentage?
my notebook screen size is 1280x800, while I use bigger resolution for my pc 1280x1024 if not mistaken.
already look here: http://linux.die.net/man/1/vncviewer but I dont see any option to do that.

thanks in advance.
ps. if possible, is there any gui client for vnc?
 
Old 08-08-2010, 11:29 PM   #2
saifkhan123
Member
 
Registered: Apr 2009
Distribution: Red Hat/CentOS
Posts: 108

Rep: Reputation: 19
the keyword "-geometry" is used with the vncserver command to define the size of view, like that
Code:
vncserver :1 -name homeserver -depth 16 -geometry 800x600
here the resolution will be 800x600.

Last edited by saifkhan123; 08-08-2010 at 11:31 PM.
 
Old 08-09-2010, 04:37 AM   #3
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
that command is for vncserver?
the server use tightvns for windows though. I'm looking for option for client/viewer to resize the display, like tightvnc client for windows can do.
thanks anyway. will try -geometry option on vncviewer
 
Old 08-09-2010, 04:53 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,566

Rep: Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794
Hi,

You can use "-scaling=90%"
 
Old 08-10-2010, 01:00 AM   #5
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
I tried:
vncviewer -scaling=75% [host]
vncviewer -autoscaling [host]

none works. It will only show the help page.

I found that there's ssvnc (Enhanced TightVNC Viewer) that support client-side scaling. But I have problem installing it.
so far I:
1. download the ssvnc_unix_only-1.0.27.tar.gz
2. extract using:
Code:
gzip -dc ssvnc_unix_only-1.0.27.tar.gz |tar xvf -
3. run
Code:
./ssvnc/Unix/ssvnc
error:
Quote:
/home/[user]/ssvnc/bin/util/ssvnc.tcl: line 3: exec: wish: not found
where did I do wrong?
source: http://www.karlrunge.com/x11vnc/ssvnc.html#quickstart
 
Old 08-10-2010, 02:20 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,566

Rep: Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794
wish is a windows like shell for tcl programs. I guess you don't have it installed.

Regarding vncviewer, the scaling option is valid for the realVNC enterprise edition, while the free edition uses geometry as already mentioned by saifkhan123. Also TightVNC uses geometry
Code:
vncviewer -geometry 800x600 host
 
Old 08-10-2010, 04:35 AM   #7
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
-geometry only resize client windows (vncviewer's window), doesnt scale remote screen.

how can I install wish? already search on YaST2, but no search result.
 
Old 08-10-2010, 04:41 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,566

Rep: Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794
I guess you need tcl and tk packages
 
Old 08-10-2010, 09:25 AM   #9
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
what are those? and how can I install em?

btw, I already download ssvnc, extract it, and launch /home/ssvnc/bin/tightvncviewer [host]
and then when I press F8 for the menu, there's an option for scaling. although I dont know whats the option for the command line for that, but I think that's enough for me.

so, how to make "tightvncviewer" become global command line?
I mean, so that I dont have to cd to /home/ssvnc/bin to execute it?
I already try to copy the file to ./usr/bin but when I launch it, there's no scaling option when I press F8. I'm lost
 
Old 08-10-2010, 10:05 AM   #10
dokie80
LQ Newbie
 
Registered: Aug 2010
Location: Indonesia
Distribution: Bodhi Linux & MX Linux
Posts: 20

Original Poster
Rep: Reputation: 0
good news, someone on my mailing list give 1-click install link for ssvnc, after I install it, I can launch ssvnc with gui, or with command line.
so for anyone who are having similar problem:
1. install ssvnc http://software.opensuse.org/ymp/hom....3&query=ssvnc
2. i use command line like this:
Code:
ssvncviewer -scale 0.75 [host]
or launch ssvnc

cheers!
Thanks
 
  


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
How to view animated Gif files full screen from the command line xmrkite Linux - Software 5 04-13-2014 04:09 AM
How to view readme.xyz.gz files from command line? drokmed Linux - Software 6 02-18-2008 12:15 PM
View hard disk size command mpmackenna Linux - Newbie 3 09-27-2007 04:56 PM
Command line utlility to view user info like the GUI one? ivj Linux - Newbie 1 07-27-2004 06:44 AM
View image from command line? Rotwang Linux - General 1 03-22-2004 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration