OK. I believe I figured out what is wrongish.
I normally run gnome, so in my ~/.vnc/xstartup I have:
exec gnome-session &
as the last line. But this fedora 20 arm system is running Xfce! So after a quick google search, I changed that to:
exec xfce4-session &
But still I get vnc having a blank screen. That no desktop is running in vnc. /var/log/messages says:
Jul 23 01:38:55 cb2 runuser: New 'cb2.htt-consult.com:3 (rgm)' desktop is cb2.htt-consult.com:3 Jul 23 01:38:55 cb2 runuser: Starting applications specified in /home/rgm/.vnc/xstartup Jul 23 01:38:55 cb2 runuser: Log file is /home/rgm/.vnc/cb2.htt-consult.com:3.log Jul 23 01:38:55 cb2 systemd: Started Remote desktop service (VNC).
/home/rgm/.vnc/cb2.htt-consult.com:3.log says:
Xvnc TigerVNC 1.3.0 - built Mar 19 2014 17:22:24 Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt) See http://www.tigervnc.org for information on TigerVNC. Underlying X server release 11404000, The X.Org Foundation
Initializing built-in extension VNC-EXTENSION Initializing built-in extension Generic Event Extension Initializing built-in extension SHAPE Initializing built-in extension MIT-SHM Initializing built-in extension XInputExtension Initializing built-in extension XTEST Initializing built-in extension BIG-REQUESTS Initializing built-in extension SYNC Initializing built-in extension XKEYBOARD Initializing built-in extension XC-MISC Initializing built-in extension XFIXES Initializing built-in extension RENDER Initializing built-in extension RANDR Initializing built-in extension COMPOSITE Initializing built-in extension DAMAGE Initializing built-in extension MIT-SCREEN-SAVER Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension RECORD Initializing built-in extension DPMS Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension GLX
Wed Jul 23 01:38:52 2014 vncext: VNC extension running! vncext: Listening for VNC connections on all interface(s), port 5903 vncext: created VNC server for screen 0
Wed Jul 23 01:39:05 2014 Connections: accepted: 169.254.7.250::43934 SConnection: Client needs protocol version 3.8 SConnection: Client requests security type VncAuth(2)
Wed Jul 23 01:39:08 2014 VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888 VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888
Wed Jul 23 01:39:32 2014 Connections: closed: 169.254.7.250::43934 (Clean disconnection) SMsgWriter: framebuffer updates 6 SMsgWriter: Tight rects 17, bytes 1855 SMsgWriter: raw bytes equivalent 5849792, compression ratio 3153.526685
On 23 Jul 2014 at 1:47, Robert Moskowitz wrote:
Date sent: Wed, 23 Jul 2014 01:47:37 -0400 From: Robert Moskowitz rgm@htt-consult.com To: Community support for Fedora users users@lists.fedoraproject.org Subject: vnc not into gnome but Xfce but still not working Send reply to: Community support for Fedora users users@lists.fedoraproject.org > OK. I believe I figured out what is wrongish.
I normally run gnome, so in my ~/.vnc/xstartup I have:
exec gnome-session &
as the last line. But this fedora 20 arm system is running Xfce! So after a quick google search, I changed that to:
exec xfce4-session &
But still I get vnc having a blank screen. That no desktop is running in vnc. /var/log/messages says:
Jul 23 01:38:55 cb2 runuser: New 'cb2.htt-consult.com:3 (rgm)' desktop is cb2.htt-consult.com:3 Jul 23 01:38:55 cb2 runuser: Starting applications specified in /home/rgm/.vnc/xstartup Jul 23 01:38:55 cb2 runuser: Log file is /home/rgm/.vnc/cb2.htt-consult.com:3.log Jul 23 01:38:55 cb2 systemd: Started Remote desktop service (VNC).
/home/rgm/.vnc/cb2.htt-consult.com:3.log says:
Xvnc TigerVNC 1.3.0 - built Mar 19 2014 17:22:24 Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt) See http://www.tigervnc.org for information on TigerVNC. Underlying X server release 11404000, The X.Org Foundation
Initializing built-in extension VNC-EXTENSION Initializing built-in extension Generic Event Extension Initializing built-in extension SHAPE Initializing built-in extension MIT-SHM Initializing built-in extension XInputExtension Initializing built-in extension XTEST Initializing built-in extension BIG-REQUESTS Initializing built-in extension SYNC Initializing built-in extension XKEYBOARD Initializing built-in extension XC-MISC Initializing built-in extension XFIXES Initializing built-in extension RENDER Initializing built-in extension RANDR Initializing built-in extension COMPOSITE Initializing built-in extension DAMAGE Initializing built-in extension MIT-SCREEN-SAVER Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension RECORD Initializing built-in extension DPMS Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension GLX
Wed Jul 23 01:38:52 2014 vncext: VNC extension running! vncext: Listening for VNC connections on all interface(s), port 5903 vncext: created VNC server for screen 0
Wed Jul 23 01:39:05 2014 Connections: accepted: 169.254.7.250::43934 SConnection: Client needs protocol version 3.8 SConnection: Client requests security type VncAuth(2)
Wed Jul 23 01:39:08 2014 VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888 VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888
Wed Jul 23 01:39:32 2014 Connections: closed: 169.254.7.250::43934 (Clean disconnection) SMsgWriter: framebuffer updates 6 SMsgWriter: Tight rects 17, bytes 1855 SMsgWriter: raw bytes equivalent 5849792, compression ratio 3153.526685
What exactly do you have in the /home/user/.vnc/xstartup file
Mine is as follows #!/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 &
Note: The change in the xinitrc to use the xfce4 and the startxfce4 &
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users 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@kuentos.guam.net mailto:msetzerii@gmail.com http://www.guam.net/home/mikes 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 ROSETTA 17941584.881866 | SETI 29593668.378551 ABC 16613838.513356 | EINSTEIN 28547237.391636
On 07/23/2014 02:08 AM, Michael D. Setzer II wrote:
On 23 Jul 2014 at 1:47, Robert Moskowitz wrote:
Date sent: Wed, 23 Jul 2014 01:47:37 -0400 From: Robert Moskowitz rgm@htt-consult.com To: Community support for Fedora users users@lists.fedoraproject.org Subject: vnc not into gnome but Xfce but still not working Send reply to: Community support for Fedora users users@lists.fedoraproject.org
OK. I believe I figured out what is wrongish. I normally run gnome, so in my ~/.vnc/xstartup I have:
exec gnome-session &
as the last line. But this fedora 20 arm system is running Xfce! So after a quick google search, I changed that to:
exec xfce4-session &
But still I get vnc having a blank screen. That no desktop is running in vnc. /var/log/messages says:
............
What exactly do you have in the /home/user/.vnc/xstartup file
Mine is as follows #!/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 &
Note: The change in the xinitrc to use the xfce4 and the startxfce4 &
Mine is quite different. This is created by tigervnc-server with only the last line changed by me:
.vnc]$ cat xstartup #!/bin/sh
unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS OS=`uname -s` if [ $OS = 'Linux' ]; then case "$WINDOWMANAGER" in *gnome*) if [ -e /etc/SuSE-release ]; then PATH=$PATH:/opt/gnome/bin export PATH fi ;; esac fi if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi if [ -f /etc/X11/xinit/xinitrc ]; then exec sh /etc/X11/xinit/xinitrc fi [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & exec xfce4-session &
On 07/23/2014 02:08 AM, Michael D. Setzer II wrote:
On 23 Jul 2014 at 1:47, Robert Moskowitz wrote:
Date sent: Wed, 23 Jul 2014 01:47:37 -0400 From: Robert Moskowitz rgm@htt-consult.com To: Community support for Fedora users users@lists.fedoraproject.org Subject: vnc not into gnome but Xfce but still not working Send reply to: Community support for Fedora users users@lists.fedoraproject.org
OK. I believe I figured out what is wrongish. I normally run gnome, so in my ~/.vnc/xstartup I have:
exec gnome-session &
as the last line. But this fedora 20 arm system is running Xfce! So after a quick google search, I changed that to:
exec xfce4-session &
But still I get vnc having a blank screen. That no desktop is running in vnc. /var/log/messages says:
............
What exactly do you have in the /home/user/.vnc/xstartup file
Mine is as follows #!/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 &
Note: The change in the xinitrc to use the xfce4 and the startxfce4 &
So I changed mine to:
if [ -x /etc/X11/xinit/xinitrc ]; then # exec /etc/X11/xinit/xinitrc exec /etc/xdg/xfce4/xinitrc fi if [ -f /etc/X11/xinit/xinitrc ]; then # exec sh /etc/X11/xinit/xinitrc exec sh /etc/xdg/xfce4/xinitrc fi
restarted the vncserver and connected. Now I get a blank black screeen rather than a blank blue screen...
Do I need xfce installed on my notebook? I only have gnome on it.
On 07/23/2014 02:08 AM, Michael D. Setzer II wrote:
On 23 Jul 2014 at 1:47, Robert Moskowitz wrote:
Date sent: Wed, 23 Jul 2014 01:47:37 -0400 From: Robert Moskowitz rgm@htt-consult.com To: Community support for Fedora users users@lists.fedoraproject.org Subject: vnc not into gnome but Xfce but still not working Send reply to: Community support for Fedora users users@lists.fedoraproject.org
OK. I believe I figured out what is wrongish. I normally run gnome, so in my ~/.vnc/xstartup I have:
exec gnome-session &
as the last line. But this fedora 20 arm system is running Xfce! So after a quick google search, I changed that to:
exec xfce4-session &
But still I get vnc having a blank screen. That no desktop is running in vnc. /var/log/messages says:
What exactly do you have in the /home/user/.vnc/xstartup file
Mine is as follows #!/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 &
Note: The change in the xinitrc to use the xfce4 and the startxfce4 &
So I just cp your xstartup to my system and it works now. thanks.
So what is wrong with the default script? I am assuming I need to file a bug report on it.
On 07/23/14 19:34, Robert Moskowitz wrote:
So I just cp your xstartup to my system and it works now. thanks.
So what is wrong with the default script? I am assuming I need to file a bug report on it.
Nothing is wrong with the default script.
if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi
[egreshko@f20f ~]$ file /etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc: POSIX shell script, ASCII text executable
On 07/23/2014 07:40 AM, Ed Greshko wrote:
On 07/23/14 19:34, Robert Moskowitz wrote:
So I just cp your xstartup to my system and it works now. thanks.
So what is wrong with the default script? I am assuming I need to file a bug report on it.
Nothing is wrong with the default script.
if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi
[egreshko@f20f ~]$ file /etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc: POSIX shell script, ASCII text executable
Fine. then why switching to Michael Setzer's xstartup result in vnc working?
The default did not work. His does. why?
On 07/23/14 21:49, Robert Moskowitz wrote:
On 07/23/2014 07:40 AM, Ed Greshko wrote:
On 07/23/14 19:34, Robert Moskowitz wrote:
So I just cp your xstartup to my system and it works now. thanks.
So what is wrong with the default script? I am assuming I need to file a bug report on it.
Nothing is wrong with the default script.
if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi
[egreshko@f20f ~]$ file /etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc: POSIX shell script, ASCII text executable
Fine. then why switching to Michael Setzer's xstartup result in vnc working?
The default did not work. His does. why?
For the same reason my method would also have worked.
The /etc/X11/xinit/xinitrc which exists is exec'd since it does exist and is executable. Subsequently /etc/X11/xinit/Xclients also exists and will be exec'd and that is pretty much useful only for GNOME or KDE. So.... /etc/X11/xinit/xinitrc needs to be modified to get xfce to run.
Michael's is modified to suit the need.
I also modified it, but choose to do it in a different fashion.
Both methods work fine.
You could have also modified /etc/X11/xinit/Xclients to include support for xfce. But, that is probably a bad idea since it very well may get changed on updates.
On 07/23/2014 10:20 AM, Ed Greshko wrote:
On 07/23/14 21:49, Robert Moskowitz wrote:
On 07/23/2014 07:40 AM, Ed Greshko wrote:
On 07/23/14 19:34, Robert Moskowitz wrote:
So I just cp your xstartup to my system and it works now. thanks.
So what is wrong with the default script? I am assuming I need to file a bug report on it.
Nothing is wrong with the default script.
if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi
[egreshko@f20f ~]$ file /etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc: POSIX shell script, ASCII text executable
Fine. then why switching to Michael Setzer's xstartup result in vnc working?
The default did not work. His does. why?
For the same reason my method would also have worked.
The /etc/X11/xinit/xinitrc which exists is exec'd since it does exist and is executable. Subsequently /etc/X11/xinit/Xclients also exists and will be exec'd and that is pretty much useful only for GNOME or KDE. So.... /etc/X11/xinit/xinitrc needs to be modified to get xfce to run.
Michael's is modified to suit the need.
I also modified it, but choose to do it in a different fashion.
Both methods work fine.
You could have also modified /etc/X11/xinit/Xclients to include support for xfce. But, that is probably a bad idea since it very well may get changed on updates.
And this is not a bug with the default xstartup script?
On 07/23/14 22:25, Robert Moskowitz wrote:
And this is not a bug with the default xstartup script?
No. I'd classify it as a deficiency. It works as it is designed. It just doesn't have what you need for xfce.
On 23.07.2014 16:32, Ed Greshko wrote:
On 07/23/14 22:25, Robert Moskowitz wrote:
And this is not a bug with the default xstartup script?
No. I'd classify it as a deficiency. It works as it is designed. It just doesn't have what you need for xfce.
The reason why 'startxfce4' exists. Why should it be simple when it can be complicated, ha! :)
experts fan club
On 23 Jul 2014 at 9:49, Robert Moskowitz wrote:
Date sent: Wed, 23 Jul 2014 09:49:33 -0400 From: Robert Moskowitz rgm@htt-consult.com To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: kindof fixed - Re: vnc not into gnome but Xfce but still not working Send reply to: Community support for Fedora users users@lists.fedoraproject.org
On 07/23/2014 07:40 AM, Ed Greshko wrote:
On 07/23/14 19:34, Robert Moskowitz wrote:
So I just cp your xstartup to my system and it works now. thanks.
So what is wrong with the default script? I am assuming I need to file a bug report on it.
Nothing is wrong with the default script.
if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi
[egreshko@f20f ~]$ file /etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc: POSIX shell script, ASCII text executable
Fine. then why switching to Michael Setzer's xstartup result in vnc working?
The default did not work. His does. why?
The default I believe is setup for gnome desktop, whereas mine has the two modifications for using xfce. Don't know what it would take to make a modified version that would work with either, or if nothing else just have the lines in the script and have instructions to comment out the ones that don't apply to the setup.
Haven't setup the vnc with KDE, so don't know if it works that way as well with the default or if it needs a third option.
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users 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@kuentos.guam.net mailto:msetzerii@gmail.com http://www.guam.net/home/mikes 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 ROSETTA 17941584.881866 | SETI 29593668.378551 ABC 16613838.513356 | EINSTEIN 28547237.391636
On 23 Jul 2014 at 19:40, Ed Greshko wrote:
From: Ed Greshko ed.greshko@greshko.com Date sent: Wed, 23 Jul 2014 19:40:11 +0800 To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: kindof fixed - Re: vnc not into gnome but Xfce but still not working Send reply to: Community support for Fedora users users@lists.fedoraproject.org mailto:users-request@lists.fedoraproject.org?subject=unsubscribe mailto:users-request@lists.fedoraproject.org?subject=subscribe
On 07/23/14 19:34, Robert Moskowitz wrote:
So I just cp your xstartup to my system and it works now. thanks.
So what is wrong with the default script? I am assuming I need to file a bug report on it.
Nothing is wrong with the default script.
if [ -x /etc/X11/xinit/xinitrc ]; then exec /etc/X11/xinit/xinitrc fi
Problem is that is you are running xfce for the vnc you need exec /bin/sh /etc/xdg/xfce4/xinitrc # X11/xinit/xinitrc and startxfce4 & #twm &
The if just says if the file exist and is executible run it, doesn't check if that is the correct xinitrc for your configuration?
[egreshko@f20f ~]$ file /etc/X11/xinit/xinitrc /etc/X11/xinit/xinitrc: POSIX shell script, ASCII text executable
-- If you can't laugh at yourself, others will gladly oblige. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users 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@kuentos.guam.net mailto:msetzerii@gmail.com http://www.guam.net/home/mikes 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 ROSETTA 17941584.881866 | SETI 29593668.378551 ABC 16613838.513356 | EINSTEIN 28547237.391636
On 07/23/14 13:47, Robert Moskowitz wrote:
OK. I believe I figured out what is wrongish.
I normally run gnome, so in my ~/.vnc/xstartup I have:
exec gnome-session &
as the last line. But this fedora 20 arm system is running Xfce! So after a quick google search, I changed that to:
exec xfce4-session &
But still I get vnc having a blank screen. That no desktop is running in vnc. /var/log/messages says:
As I've mentioned in an earlier post.... I've got no problems to run different desktops.
FWIW, I do edit the default $USER/.vnc/xstartup to change the lines with
exec /etc/X11/xinit/xinitrc
to
exec /home/user/.xinitrc
and I create a /home/user/.xinitrc containing
exec ck-launch-session dbus-launch --exit-with-session startkde
OR
exec ck-launch-session dbus-launch --exit-with-session startxfce4
You may want to consider trying that as I recall there being a problem if you don't involve dbus.
FWIW, this is on 2 3.15.6-200.fc20.x86_64 systems.
$ grep -v ^# $HOME/.vnc/xstartup startxfce4
$ grep -v ^# /etc/systemd/system/vncserver@:1.service [Unit] Description=Remote desktop service (VNC) After=syslog.target network.target
[Service] Type=simple ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i -fg" ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStopPost=/sbin/runuser -l root -c "/usr/bin/Loginctl-Clean"
[Install] WantedBy=multi-user.target
poma
On 23.07.2014 10:40, poma wrote:
$ grep -v ^# $HOME/.vnc/xstartup startxfce4
$ grep -v ^# /etc/systemd/system/vncserver@:1.service [Unit] Description=Remote desktop service (VNC) After=syslog.target network.target
[Service] Type=simple ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i -fg" ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStopPost=/sbin/runuser -l root -c "/usr/bin/Loginctl-Clean"
[Install] WantedBy=multi-user.target
However if someone is eager enough to play with the 'Xspice' http://www.spice-space.org/page/Features/Xspice
Server: $ Xspice --port <PORT> --exit-on-disconnect --xsession startxfce4 --disable-ticketing :2 &
Client: $ spicy -h <Spice server address/hostname> -p <PORT>
$ Xspice -h $ spicy -?
$ repoquery -i xorg-x11-server-Xspice $ repoquery -i spice-gtk-tools
remote desktop fan club
On 07/23/2014 07:00 PM, poma wrote:
On 23.07.2014 10:40, poma wrote:
$ grep -v ^# $HOME/.vnc/xstartup startxfce4
$ grep -v ^# /etc/systemd/system/vncserver@:1.service [Unit] Description=Remote desktop service (VNC) After=syslog.target network.target
[Service] Type=simple ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i -fg" ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :' ExecStopPost=/sbin/runuser -l root -c "/usr/bin/Loginctl-Clean"
[Install] WantedBy=multi-user.target
However if someone is eager enough to play with the 'Xspice' http://www.spice-space.org/page/Features/Xspice
Server: $ Xspice --port <PORT> --exit-on-disconnect --xsession startxfce4 --disable-ticketing :2 &
Client: $ spicy -h <Spice server address/hostname> -p <PORT>
$ Xspice -h $ spicy -?
$ repoquery -i xorg-x11-server-Xspice $ repoquery -i spice-gtk-tools
systemd a service unit exemple
Server: $ grep -v ^# /etc/systemd/system/xspiceserver@:2.service [Unit] Description=Remote desktop service (Xspice) After=syslog.target network.target
[Service] ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/Xspice --xsession startxfce4 --port 5902 --disable-ticketing %i" ExecStopPost=/sbin/runuser -l root -c "/usr/bin/Loginctl-Clean"
[Install] WantedBy=multi-user.target
# systemctl start xspiceserver@:2.service
Note: xorg-x11-server-Xspice is x86_64 only.
Client: $ spicy -h <Spice server address/hostname> -p 5902 OR $ remote-viewer spice://<Spice server address/hostname>:5902 etc.
remote desktop fan club