vnc server fixed resolution


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat vnc server fixed resolution
# 1  
Old 02-02-2018
vnc server fixed resolution

Hello everyone,

This is my last resort.

I have searched the internet everywhere using different search engines as well.

I am using Redhat 7 where I activated a vncserver (since it comes pre-installed).
using the following service:
Code:
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target

[Service]
Type=forking
# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/sbin/runuser -l wvleider -c "/usr/bin/vncserver %i -geometry 1680x1050 -depth 32"
PIDFile=/home/wvleider/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

[Install]
WantedBy=multi-user.target

as you can see there is a -geometry parameter that is set to 1680x1050. this is the resolution i want the client to use no matter what client uses the VNC.

So far i have found out that xrandr is used within RedHat to change the resolution in an active session, meaning that it should be configurable somehow..

xrandr provides me some resolutions as preset, i tried to remove all resolutions i find unnecesary but xrandr does not allow me.

does anyone know how to fix the resolution server-side?

Thanks in advance!

Last edited by rbatte1; 02-02-2018 at 12:44 PM.. Reason: Changed Indented section to wrap it in CODE tags.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

vnc to RedHat Server

I'm trying to use VNC from my desktop to connect to a RedHat (RHEL6) Server. I connect but the screen is black. It I go into the Data Centre the screen is unlocked and all is okay there. I can connect no problem to other Desktops & Servers. Is there a setting maybe or can anybody suggest another... (6 Replies)
Discussion started by: itwex
6 Replies

2. Shell Programming and Scripting

Perl and VNC server

Hi All I am trying to write a script that a user can use to start a a vncserver on a host and then connect to it, that bit is fine, i can do that using system commands but i have defined the hosts to use at the top of my scirpt my $allowedhosts = (site_sg() ? 'host2,host1' :... (0 Replies)
Discussion started by: ab52
0 Replies

3. Fedora

VNC Client/Server has different display

Hi, I set-up my VNC Server on a Fedora 13 and I have a client on windows. I can access the Fedora PC but when I move the mouse and click on folders, I do not see the Fedora Desktop updating (I don't see the things that I am doing in my client on the Fedora PC) Then, when I do something on... (0 Replies)
Discussion started by: h0ujun
0 Replies

4. UNIX for Dummies Questions & Answers

VNC Server Unauthenticated Access - Nessus

hi guys Suse 10 SP2 Security guys run an app called Nessus for vulnerabilities and they found this one on my linux VNC Server Unauthenticated Access and I really don't know what they mean... I can update vnc on these servers but there is not guarantee this will fix the issue and the... (2 Replies)
Discussion started by: kopper
2 Replies

5. Red Hat

vnc server or x11vnc @ startup

Dear all, I am using Fedora15 kde I have installed Real vnc (server & viewer) real vnc Viewer is working fine - i like this. real vnc server has License period expired problem (i dont know how to add) I have x11vnc server (Desktop sharing) installed - Its working fine too. I... (2 Replies)
Discussion started by: linuxadmin
2 Replies

6. Solaris

vnc server error

I 'm unable to start vnc server, i get following error in the log file Fatal server error: could not open default font 'fixed' xsetroot: unable to open display 'essapl020-u009:0' twm: unable to open display "essapl020-u009:0" xterm Xt error: Can't open display: essapl020-u009:0... (0 Replies)
Discussion started by: fugitive
0 Replies

7. Linux

VNC Server, brings up really basic Xwindows

I am running Startcom linux ES5 . When i bring up the VNC server and login to the machine running a vnc client , I only get the real basic x-windows session and a term window. how can i get it to bring up the real linux desktop on all sessions? Frank (4 Replies)
Discussion started by: frankkahle
4 Replies

8. Solaris

VNC server from the Companion cd. Solaris 8 SPARC

hey. i have been installing the VNC server from the solaris Companion cd under solaris 8 SPARC, when i try to open the vncserver i get: Xvnc is not in your PATH, how do i add it to the PATH ? and how do i install it if i need to do that, thx (0 Replies)
Discussion started by: mads-nielsen
0 Replies

9. AIX

How can I take control the native X server on AIX5.3 via VNC ?

Hello I need to be able to take control of the native X server ( :0.0 ) on AIX5.3 workstations via VNC to be able to assist users...seeing what they are doing is much better than them telling me what they are doing. I know that this can be done on linux so it should doable on AIX. On linux... (0 Replies)
Discussion started by: art
0 Replies

10. Linux

VNC Server http listening port

Hi All, I'm running RH 9.0 on a PII box with 160MB RAM. Just downloaded RealVNC X86 Linux (version 3.3.7). How can I get the HTTP listening port up ? Thanks, KENT (6 Replies)
Discussion started by: kxchen_home
6 Replies
Login or Register to Ask a Question