Re: Question about export display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I also use vncserver (note: it is tigervnc and tigervnc-server) there are a 
couple of others, but they are probable dependencies. 

I would also recommend install the xfce desktop since it doesn't require the 
graphics and power of gnome3.

I generally use rc.local to start the vnc rather than the method using systemd.

In rc.local I put the following line
runuser -l usersid -c 'vncserver :port -geometry 1280x1024'

The userid would be the login name that you want to use for the connection.
port is the port you want to use. This is offset from 5900, which is the regular 
windows default port. Generally use a number from 10-99: 

The geometry can be changed to whatever you want.

If you want to connect to the vnc using ssh, I've used stunnel to do this, but 
would have to look for the instruction. I had posted it on the stunnel site, but 
that was a long time ago. You would need to have it connect on the stunnel 
port and then have it to a local connect to the vnc port.

If you are using xfce you have to make changes to the xstartup in the users 
.vnc directory.

This is how I have it setup on one of my classroom machines
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec  /bin/sh /etc/xdg/xfce4/xinitrc #   X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
#vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startxfce4 &
#twm &

The original one using twm instead of the startxfce

If you are using windows to connect, I find the tight vnc viewer works better.
With linux the tigervnc is what I use.



On 5 Sep 2016 at 10:48, Todor Petkov wrote:

To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
From:           	Todor Petkov <petkovptodor@xxxxxxxxx>
Subject:        	Question about export display
Date sent:      	Mon, 5 Sep 2016 10:48:38 +0300
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>

> Hello,
> 
> is there a way to run a graphical program via ssh/X forward with low
> quality, i.e. 16 bit mode/800x600 etc? Sometimes I need to run
> firefox/chrome from a remote server, and I would like, if possible, to
> run them not like it's 1024x768 or higher.
> I searched google, but nothing comes so far.
> 
> Thanks in advance.
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes@xxxxxxxxxxxxxxxx                            
  mailto:msetzerii@xxxxxxxxx
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
ABC         16613838.513356 | EINSTEIN   111289288.288695
ROSETTA     47957225.246853 | SETI        91073425.814269
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux