TigerVNC share file method on Debian

This article describes how to use TigerVNC to share files on Debian systems. You need to install the TigerVNC server first and then configure it.
1. Install TigerVNC server
- Open the terminal.
- Update the package list:
sudo apt update - Install TigerVNC server:
sudo apt install tigervnc-standalone-server tigervnc-common
2. Configure the TigerVNC server
- Set VNC server password:
vncpasswd - Start the VNC server:
vncserver :1 -localhost no -geometry 1920x1080(:1 means that the server will run on display port 5901.)
3. Enable file sharing
- Edit the VNC server startup script
~/.vnc/xstartupand add the following to enable file sharing (please note that this method may not be applicable to all desktop environments and needs to be adjusted according to actual conditions):
#!/bin/sh unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & # Add the following line to start the file manager thunar & # or other file managers such as nautilus gnome-terminal & dbus-launch --exit-with-session gnome-session &
- Set file sharing directory permissions to ensure that the VNC server is accessible:
chmod -R 777 /path/to/your/shared/directory(replace/path/to/your/shared/directorywith the actual shared directory path). Note: Usingchmod 777will give all users full permissions. For security reasons, it is recommended to adjust the permission settings according to actual needs.
4. Connect to TigerVNC server
- Download and install VNC client software (such as RealVNC Viewer).
- Use the IP address and port of the client to connect to the server (for example: 5901).
- Enter the password you set before to connect.
After completing the above steps, you can share files on the Debian system through TigerVNC. Make sure your firewall allows VNC connection ports (the default port is 5900 plus the monitor number). If you encounter problems, check the firewall settings as well as the VNC server log.
The above is the detailed content of TigerVNC share file method on Debian. For more information, please follow other related articles on the PHP Chinese website!
Hot AI Tools
Undresser.AI Undress
AI-powered app for creating realistic nude photos
AI Clothes Remover
Online AI tool for removing clothes from photos.
Undress AI Tool
Undress images for free
Clothoff.io
AI clothes remover
AI Hentai Generator
Generate AI Hentai for free.
Hot Article
Hot Tools
Notepad++7.3.1
Easy-to-use and free code editor
SublimeText3 Chinese version
Chinese version, very easy to use
Zend Studio 13.0.1
Powerful PHP integrated development environment
Dreamweaver CS6
Visual web development tools
SublimeText3 Mac version
God-level code editing software (SublimeText3)
Hot Topics
1384
52
How to merge array elements with the same ID into one object using JavaScript?
Apr 04, 2025 pm 05:09 PM
How to merge array elements with the same ID into one object in JavaScript? When processing data, we often encounter the need to have the same ID...
The difference in console.log output result: Why are the two calls different?
Apr 04, 2025 pm 05:12 PM
In-depth discussion of the root causes of the difference in console.log output. This article will analyze the differences in the output results of console.log function in a piece of code and explain the reasons behind it. �...
How to implement adaptive layout of Y-axis position in web annotation?
Apr 04, 2025 pm 11:30 PM
The Y-axis position adaptive algorithm for web annotation function This article will explore how to implement annotation functions similar to Word documents, especially how to deal with the interval between annotations...
How to solve the problem of grandfather's background obstructing pseudo-elements when text gradient adds shadows?
Apr 05, 2025 pm 05:36 PM
When adding shadows to text gradients, the solution to the grandfather background blocks pseudo-elements. When adding shadows to text gradients, pseudo-elements and absolute positioning are usually used to...
How to accurately realize the small label effect in the design draft on the mobile terminal?
Apr 04, 2025 pm 11:36 PM
How to achieve the effect of small labels in the design draft on the mobile terminal? When designing mobile applications, it is common to find out how to accurately restore the small label effect in the design draft...
Vue Material Year Calendar plug-in: What should I do if the calendar does not update the selected status after activeDates.push?
Apr 04, 2025 pm 05:00 PM
About VueMaterialYear...
How to select and style elements of the first specific class using CSS and JavaScript?
Apr 04, 2025 pm 11:33 PM
How to select and style elements of the first specific class using CSS and JavaScript? In web development, you often encounter the need to select and modify specific classes...
How does the Ant Design calendar component modify only the current component to make Sunday appear in the first column?
Apr 05, 2025 pm 08:12 PM
AntDesign Calendar component first column shows Sunday's solution in Calendar using AntDesign...


